I am facing Problem while binding the data to the gridview
SqlCommand cmd=new SqlCommand("select*from emp",conn);
SqlDataAdapter da=new SqlDataAdapter(cmd);
Dataset ds=new Dataset();
da.Fill(ds,"empnew");
Gridemp.Datasource=ds.Tables["empnew"];
Gridemp.Databind();
Basha ShaikPosted May 17, 2018, 1:09 AM
Manas TripathiPosted May 15, 2018, 5:20 PM
Amit KumarPosted May 15, 2018, 3:59 PM
Basha ShaikPosted May 15, 2018, 9:26 AM
Amit KumarPosted May 15, 2018, 7:01 AM