all groups > asp.net > june 2004 > threads for saturday june 5
Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Object not set to an instance (ERROR) INDEXOF in do loop?
Posted by jason NO[at]SPAM cyberpine.com at 6/5/2004 8:37:03 PM
The below code fails with the above error on the indexof line (IF line
3/4 of the way down). I've used indexof before, but for some reason it
won't work in this loop. Thanks for any help or information.
Dim InString As String = ""
Dim LogInfo As New FileStream("d:\xxx\xx1.log",
fileShare.Read... more >>
Export excel file to sql server with asp.vb.net
Posted by sanju at 6/5/2004 8:27:42 PM
hi guyz .. can anyone send sample code to export a excel file into sql
server table using web interface .
ie programatically read and select some columns of excel and insert into a
table.
please give me an idea on this
thank u very much
san
auckland
... more >>
where to find system.io.dll
Posted by TJS at 6/5/2004 8:11:52 PM
Request for book recommendations
Posted by John at 6/5/2004 3:46:58 PM
Hey, all -
Can anyone suggest some good books for me? I normally do the graphical end
of things, but am getting more involved in the coding (C#). I haven't really
had any formal programming training or anything like that, but I'm getting
by. I'm still more of a web dev, so that perspective is ... more >>
store files at my web host - how
Posted by Tim Zych at 6/5/2004 3:15:26 PM
How would I go about storing data files on my web host?
I have an Access database driven website and I would like to save files and
be able to download them. Can somebody point me in the right direction of
how I would go about doing that?
I am thinking about storing the locations of them in ... more >>
How to run this when the button is pressed?
Posted by Miguel Dias Moura at 6/5/2004 2:29:10 PM
Hello,
I am working in ASP.net / VB with Access Database.
i have a Multipage in my web site with the Submit button as the last button.
When the Submit button is pressed i want the form values to be added to a
database and sent by email.
1. I have the code which submits the form values t... more >>
ASP.Net Engine Keeps Dropping Out After Reboot.
Posted by spamfurnace at 6/5/2004 1:57:10 PM
Hi There,
My Asp.NET aspx pages keep returning an internal server 500 error on my
development machine.
If I aspnet_regiss.dll that doesn't help. So i have to uninstall/reinstall
the .NET 1.1 after every 2nd or 3rd reboot?
That works but for a couple of reboots and then...See Ya!
This is re... more >>
How to display 3 records of a database?
Posted by Miguel Dias Moura at 6/5/2004 12:46:06 PM
Hello,
I am working in and ASP.net / VB web site with Access database. I have a
database of books with the following fields:
PrimaryKey; Book Title; Author
I want to display in a web page the names of the 3 Authors which appear more
often in the database.
Basicly i want to display the na... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
document linking
Posted by bill yeager at 6/5/2004 12:38:16 PM
I'd like to link to another part of my document within my
aspx page.
I have the following code in my HTML:
<code>
<A HREF="#PositionsHeld">Positions Held</A>
<asp:label id="lblPosition" style="Z-INDEX: 107; LEFT:
16px; POSITION: absolute; TOP: 816px"
runat="server" Font-
Underlin... more >>
global.ascx file's begin_request event
Posted by sue chandler via .NET 247 at 6/5/2004 12:25:07 PM
(Type your message here)
--------------------------------
From: sue chandler
regarding the begin_request event of global.ascx file...
can we access page properties from here and how ?
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>rmU9ucmKnUm/2i... more >>
ViewState Not maintained for ListBox updated through Client
Posted by vilas h via .NET 247 at 6/5/2004 12:24:54 PM
(Type your message here)
--------------------------------
From: vilas h
I have a listbox server control, whose values i am updating dynamically from the client side using Javascript. But this values are not available on the server.
-----------------------
Posted by a user from .NET 247 (htt... more >>
I am adding a new row to the datagrid dynamically but if i use the Count property of Item it is not showing the count of the new rows being added
Posted by Praveen Balanagendra via .NET 247 at 6/5/2004 12:24:23 PM
here is the source code
private void AddRow()
{
TableCell tc = new TableCell();
tc.Controls.Add(new LiteralControl("NewRow"));
DataGridItem di = new DataGridItem(DataGrid1.Items.Count+1,DataGrid1.Items.Count+1,ListItemType.Item);
di.Cells.Add(tc);
di.Cells.Add(tc1);
Table t = (Table)Data... more >>
DataBinding expressions are not evaluated on Custom Properties of a UserControl
Posted by Jason Wright via .NET 247 at 6/5/2004 12:23:38 PM
Hiya,
I've created a UserControl with some Custom properties and assigned databinding expressions to the properties in the aspx. Does anyone know why these expressions are not being evaluated?
eg.
<uc1:ControlX id="la" runat="server" ClientClick='javascriptfunction(<%# DataBinder.Eval(Contain... more >>
Using a PlaceHolder in a Web User Control
Posted by Yannis CORRE via .NET 247 at 6/5/2004 12:23:10 PM
Hello,
I have two questions :
1 - I want to generate dynamically a personnalized table from a dataset. I want to create each of my rows and columns.
So, I use a HtmlTable and I build my Table with it. After, I add this control in a PlaceHolder to view my Table on my WebForm.
Ok, It works per... more >>
Alternative to QeryString
Posted by Steve Peterson at 6/5/2004 12:22:52 PM
Hello
Is there a more elegant .NET way to pass info from one page to the next
without the querystring "?Id=45" (example) way?. I have an app in wich I
would like to pass information from one page to another without the "?Id=45"
being visible in the location bar..
TIA
Steve.
... more >>
Problem with setting DropDownList selectedindex on multiple controls
Posted by David Austin via .NET 247 at 6/5/2004 12:20:42 PM
Hello, I hope this is where I should post this.
I have a problem with this code that I can't figure out...seems to be a bug in the dropdownlist control.
I am trying to set multiple dropdownlists to match retrieved data. When I set the first, everything is fine. Then I set the second and the first... more >>
how to find out the version of an assembly?
Posted by Bob at 6/5/2004 10:50:59 AM
I need to extract the version number of an assembly in my .NET Windows app.
The assembly is not referenced by this Windows app. I think I need to use
reflection but just can't figure out the coding. Could someone help?
Thanks a lot in advance
Bob
... more >>
Please reply as soon as possible.very urgent!
Posted by Bill Yin at 6/5/2004 9:34:22 AM
Please tell me where can download <Beginning C# web Applications with Visual
studio .net> 's code
Thanks in advance!
... more >>
Basic question about enums
Posted by Hans De Schrijver at 6/5/2004 8:59:23 AM
Another basic question.
In VB6, when I needed an enum that was used by multiple classes and/or
modules, I would put it in a module and set it as public enum, so the entire
project would have access to the enum and I would only have to maintain it
in one place.
In a C#.NET assembly, where wo... more >>
Can datalist or datagrid do this?
Posted by Raymond Du at 6/5/2004 8:30:29 AM
Hi,
I would like to use a datalist or datagrid to display a list of checkboxes,
then on the postback find out which checkboxes were checked.
For example, I have the following data in an xml file:
<catalog>
<cd>
<title>Empire Burlesque</title>
<id>1</id>
</cd>
<cd>
<title>Hide ... more >>
Weird error related to User class
Posted by Hans De Schrijver at 6/5/2004 5:55:35 AM
I have an assembly with 2 projects. The first project (CLSLibrary) is a
Class Library that contains public class User. The second project
(CLSTester) is an ASP.NET Web Application that contains a Web Form
(CLSTestForm.aspx).
The code-behind file of the Web Form has reference to CLSLibrary and a
... more >>
Freeze column(s) in a Datagrid
Posted by Ben at 6/5/2004 1:36:01 AM
Has anyone achieve freezing column(s) in a datagrid or datalist, without the use of 3rd party component
Thanks
Ben... more >>
I allmost got it working. Can you help me in this last thing?
Posted by Miguel Dias Moura at 6/5/2004 1:33:44 AM
Hello,
i created an ASP.net / VB web page with Dreamweaver MX 2004.
In this page i have an Asp.Net Multipagewith 6 panels.
I added a Dreamweaver Insert Server Behavior which inserts the form values
in a database.
What happens is each time i click a "NEXT" button the form values of that
... more >>
'FindStringExact' is not a member of 'System.Web.UI.WebControls.ListBox'.
Posted by Richard at 6/5/2004 12:27:37 AM
Dim index As Integer = lbSysteem.FindStringExact(strSysteem)
basicly i want to return the value but as the examples show on the MSDN
library, nothings wrong with the code?
if FindStringExact isnt a member of Listbox then from what is it?
thx in advance,
Richard
... more >>
can we use "Server.MapPath" in non webpage file ?
Posted by Tee at 6/5/2004 12:11:11 AM
Hi,
I am currently using Server.MapPath in my aspx files, but because of I am
using it more than once, I would like to move these code away from aspx and
make it as a public function inside Module, but I am having problem with it.
As "Server.MapPath" is not allow in other .vb file ... can anyo... more >>
|