Click here to Skip to main content
15,893,266 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DropDownList with text before first use Pin
Member 387988110-Mar-08 22:03
Member 387988110-Mar-08 22:03 
QuestionRe: DropDownList with text before first use Pin
ErikZ10-Mar-08 22:08
ErikZ10-Mar-08 22:08 
GeneralRe: DropDownList with text before first use Pin
Christian Graus10-Mar-08 22:12
protectorChristian Graus10-Mar-08 22:12 
QuestionRe: DropDownList with text before first use Pin
ErikZ10-Mar-08 22:15
ErikZ10-Mar-08 22:15 
GeneralRe: DropDownList with text before first use Pin
eyeseetee10-Mar-08 22:45
eyeseetee10-Mar-08 22:45 
GeneralRe: DropDownList with text before first use Pin
Christian Graus10-Mar-08 23:01
protectorChristian Graus10-Mar-08 23:01 
GeneralRe: DropDownList with text before first use Pin
ErikZ10-Mar-08 23:12
ErikZ10-Mar-08 23:12 
GeneralBinding data in datalist using stored procedure Pin
codingrocks10-Mar-08 20:45
codingrocks10-Mar-08 20:45 
I am using a datalist in which i want to bind some data from database on page load..

I am using the following code for doing this...throws an error saying

Compiler Error Message: CS0029: Cannot implicitly convert type 'System.Data.DataSet' to 'System.Web.UI.WebControls.DataList'

Source Error:



Line 29: cmd.CommandType = CommandType.StoredProcedure;
Line 30: SqlDataAdapter adpt = new SqlDataAdapter(cmd);
Line 31: ds = new DataSet();
Line 32: adapter.Fill(ds);
Line 33: conn.Close();

Please help me...?

SAJAN A PILLAI

ASP.NET,C#.NET Programmer
dWise Solutions and Services Pvt Ltd.
BANGALORE

"Winners don't do different things. They do things differently. ...

GeneralRe: Binding data in datalist using stored procedure Pin
Jintal Patel10-Mar-08 20:51
Jintal Patel10-Mar-08 20:51 
GeneralRe: Binding data in datalist using stored procedure Pin
Sandeep Akhare10-Mar-08 20:53
Sandeep Akhare10-Mar-08 20:53 
GeneralRe: Binding data in datalist using stored procedure Pin
codingrocks10-Mar-08 21:04
codingrocks10-Mar-08 21:04 
GeneralRe: Binding data in datalist using stored procedure Pin
Sandeep Akhare10-Mar-08 21:10
Sandeep Akhare10-Mar-08 21:10 
GeneralRe: Binding data in datalist using stored procedure Pin
Member 465900110-Mar-08 23:01
Member 465900110-Mar-08 23:01 
GeneralListing items to Bizrate/shopzilla Pin
Laxmikant Lad10-Mar-08 20:19
Laxmikant Lad10-Mar-08 20:19 
GeneralRe: Listing items to Bizrate/shopzilla Pin
Christian Graus10-Mar-08 20:38
protectorChristian Graus10-Mar-08 20:38 
Questionpop up calendar Pin
EvilInside10-Mar-08 20:09
EvilInside10-Mar-08 20:09 
GeneralRe: pop up calendar Pin
Christian Graus10-Mar-08 20:37
protectorChristian Graus10-Mar-08 20:37 
GeneralRe: pop up calendar Pin
Amit Kushwaha11-Mar-08 1:43
Amit Kushwaha11-Mar-08 1:43 
GeneralTo draw a tranparent rectangle on an image in asp.net2.0(ITS URGENT) Pin
Adwita10-Mar-08 17:34
Adwita10-Mar-08 17:34 
GeneralRe: To draw a tranparent rectangle on an image in asp.net2.0(ITS URGENT) Pin
Christian Graus10-Mar-08 18:43
protectorChristian Graus10-Mar-08 18:43 
GeneralRe: To draw a tranparent rectangle on an image in asp.net2.0(ITS URGENT) Pin
Member 465900110-Mar-08 23:31
Member 465900110-Mar-08 23:31 
GeneralCommercial application distribution and deployment Pin
dolphinhk10-Mar-08 16:48
dolphinhk10-Mar-08 16:48 
GeneralRe: Commercial application distribution and deployment Pin
Christian Graus10-Mar-08 16:54
protectorChristian Graus10-Mar-08 16:54 
Generalsample code/project on document management system Pin
dolphinhk10-Mar-08 16:28
dolphinhk10-Mar-08 16:28 
GeneralRe: sample code/project on document management system Pin
Christian Graus10-Mar-08 21:03
protectorChristian Graus10-Mar-08 21:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.