We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
Dim connection As New SqlConnection("<conn string>") connection.Open() Dim da As New SqlDataAdapter("<query>", connection) Dim dt As New DataTable() da.Fill(dt) GridView1.DataSource = dt.DefaultView GridView1.AutoGenerateColumns = True [b]GridView1.AutoGenerateEditButton = True [/b] GridView1.DataBind()
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.