hi all
I have 2 tables Customers and Orders it have relationship one-to-many and i set the cascade between tables. i add both tables to one form and i set EndEdit event to the CustomerBindingSource owing to Saves the new record in Customers before save new record to the Orders but i receives...
hi
The idea is to make DataGrid contains a field of type combobox it have another data source to choose from those and save data in the DataGrid , this is possible and without any problems..
But when make Parameters to filter data in the combobox and when i try add records have different...
thank you Mr.jmcilhinney the wrong it was not in the code ,, it was in the event thank you again Moderator :peaceful:
Private Sub FirstFieldInForm_KeyDown
me.textbox.text = form1.combobox.selectedvalue
End Sub
Mr.jmcilhinney thank you to help me and i mean in the properties of textbox set the DataBindings of textbox to table in the database ,, plz see the photo
bay way my English Language is poor :)
i hope it is clear
Hi all
Im trying to send integer value from combobox in form 1 to textbox in form 2
I try use this code on form2 :
me.textbox.text = form1.combobox.selectedvalue
This code works with a textbox does not have a data source but when I set the data source for the textbox, code does not appear...
hi all
i am trying to write code to insert selected rows from Table1 to Table2 ,, so i find code do that with DataGradView and i try to Modifies it to work with Multi records " Without DataGradView"
Dim connectionString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data...
yes it right :) it must be like these
For i As Integer = 0 To DataGridView1.Rows.Count - 2
If DataGridView1.Rows(i).Cells(3).Value = True Then
command.Parameters("@ColumnA").Value = DataGridView1.Rows(i).Cells(0).FormattedValue...
I need to modify the simple insert command code here
PrivateSub SaveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveButton.Click
Dim connectionString AsString = "Provider=Microsoft.ACE.OLEDB.12.0;Data...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.