2013-10-02 27 views
-1

我是VB Net。的新手。我有兩張桌子,......,也就是......,他們都有課程領域的學生記錄和教師。我只是想檢查一下,當然=其他表的過程。,。,如何等於這兩個字段

Dim con As New OleDbConnection 
    Dim dr As OleDbDataReader 
    Dim arrImage() As Byte 
    Dim myMS As New IO.MemoryStream 
    Dim cmd As New OleDbCommand 
    Dim strcourse As String 
    Dim strcourse1 

    Dim da As New OleDb.OleDbDataAdapter 

    con = New OleDbConnection(Get_Constring) 
    con.Open() 

    strcourse = "select Course from facultynew where FacultyID" 
    strcourse1 = "select Course from studentsrecords where IDNumber" 

    da = New OleDb.OleDbDataAdapter(strcourse, con) 
    da = New OleDb.OleDbDataAdapter(strcourse1, con) 

strcourse=strcourse1 

回答

相關問題