hello guys! we have a big problem in our database.
When we input values, and retrieve them in forms,
we can see them. but when we look directly into our database, we can't see it.
What is the possible problem? here is our codes to add values.
Private Sub Add_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Add.Click
If ClassName.Text = "" Then
MsgBox("Please type the Class Name", MsgBoxStyle.Information)
Else
Dim obj As New DBClass
Dim sql As String
sql = "Insert into tblClass(ClassName) values('" & ClassName.Text & "')"
obj.RunInsertDeleteUpdateQry(sql)
RefreshGrid()
ClassName.Clear()
End If
End Sub