yshahab
چهارشنبه 09 اردیبهشت 1388, 22:03 عصر
سلام ، من ميتونم اطلاعات رو ذخيره كنم اما بلد نيستم همين اطلاعات رو اديت كنم ! به سورسم يه نگاه بندازين و راهنمائيم كنين ممنون .
Private Sub CmndSave_Click()
Dim OleDb As New ClassOleDb
Dim Cmnd As String
Cmnd = "INSERT INTO Article (Type,Fee,Code) Values ('" & _
TxtBoxType.Text & "','" & _
TxtBoxFee.Text & "','" & _
TxtBoxCode.Text & "')"
If OleDb.ExecuteQuery(Cmnd) = True Then
MsgBox "Save Successfully."
Unload Me
End If
Set OleDb = Nothing
End Sub
Private Sub Form_Load()
Call LoadFormCaption(Me)
End Sub
Private Sub CmndSave_Click()
Dim OleDb As New ClassOleDb
Dim Cmnd As String
Cmnd = "INSERT INTO Article (Type,Fee,Code) Values ('" & _
TxtBoxType.Text & "','" & _
TxtBoxFee.Text & "','" & _
TxtBoxCode.Text & "')"
If OleDb.ExecuteQuery(Cmnd) = True Then
MsgBox "Save Successfully."
Unload Me
End If
Set OleDb = Nothing
End Sub
Private Sub Form_Load()
Call LoadFormCaption(Me)
End Sub