V
Vinitha
I've given code like this ,
SqlConnection cnn = new qlConnection("initial talog=vin;uid=sa;pwd=;");
cnn.Open();
string strsql="select * from tblQualification";
SqlCommand cmd=new SqlCommand(strsql,cnn);
/// SqlDataReader rsreader=cmd.ExecuteReader();
SqlDataAdapter dadapt=new SqlDataAdapter();
dadapt.SelectCommand=cmd;
DataSet ds=new DataSet();
dadapt.Fill(ds,"tblA");
DataView dview=new DataView(ds.Tables["tblA"]);
DropDownList1.DataSource=dview;
DropDownList1.DataBind();
but the value displayed is "SYSTEM.DATAROW.DATAVIEW".
It will be helpful if some one could point me to some code sample for the
same
thank you in advance
SqlConnection cnn = new qlConnection("initial talog=vin;uid=sa;pwd=;");
cnn.Open();
string strsql="select * from tblQualification";
SqlCommand cmd=new SqlCommand(strsql,cnn);
/// SqlDataReader rsreader=cmd.ExecuteReader();
SqlDataAdapter dadapt=new SqlDataAdapter();
dadapt.SelectCommand=cmd;
DataSet ds=new DataSet();
dadapt.Fill(ds,"tblA");
DataView dview=new DataView(ds.Tables["tblA"]);
DropDownList1.DataSource=dview;
DropDownList1.DataBind();
but the value displayed is "SYSTEM.DATAROW.DATAVIEW".
It will be helpful if some one could point me to some code sample for the
same
thank you in advance