1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
‘FIRST METHOD Dim dbconnection As SqlConnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\ED-CARLOS\Documents\Visual Studio 2010\Projects\save\save\Info.mdf;Integrated Security=True;User Instance=True") dbconnection.Open() Dim statement As String = "SELECT Name FROM [Details] WHERE Name='" & TextBox5.Text & "';" Dim com As SqlCommand = New SqlCommand(statement, dbconnection) Dim read As SqlDataReader = com.ExecuteReader If read.Read Then If TextBox5.Text.ToString <> read("Name") = True Then MsgBox("Record found") End If Else Dim a As String = "No record found" MsgBox(a) End If dbconnection.Close() |

Kojovii
Please i saw your project and it beautiful.
am also working on some but when i saw yours , i decide to look at it and so powerful.
i load it in my visual studio 2012 and it demanding for some plugins which i did plug them.
. am having problem with referencing.
it about word report and excel stuff.
please how can i Solve that