Hi,
Does anyone have a very simple, very easy to understand example of how I can go about creating a new record in a simple data base?
Can't paste image as apparently I haven't verified my account!Grr
- I have 5 Combos from which the user selects a value (these are unbound and display values are added manually).
- I have a command button which will be used to submit the record.
- I have a DataSource connected to the project.
- I do not want to use a DataGrid to update the data as I am using the DataGrid to return the results from the database (there is a query that will be run on the newly added data).
From this simple form I need to create 4 records in a table called Fixtures.
Record 1
WeekNo=cmbWeek
TeamNumber = cmbM1T1
Score = txtM1T1
MatchNumber = 1
HomeTeam = cmbM1T1
Record 2
WeekNo=cmbWeek
TeamNumber = cmbM1T2
Score = txtM1T2
MatchNumber = 1
Records 3 & 4 would be similar except cmbM2T1 and cbmM2T2 and txtM2T1 and txtM2T2 and MatchNumber would be = 2
I sort of just expect to use a AddNewRecord and then match the controls.text with the fields from the database...
Why is something so simple, so complicated?
Many thanks in advance
Wendy