5
Answers

I am facing Problem while binding the data to the gridview

Basha Shaik

Basha Shaik

6y
585
1
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();
Answers (5)