Jump to content
mriduan

Passing Data Antara Form Dgn Database

Recommended Posts

Salam , Ada sesiapa boleh bantu ? Saya sedang membuat satu sistem mobilephonestockmngt utk kedai dealer yg mana menggunakan ms access 2007 sbg local database dan vb2010 sebagai antaramuka. Form telah disiapkan berserta connection dgn database telah ada . Bagaimana nak saya passingkan data antara form dgn database agar pengguna yg click pada form akan terus dapat berinteraksi dgn database. Tq

Share this post


Link to post
Share on other sites
Ni coding nya Public Class Form3 Private Sub MobilePhoneTrackingReportBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MobilePhoneTrackingReportBindingNavigatorSaveItem.Click Me.Validate() Me.MobilePhoneTrackingReportBindingSource.EndEdit() Me.TableAdapterManager.UpdateAll(Me.MobilePhoneStockMngtSystemDataSet) End Sub Private Sub Form3_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'MobilePhoneStockMngtSystemDataSet.MobilePhoneTrackingReport_CategoryQuery' table. You can move, or remove it, as needed. Me.MobilePhoneTrackingReport_CategoryQueryTableAdapter.Fill(Me.MobilePhoneStockMngtSystemDataSet.MobilePhoneTrackingReport_CategoryQuery) 'TODO: This line of code loads data into the 'MobilePhoneStockMngtSystemDataSet.MobilePhoneTrackingReport' table. You can move, or remove it, as needed. Me.MobilePhoneTrackingReportTableAdapter.Fill(Me.MobilePhoneStockMngtSystemDataSet.MobilePhoneTrackingReport) End Sub Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click End Sub Private Sub Mobile_Phone_CategoryTextBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Mobile_Phone_CategoryTextBox.TextChanged End Sub End Class

Share this post


Link to post
Share on other sites
Sedikit penambahan info utk form ini :- Dlm details(groupbox1) ada 2 label dan 2 text box yang mana text box perlu di isi oleh pengguna . Label dan textbox1 adalah mobile phone category dan label dan textbox2 adalah mobile phone description . Mana kala dlm groupbox 2(menu) ada 5 button (add,edit,delete,save,close)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...