i have created n-tier architecture. i created a sql coding in my BLL
Public Function AddUser() As Boolean
Dim strsql As String = "Insert into User (User_ID,User_Password,Position) values " & _
" ('" & Me.User_ID & "','" & Me.User_Password & "','" & Me.Position & "'); "
Dim obj As New clsDB
Return obj.ExecuteNonQuery(strsql)
End Function
The user interface what coding should i write to connect my BLL class?????
username:
password:
position:
add button
Public Function AddUser() As Boolean
Dim strsql As String = "Insert into User (User_ID,User_Password,Position) values " & _
" ('" & Me.User_ID & "','" & Me.User_Password & "','" & Me.Position & "'); "
Dim obj As New clsDB
Return obj.ExecuteNonQuery(strsql)
End Function
The user interface what coding should i write to connect my BLL class?????
username:
password:
position:
add button