Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

add

Create a datacolumn which automatically increments the value of the column for new rows added to the table
Tuesday, 31 January 2012 09:57
following code will add a datacolumn which automatically increments the value of the column for new rows added to the table


DataColumn newcolumn=new DataColumn("studentID", System.Type.GetType("System.Int32"));
newcolumn.AutoIncrement = true;
newcolumn.AutoIncrementSeed = 1;
newcolumn.AutoIncrementStep = 1;

//// Add column to datatable.
DataTable mytable=new DataTable();
mytable.Columns.Add(column);

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/aGvq9wdqBdw/14593

 
Disable button and set message "Wait..." automatically after mouse click
Thursday, 15 December 2011 00:21
Add the following lines on .aspx page

Text="Process" />


Add the following line on .aspx.cs page (Page_Load).

string strProcessScript = "this.value='Processing...';this.disabled=true;";
btnProcess.Attributes.Add("onclick", strProcessScript + ClientScript.GetPostBackEventReference(btnProcess, "").ToString());


This will disable Button, and then change the text of the button "Processing...", and then continue on with the server side event btnProcess_OnClick event handler.

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/1S6EfJZ3RWQ/14181

 
Someday Your e-Reader Will Be Usable In the Dark [Video]
Wednesday, 14 December 2011 23:20
E-ink displays are great in sunlight, but useless in the dark. So with hopes of ridding the world of stupid reading lamps, this super thin film promises to add a front light to your e-reader without sacrificing its battery life. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/SE4g8OjQr5U/someday-your-e+reader-will-be-usable-in-the-dark

 
ab rocket twister
Wednesday, 07 December 2011 05:11
This is really a good place to add snippets.
ab rocket twister

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/BdrkWnrXdh8/14081

 
leather clothing
Tuesday, 29 November 2011 07:57
interesting read!!! Your website is fantastic with informative content which i like to add to my favourites.leather clothing

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/BwbI2aWlRr4/14007

 
Start
Prev
1


Page 1 of 3
Taxonomy by Zaragoza Online