Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

c# visual studio 2012 - Simple example of creating a new record (in a simple Access database) from form controls such as textboxes

$
0
0

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?

  • 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).

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


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>