gridview
-
Bind Gridview.[^] Next time try to search on google.[^]
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
-
You're a retard. Thanks for playing. People like you, who cannot read a book or use google, are the reason outsourcing is so bad for our industry.
Christian Graus Driven to the arms of OSX by Vista. "I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
-
hi you can use this simple code String conString="data source=localhost\SQLEXPRESS;initial catalog=New;integrated security=true"; SqlConnection cn = new SqlConnection(conString); SqlCommand cmdFillGrid = new SqlCommand("select * from myTable", cn); SqlDataAdapter adapter = new SqlDataAdapter(cmdFillGrid); DataSet ds = new DataSet(); adapter.Fill(ds, "myTable"); GridView1.DataSource = ds.Tables["myTable"]; GridView1.DataBind(); Essam Moustafa