SharePoint Expert
Sharepoint 2010 Learning place & Interview Tips
only My site
Wednesday, July 23, 2008
DataRow Null check
DataRow Null checking before cast to the corresponding datatype.
alertRules.Condition = dr.IsNull("Condition") ? "" : dr["Condition"].ToString();
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment