SQL injection is a technique that exploits a security vulnerability occurring in the database layer of an application. The vulnerability is present when user input is either incorrectly filtered for string literal escape characters embedded in SQL statements or user input is not strongly typed and thereby unexpectedly executed. It is in fact an instance [...]
Filed under: ASP.NET, C# Code, SQL Server Help by Rishav
1 Comment »
Validation controls check user input in SelectionList and TextBox controls. Validation occurs when the form is posted to the server. The validation controls test the user’s input and, if the input fails any of the validation tests, ASP.NET sends the page back to the client device. When this occurs, the validation controls that detected errors [...]
Filed under: ASP.NET by Rishav
No Comments »
GridLayout provides absolute positioning for controls placed on the page. Developers that have their roots in rich-client development environments like Visual Basic will find it easier to develop their pages using absolute positioning, because they can place items exactly where they want them. On the other hand, FlowLayout positions items down the page like traditional [...]
Filed under: ASP.NET, General by Rishav
No Comments »
What exactly happens when a browser sends a request for an ASPX page to a Server. Following are the steps which occur when we request a ASPX page :-
1. The browser sends the request to the webserver. Let us assume that the webserver at the other end is IIS.
2. Once IIS receives the request he looks on [...]
Filed under: ASP.NET, General by Rishav
No Comments »
A Datagrid, Datalist and Repeater are all ASP.NET data Web controls.
They have many things in common like DataSource Property, DataBind Method ItemDataBound and ItemCreated.
When you assign the DataSource Property of a Datagrid to a DataSet then each DataRow present in the DataRow Collection of DataTable is assigned to a corresponding DataGridItem and this is same [...]
Filed under: ASP.NET, Definition of Terms by Rishav
No Comments »
ASP.NET impersonation is controlled by entries in the applications web.config file. The default setting is “no impersonation”. You can explicitly specify that ASP.NET shouldn’t use impersonation by including the following code in the file
<identity impersonate=”false”/> It means that ASP.NET will not perform any authentication and runs with its own privileges. By default ASP.NET runs as [...]
Filed under: ASP.NET, Definition of Terms by Rishav
No Comments »
Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent (which can be a datagrid, datalist, repeater), which passed to the page as “ItemCommand” event. [...]
Filed under: ASP.NET, Definition of Terms, General by Rishav
No Comments »
ASP.NET does not run by itself, it runs inside the process of IIS(Internet Information Service). So there are two authentication layers which exist in ASP.NET system. First authentication happens at the IIS level and then at the ASP.NET level depending on the WEB.CONFIG file.
Below is how the whole process works:-
<1> IIS first checks to make [...]
Filed under: ASP.NET, General by Rishav
No Comments »
The Global.asax file, which is derived from the HttpApplication class, maintains a pool of HttpApplication objects, and assigns them to applications as needed. The Global.asax file contains the following events:
1. Application_Init: Fired when an application initializes or is first called. It is invoked for all HttpApplication object instances.
2. Application_Disposed: Fired just before an application is [...]
Filed under: ASP.NET, Definition of Terms by Rishav
No Comments »
Download Source Files on All Navigation Features
You can use the SiteMapPath, TreeView, or Menu controls to provide a consistent way for users to navigate your Web site. The SiteMapPath control displays a navigation path, which is also known as a breadcrumb, or eyebrow, that shows the current page location and displays links as a path [...]
Filed under: ASP.NET, General by Rishav
No Comments »