WPM
100
CPM
100
Errors
0
Time
15Min
Accuracy
100%
Start ASP.NET code typing Practice. ASP.NET codes over Session Management, Event Handler, Database Connection and System.Web UI.Click on the area below to start typing.
S.No. | Paragraph : Practice repeatedly whatever you would like most for full fifteen minutes | Lessions | click to Practice |
---|---|---|---|
1 |
| 1.1 | first program in asp.net |
2 | protected void btnSubmit_Click(object sender,EventArgs e) { Session["Name"] = txtName.Text; Response.Write(Session["Name"]); lblName.Visible = false; txtName.Visible = false; 1stLocation.Visible = false; chkC.Visible = false; chkASP.Visible = false; rdMale.Visible = false; rdFemale.Visible = false; btnSubmit.Visible = false; } | 1.3 | Asp.net session management typing practice |
3 | protected void btnSubmit_Click(object sender,EventArgs e) { Response.Write(txtName.Text + ""); Response.Write(lstLocation.SelectedItem.Text + ""); lblName.Visible = false; txtName.Visible = false; lstLocation.Visible = false; chkC.Visible = false; chkASP.Visible = false; rdFemale.Visible = false; btnSubmit.Visible = false; } | 1.2 | event handler in asp.net typing practice |
4 | namespace DemoApplication { public partial class Demo System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e){ string connetionString; SqlConnection cnn; connetionString = @"Data Source=WIN-50GP30FGO75; Initial Catalog=Demodb ;User ID=sa;Password=demol23"; cnn = new SqlConnection(connetionString); cnn.Open(); Response.Write("Connection MAde"); conn.Close(); } } } | 1.4 | asp.net database connection |
5 | namespace DemoApplication { public partial class Demo : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { String path = @"D:\Example.txt"; string[] lines; lines = File.ReadAllLines(path); } } } | 1.5 | asp.net codes typing practice |