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!
If True Then 'Establishing the MySQL Connection Dim strConnString As String = ConfigurationManager.ConnectionStrings("ZUConnectionString").ConnectionString Dim sqlConnection1 As New SqlConnection(strConnString) Dim query As String Dim SqlCommand As SqlCommand Dim reader As SqlDataReader Dim adapter As New SqlDataAdapter() 'Open the connection to db sqlConnection1.Open() 'Generating the query to fetch the contact details query = "SELECT * FROM All" SqlCommand = New SqlCommand(query, sqlConnection1) adapter.SelectCommand = New SqlCommand(query, sqlConnection1) 'execute the query reader = SqlCommand.ExecuteReader() 'Assign the results GridView1.DataSource = reader 'Bind the data 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.