Loading ...

ASP.NET Blogs | CodeAsp.Net

Who is online?  0 guests and 0 members
home  »  blogs  »  blogs: January 2010

Communifire Blogs

Blogs : January 2010 postings

mohit kumar

Alert Box From ASPX Code-Behind Code

1/20/2010 by mohit kumar · 5 · 5894

In this blog I will explain how to open a JavaScript alert from Code-behind file. I want to show ‘Welcome’ alert on page load. Below is my code:- protected void Page_Load(object sender, EventArgs e) { Response.Write("<script>alert('Welcome')</script>"); } Happy Coding:)

mohit kumar

DataTable in ASP.NET

1/14/2010 by mohit kumar · 0 · 6297

In this blog I will explain how to create DataTable. here is my code:- creating Table first- private DataTable myTestTable() { DataTable myTable = new DataTable(); DataColumn myColumn; myColumn = new DataColumn(); myColumn.DataType = Type.GetType("System.String"); myColumn.ColumnName = "Name"; myTable.Columns.Add(myColumn); myColumn = new DataColumn(); myColumn.DataType = Type.GetType("S...

Page 1 of 1 (2 items)

Product Spotlight

ASP.NET Hosting Spotlight

Join CodeAsp.Net for FREE Today!

It's fast, easy and free! Submit articles, get your own blog, ask questions & give answers in the forums, and become a better developer, faster.

enter your email address:

 

Quick Vote

What kind of email newsletter would you prefer to receive from CodeAsp.Net?