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.

new

Make datacolumn as readonly
Wednesday, 01 February 2012 01:22
Following code make accountnumber column as readonly that does not allows for changes as soon as a row has been added to the table.


DataColumn col= new DataColumn();
col.ColumnName = "AccountNumber";
col.Readonly= true;
// Add the column to the datatable
mydatatable.Columns.Add(col);

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/QsQhBloZ4KM/14605

 
Use ISNULL function in Expression for creating new column in datatable
Tuesday, 31 January 2012 09:47
ISNULL function in Expression while adding new column to datatable.


mydatatable.Columns.Add("ISEmployeePresent", System.Type.GetType("System.Boolean"),"IsNull(Present, -1)" );

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/ZPFUxCAt4sM/14587

 
Add column clone to data table with different datatype in c#
Tuesday, 31 January 2012 09:39
Change datatype of new column. Following code will create new column total with int32 datatype and will automatically cast values of subtotal column.


dt.Columns.Add("total", System.Type.GetType("System.String"),"Convert(Subtotal, 'System.Int32')" );

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/xcPgp4sh29Y/14585

 
set text and navigate url property of hyperlink field using jacascript
Monday, 30 January 2012 07:50
// set text and navigate url property of hyperlink field using jacascript

var hyperlink = document.getElementById('<%= Hyperlink.ClientID %>');
hyp.innerHTML = 'My New Link';
hyp.href = 'http://snippets.dzone.com/'

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/Y6r2-FieP34/14549

 
NDM-1: The Bacterial Gene That's Resistant to 15 Different Antibiotics [Science]
Sunday, 29 January 2012 17:15
Standing as the most densely populated city in the world, New Delhi has plenty of public health issues to deal with on a constant basis. But now health officials have some very urgent matters to deal with: new strains of super-bacteria, the most destructive of which contain the gene dubbed NDM-1 and are resistant to 15 widely used antibiotics. More »


Read more: http://feeds.gawker.com/~r/gizmodo/full/~3/QdyCOS_JhIA/ndm+1-the-bacterial-gene-thats-resistant-to-15-different-antibiotics

 
Start
Prev
1


Page 1 of 19
Taxonomy by Zaragoza Online