Hi,
i am new to this group. I am beginner in Asp.net. i started working on this following example.
1.i created one Asp.net web app in C#
2.And in the Design view i added a textbox,Button,and a label
3.and in the HTMl view i wrote the following code
<%@ Page language="c#" Codebehind="exercise.aspx.cs" AutoEventWireup="false" Inherits="WebApplication3.exercise" %><%@ Page language="c#" Codebehind="exercise.aspx.cs" AutoEventWireup="false" Inherits="WebApplication3.exercise" %>
<%
Response.Output.Write("Physical path of page is: {0}
",MapPath("exercise.aspx"));
Response.Output.Write("Total no of controls: {0}
",Controls.Count);
Response.Output.Write("The Value for IsPostBack is: {0}
",IsPostBack);
Response.Output.Write("View State is: {0}
",EnableViewState==true?"Enabled":"Disabled");
%><%
Response.Output.Write("Physical path of page is: {0}
",MapPath("exercise.aspx"));
Response.Output.Write("Total no of controls: {0}
",Controls.Count);
Response.Output.Write("The Value for IsPostBack is: {0}
",IsPostBack);
Response.Output.Write("View State is: {0}
",EnableViewState==true?"Enabled":"Disabled");
%>