I did not get error with this code but it didnt search anything on my databse..
Private cs As New SqlConnection("Data Source=DANN-D3CCEAB190\SQLEXPRESS;Initial Catalog=StudentGradeCompilation;Integrated Security=True")
Private da As New SqlDataAdapter("SELECT Studentname, Studentnocode, [Print] FROM Table_1 WHERE Studentnocode LIKE '%Maintext.text' ", cs)
Private ds As New DataSet
Private cmb As New SqlCommandBuilder(da)
Public BindingSource1 As New BindingSource()
This post has been edited by Dannrafer: 07 July 2011 - 07:46 AM

New Topic/Question
Reply



MultiQuote






|