Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.
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.