Requirement - Excel sheet should be populated with data from the database
Issue - Excel sheet dialog box is opening with Open, save, Cancel.
But, there is again a dialog box which says that the file u are trying to open,'Rep.aspx' , is in a different format than specified by the file extension. verify that the file is not corruptedand is from a trusted source before opening the file. Do you want to open the file now?...
User Profile
Collapse
-
Data not getting populated in excel - See code below
-
Thanks a ton !!
I could do it yest...... -
Image uploading to the database - Urgent help required
HI,
I want to implement a functionality in C#.net that I should be able to upload a map throw the browse button to some fields of a database.
There are two dropdowns.
Selecting a value from one dropdown populates other dropdown(this i have done).then there is a browse button. map gets uploaded tcorresponding to those dropdown's tables in the database
If somebody has done it earlier, can you please... -
-
Dynamically populating a dropdown list in ASP.Net
Hi,
I have two dropdowns.
I want that the DDL2 gets populated based on the values in DDL1.
How can I achieve that.
This is the way I am populating DDL1
string cmd = "Select * from abc ";
SqlDataAdapter da = new SqlDataAdapter( cmd, connection);
DataSet ds = new DataSet();
da.Fill(ds);
... -
Shikha1234 started a topic Error : Column values more, data supplied less - How to autogenerate a primary keyin .NETError : Column values more, data supplied less - How to autogenerate a primary key
Hi,
I have a database which has a primary key field (integer).
It should be autogenerated on every insert statement.
I am hardcoding it everytime to remove the error that the data supplied is less but the column values are more.
command.Command Text = "Insert into abc values(55,'" + strabcName + "','','O')" ;
This 55 is the primary key which needs to be hardcoded... -
Image Mapping in asp.net
Hi,
I want to implement a thing in ASP.Net with C#; that clicking on a hotspot in an image map gives the details from a sql server database. Server present on some other PC
I do not know how to retreive data from the database through image maps.
It uses a postback property i guess.Cant say where to apply connection string
Can somebody help me with this? -
Image Map in ASP .Net
Hi,
I want to implement a thing in ASP.Net with C#; that clicking on a hotspot in an image map gives the details from a sql server database. Server present on some other PC
I do not know how to retreive data from the database through image maps.
It uses a postback property i guess.Cant say where to apply connection string
Can somebody help me with this? -
thanks a ton..but it got solved by installing SP4 for sql server 2000....Leave a comment:
-
Error while connecting to server
My server is on Windows XP pro. Its Sql Server 2000.
When I am trying to access it from a client machine through ASP .Net, it is giving me an exception while opening the connection conn.Open();
System.Data.SQL Client.SQLExcep tion.
{"Cannot open database requested in login 'Database Name'. Login fails.\r\nLogin failed for user 'sa'."}
I tried everything. Change the configuration mode of the...
No activity results to display
Show More
Leave a comment: