TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Dynamic Datatable
Sreejesh SP
Mar 20, 2013
3.4
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
How to create a datatable and insert value in runtime.
page.cs
private void datatable()
{
Datatble dt=new datatable;
dt.column.add("ID",typeof(string));
dt.column.add("name",typeof(string));
dt.rows.add("1","Aliean);
dt.rows.add("2","Manu");
}
Thanks
sreejesh
Dynamic Datatable
Next Recommended Reading
Read CSV file and Get Record in DataTable using TextFieldParser in C#