Extend Dynamic TextBox & DropDownList Control View State To Store NameValueCollection
4325Extend Dynamic TextBox & DropDownList Control View State To Store NameValueCollectionhttp://www.eggheadcafe.com/articles/extendtextboxviewstate.aspLet's also review the application environment. A typical user analysis model would consist of around a 100 of these data entry pages. The Web site itself supports an unlimited number of analysis models. Thus, the database is quite large and the process of obtaining the meta data is quite complex. Running more queries than absolutely necessary can be a real drag on performance. Also keep in mind that a typical user will spend anywhere from 15 - 45 minutes on a single data entry page completing that section of the analysis model.
Normally, I would be reluctant to implement a solution that loads up the ViewState in this manner. Our web farm environment pretty much ruled out the use of static objects or the application cache. The performance impact of having larger than normal ViewState and the process of managing ViewState isn't necessarily prohibitive. That said, if you are trying to squeeze out every once of performance, doing this without it being necessary could hurt your cause.
You can use my sample as a means to measure how much is being stored in ViewState for the amount of data you expect to have in your own application. The default setting of 60 textboxes and 60 dropdown lists (each list contains 10 records) takes up roughly 100KB of html and ViewState combinedASP.NET > Tips and TutorialsOct 10, 2006Robbe D. Morris
VB.NET 2005 Tutorials: Editing Data With ADO .NET In this tutorial you will learn about Editing Data With ADO .NET - Updating Data, Adding Data, Typed data set, Untyped data set, Deleting Data, Editing with a DataGrid.
VB.NET 2005 Tutorials: DomainUpDown and NumericUpDown - The windows Forms System.Windows.DomainUpDo wn control looks like a combination of a text box and a pair of buttons for moving up or down through a list. This control displays and sets a text string from a list of choices.
Data from related tables can be displayed on one page. The master table data is displayed in a grid and users can select individual rows. When they select a row, one or more details of records are displayed I a scrollable control elsewhere on the page. We shall use the StudentMaster as the master table and the CourseDetails as the details table.
Web Services, in theory, aren't a new concept. They allow distributed applications to share business logic over a network. For example, the classic Web Service scenario is a stock quote service: one company provides a service that can accept requests for stock symbols and respond with stock quote details.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.