basicsindotnet.blogspot.com
Basics In C#.NET: Query Strings
http://basicsindotnet.blogspot.com/2008/08/query-strings.html
Basics In C#.NET. Thursday, August 7, 2008. Query strings provide a simple but limited way of maintaining some state information.You can easily pass information from one page to another, But most browsers and client devices impose a 255-character limit on the length of the URL. In addition, the query values are exposed to the Internet via the URL so in some cases security may be an issue. A URL with query strings may look like this:. String categoryid, productid;. Posted by venkateshwar reddy.
basicsindotnet.blogspot.com
Basics In C#.NET: Session object
http://basicsindotnet.blogspot.com/2008/08/session-object.html
Basics In C#.NET. Thursday, August 7, 2008. Object can be used for storing session-specific information that needs to be maintained between server round trips and between requests for pages. Session object is per-client basis, which means different clients generate different session object.The ideal data to store in session-state variables is short-lived, sensitive data that is specific to an individual session. Each active ASP.NET session is identified and tracked using a 120-bit SessionID. 8216;cookiel...
basicsindotnet.blogspot.com
Basics In C#.NET: View State
http://basicsindotnet.blogspot.com/2008/08/view-state.html
Basics In C#.NET. Thursday, August 7, 2008. Each control on a Web Forms page, including the page itself, has a ViewState. Property, it is a built-in struture for automatic retention of page and control state, which means you don’t need to do anything about getting back the data of controls after posting page to the server. Here, which is useful to us is the ViewState property, we can use it to save information between round trips to the server. ViewState.Add(“shape”,”circle”);. View my complete profile.
basicsindotnet.blogspot.com
Basics In C#.NET: ADO.NET Data Architecture
http://basicsindotnet.blogspot.com/2008/08/adonet-data-architecture.html
Basics In C#.NET. Wednesday, August 13, 2008. Most applications need data access at one point of time making it a crucial component when working with applications. Data access is making the application interact with a database, where all the data is stored. Different applications have different requirements for database access. ASP.NET uses. Active X Data Object) as it's data access and manipulation protocol which also enables us to work with data on the Internet. The dataset is a. A connection object es...
basicsindotnet.blogspot.com
Basics In C#.NET: Server-side state management summary
http://basicsindotnet.blogspot.com/2008/08/server-side-state-management-summary.html
Basics In C#.NET. Thursday, August 7, 2008. Server-side state management summary. You are storing infrequently changed, application-scope information that is used by many users, and security is not an issue. Do not store large quantities of information in an application state object. You are storing large amounts of information, managing transactions, or the information must survive application and session restarts. Data mining is a concern, and security is an issue. Posted by venkateshwar reddy.
basicsindotnet.blogspot.com
Basics In C#.NET: Cookies
http://basicsindotnet.blogspot.com/2008/08/cookies.html
Basics In C#.NET. Thursday, August 7, 2008. If (Request.Cookies[“username”]! LbMessage.text=”Dear “ Request.Cookies[“username”].Value ”, Welcome shopping here! LbMessage.text=”Welcome shopping here! If you want to store client’s information, you can use the following code:. Response.Cookies[“username’].Value=username;. So next time when the user request the web page, you can easily recongnize the user again. Posted by venkateshwar reddy. Subscribe to: Post Comments (Atom). Code Samples (Select Command).
basicsindotnet.blogspot.com
Basics In C#.NET: Application object
http://basicsindotnet.blogspot.com/2008/08/application-object.html
Basics In C#.NET. Thursday, August 7, 2008. Object provides a mechanism for storing data that is accessible to all code running within the Web application, The ideal data to insert into application state variables is data that is shared by multiple sessions and does not change often. And just because it is visible to the entire application, you need to used Lock and UnLock pair to avoid having conflit value. Application[“mydata”]=”mydata”. Posted by venkateshwar reddy. Subscribe to: Post Comments (Atom).
basicsindotnet.blogspot.com
Basics In C#.NET: NET Framework Data Providers
http://basicsindotnet.blogspot.com/2008/08/net-framework-data-providers.html
Basics In C#.NET. Thursday, August 7, 2008. NET Framework Data Providers. NET Framework Data Providers. A NET Framework data provider is used for connecting to a database, executing commands, and retrieving results. Those results are either processed directly, or placed in an ADO.NET DataSet. The following table outlines the four core objects that make up a .NET Framework data provider. Establishes a connection to a specific data source. Executes a command against a data source. Exposes Parameters. The N...
basicsindotnet.blogspot.com
Basics In C#.NET: Code Samples (Select Command)
http://basicsindotnet.blogspot.com/2008/08/code-samples-select-command.html
Basics In C#.NET. Wednesday, August 13, 2008. Code Samples (Select Command). Open a new Web Forms page, add a Button control to it an paste the following code. Imports System.Data.OleDb. Namespace to be imported. Public Class WebForm5 Inherits System.Web.UI.Page. Region " Web Form Designer Generated Code ". Dim myConn As OleDbConnection. Dim myComm As OleDbCommand. Dim dr As OleDbDataReader. Private Sub Select Click(ByVal sender As System.Object, ByVal e As. System.EventArgs) Handles Select.Click.
basicsindotnet.blogspot.com
Basics In C#.NET: Dot Net FAQ's
http://basicsindotnet.blogspot.com/2008/08/dot-net-faqs.html
Basics In C#.NET. Wednesday, August 13, 2008. Does C# support multiple-inheritance? Who is a protected class-level variable available to? It is available to any sub-class (a class inheriting this class). Are private class-level variables inherited? Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited. Describe the accessibility modifier “protected internal”. What’s the top .NET class that everything is derived from? How can you sort the...