I want to create Dataset through coding instead of generate dataset through sqldataadapter
I am using following code in my sqldataapater:
SQL = "select * from userstable where username ='" & TextBox1.Text & "'"
SqlDataAdapter1.SelectCommand.CommandText = SQL
When I am dragging dataset from toolbar menu to form, it is asking following question:
Please guide which one I have to select and how to code in my form to fill data into the dataset from sqldataadapter.