TCP/IP is a set of network protocols which is best known for connecting the machines that make up the Internet. The truth is that TCP/IP is one of the oldest network protocols and its survival is mainly based on its simplicity and universality.
Protected Sub grdCollateral_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs) Dim objConn1 As SqlConnection objConn1 = New SqlConnection(System.Configuration.ConfigurationManager.AppSettings("ConnPortal")) Dim oCom1 As SqlCommand oCom1 = New SqlCommand oCom1.Connection = objConn1 oCom1.CommandText = "sp_cfa_TestCollateral" oCom1.CommandType = CommandType.StoredProcedure Dim dA As SqlDataAdapter = New SqlDataAdapter(oCom1) Dim myDataTable As DataTable = New DataTable() objConn1.Open() Try dA.Fill(myDataTable) Finally objConn1.Close() End Try grdCollateral.DataSource = myDataTable.DefaultView grdCollateral.GroupingSettings.CaseSensitive = False objConn1.Dispose() oCom1.Dispose() oCom1 = Nothing End Sub
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.