Search results for query: *

  1. E

    Question error at save in to 2 tables they have relationship one-to-many in same time

    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...
  2. E

    Question I need advice ,, error with combobox have Parameters in DataGrid

    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...
  3. E

    Question can not send integer combobox value to textbox

    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
  4. E

    Question can not send integer combobox value to textbox

    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
  5. E

    Question can not send integer combobox value to textbox

    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...
  6. E

    Question I need to correct this code !

    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...
  7. E

    Question I need to modify the simple insert command code here

    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...
  8. E

    Question I need to modify the simple insert command code here

    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...
Back
Top