An interactive way of learning that will help you visualize core concepts so that you can be more effective when taking your AWS certification exam. Built for students by a student to help them understand the concepts that they are being taught.
Public Function GetTables() As DataSet _sqlconnection = New SqlConnection(ConfigurationManager.ConnectionStrings(BlockConStr)) Dim ds As DataSet = New DataSet() Try Dim cmd As SqlCommand = New SqlCommand() cmd.CommandText = "GetBlockandFiles" cmd.CommandType = CommandType.StoredProcedure cmd.Connection = _sqlconnection If _sqlconnection.State = ConnectionState.Closed Then _sqlconnection.Open() End If Dim _sqladapter As SqlDataAdapter = New SqlDataAdapter(cmd) _sqladapter.Fill(ds) _sqlconnection.Close() Catch ex As Exception MessageBox.Show("An Unhandled exception occured : " + ex.Message.ToString()) End Try Return ds End Function
Public Function BlockConStr() 'Return "Server=.;Database=BlocksCycle; User Id=sa;Pwd=123456;connection timeout = 1" Return "Server=10.0.1.72\SQLEXPRESS;Database=BlocksCycle;User Id=BlocksCycle;Pwd=bl0ckCycle;connection timeout = 1" End Function
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.