Monday, October 19, 2009
Retrieve Single Value from DataTable/Dataset
DATATABLE:
Object o = dataTable.Rows[0]["ColumnNameOrIndex"];
DATASET:
Object o = dataSet.Tables[“TableNameOrIndex”].Rows[0]["ColumnNameOrIndex"];
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment