Lifecycle of a web form in ASP.net
A user sits at her browser and types in a URL. A web page appears, with text and images and buttons and so forth. She fills in a text box and clicks on a button. What is going on b
Read tutorialTHE TUTORIAL LIBRARY
A user sits at her browser and types in a URL. A web page appears, with text and images and buttons and so forth. She fills in a text box and clicks on a button. What is going on b
Read tutorialIn traditional ASP, the interweaving of script with HTML can produce source control nightmares and difficult-to-maintain ASP pages. ASP.NET addresses this problem by giving program
Read tutorialThe page exposes the IsPostBack property. This is a read-only Boolean property that indicates if the page or control is being loaded for the first time, or if it is being loaded in
Read tutorialASP was primarily a linear programming model. It had six events, of which only four were commonly used. ASP.NET, on the other hand, is primarily an event-driven programming model.
Read tutorialAfter you've created a Windows service, you need an installer. Here's the code for the installer in the WindowsService example, Project Installer.vb:
Read tutorialYou can create a new Windows service easily in Visual Basic - just use the File-New-Project menu item, select the Windows Service icon in the templates box, and click OK. Here's th
Read tutorialStoring your data in a text file doesn't require any additional database software to be installed, but that's pretty much its only advantage. Its main disadvantages are clumsiness
Read tutorialDataRow objects represent rows in a DataTable object. You use DataRow objects to get access to, insert, delete, and update the records in a table.
Read tutorialDataTable objects store data tables, and as such, they're central to datasets and data views (for more on data views, see "Using Data Views" in Chapter 20). In code, you create dat
Read tutorialA dataset is a cache of data retrieved from a database, and, as we know, it's the major component of ADO.NET. A DataSet object is made up of a collection of DataTable objects that
Read tutorialOleDbDataAdapter objects act as a bridge between datasets and data sources. As you know, datasets are really just repositories of data; they're not directly connected to a database
Read tutorialAn OleDbConnection object supports a connection to an OLE DB data provider. In practice, you usually use OLE DB connections with all data providers except Microsoft's SQL Server. N
Read tutorialOne example today. A better developer tomorrow.