Im new at trying to create a web page and i can't seem to figure out how to create a from connected to a database with a data navigator. How do I add a navigator
What is a Data Navigator? I'm not aware of any controls with that name. Also, you can't create a web page that is "connected" to a database as internet applications are stateless.
If you are wanting to read data from a database and write the results out to your web page, consider using a DataReader or DataTable object and then either binding them to a data control, or access the values directly and write them out to the web page.
I have been programing windows applications where you can have a data navigator on the page that will allow you to step through existing records, add new records or delete records in a database using a menu bar with arrow buttons, add bottons etc...Is there anything similar in web design.
In windows applications you can maintain a connection to the database, in web applications that connection is lost as the client simply receives some HTML. The closest you will get is to retrieve the data and then bind the results to a data control such as a ListView, FormView, Repeater etc and adding paging to the control.
You can use AJAX and create your own control that will make it "seem" like a windows app, but as Mark said, web apps are disconnected. So, you will have to open a connection, do your data thing, then close the connection for each action you take.
if you new to web application development i would avoid the webforms model of creating webpages in favor of an mvc approach. MS has the MSMVC framework. castle MonoRail has been around since the beginning of .Net. FUBU MVC is a new project on google code which also looks promising. the MVC architecture provides a cleaner separation between presentation and logic. webforms distorts the concerns buy putting everything (presentation, domain, database, etc) in the markup and code behind.
mvc is a concept with separates the concerns of the model, view and controller. it is not language specific, although just about every language has an implementation of it.
VS is just a GUI to write code. this shouldn't be confused with a tool that provides frameworks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.