Here are some useful links
http://msdn.microsoft.com/
http://www.aspnettutorials
http://quickstarts.asp.net
http://quickstarts.asp.net
Main Topics
Browse All TopicsI´m working on a project where a customer wants to move an Access forms system to the web. There is an SQL database behind this all. I have started this projcet in vb.net and am reading all kinds of data into formviews and datagrids. Now I have to start working on the editing and inserting part, what is the best way to do this (using formview, detailsview, datagrid etc.). For example, when a new surveilance is registered you have to choose items from dropdownlists (from other tables in the database) and then insert it all into a table (that has foreign key references to other tables of course).
I´m kind of new to vb.net and don´t know the best (and shortest) way to do this.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Here are some useful links
http://msdn.microsoft.com/
http://www.aspnettutorials
http://quickstarts.asp.net
http://quickstarts.asp.net
Sorry for the late reply.
I have the first page which lists up data from the SQL database and then I can navigate to the next page to view details. On that page I would like to edit and insert new surveilance into the database. I have a listview on that page, is it possible to make that insert- and editable or do you recommend using formview ?
You can continue to use the ListView, if you want to edit data.
Here is a reference article:
Using ASP.NET 3.5's ListView and DataPager Controls: Editing Data
http://www.4guysfromrolla.
"Whenever one of the Edit buttons is clicked a postback ensues and the ListView begins its editing workflow. (In the screen shot above the "Edit button" is the pencil icon and is implemented as an ImageButton.) This workflow proceeds as follows:
The ListView raises its ItemEditing event.
The ListView sets its EditIndex property to the index of the row whose Edit button was clicked.
The ListView rebinds to its data source.
The row whose index corresponds to the EditIndex value has its EditItemTemplate rendered (instead of its ItemTemplate)"
Refer to my first comment--"best" for me is not "best" for you. A stored procedure, with parameters for each table, sounds like a good way to go in this case.
For me, I don't use stored procedures, since any database changes are out of my control (DBAs handle data changes), but code changes are in my control.
Business Accounts
Answer for Membership
by: TheLearnedOnePosted on 2009-10-23 at 13:32:20ID: 25648276
The "best way" for me is not necessarily the best way for you. The answer depends on your requirements. If you want the web pages to act like Access, then you would probably need to work some magic. If you just want regular web pages that are similar, but optimized for ASP.NET, then you could do that pretty easily with either a FormView or DetailsView. For data-binding requirements, you have plenty of options, but the ASP.NET way is to use an ObjectDataSource, SqlDataSource, LinqDataSource (depending on version), etc. If you need to edit data, then you would define edit templates, and switch the control to edit mode. The specifics depend on which direction you would like to take.