Ready to get started with anonymous questions today? It's easy! Learn more.
Dim rpt As New crsSTUD Try CMD.CommandType = CommandType.Text CMD.CommandText = "SELECT * FROM STUDENT WHERE S_ID = '" + Me.txtS_ID.Text + "'" adp.SelectCommand = CMD CMD.Connection = CON ds.Clear() adp.Fill(ds, "STUDENT") rpt.SetDataSource(ds) Catch 'Display error message, if any UnhandledExceptionHandler() End Try
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.