Code Only
Little solutions solve bigger issues...
Monday, August 25, 2008
Rename a Column in C# DataTable
Consider you have DataTable(dtUser) with 3 columns(ID, NAME, DESC)
if you want to change column name 'DESC' to 'DESCRIPTION',
dtUser.Columns[2].ColumnName="DESCRIPTION";
1 comment:
Anonymous
September 13, 2011 at 5:35 PM
thx
Reply
Delete
Replies
Reply
Add comment
Load more...
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
thx
ReplyDelete