I must write a program that can insert, update and delete entries from a Microsoft Access database. When viewing entries from the database, they must be shown in a DataGrid control. And I must use a three tier approach: database layer, business layer, presentation layer. Please show me how to do this? ThanksC# programming question - please help?
why should we do your homework?C# programming question - please help?
First off, I have to say I agree with Answerman. Alot of your queries could simply be resolved with a Google search...
I agree with the other posters. However to get you started on your adventure you need to be researching the topic of data binding.
Good luck!
connecting to the access database isn't difficult... check here
http://www.webwizguide.com/kb/asp_tutori鈥?/a>
Using a datagrid isn't hard either. Drag one from the toolbox to the form and set the datasource property of the datagrid to the datatable you retrieved from the access database.
some pseudocode
dim myDataTable as Datatable
(put code to connect to the database here. have the query results returned as type datatable)
myDataTable = query results
dim myDGrid as datagrid
myDGrid.datasource = myDatatable
No comments:
Post a Comment