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
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sriballabha Rout
NA
7
9k
Generate datatable from a method
Jul 24 2014 12:48 PM
Generate a datatable based on user defined types and the parameter should be stored procedure.According to the stored procedure we have to create datatable dynamically.
for ex:-
create DataTable(parameters)
{
}
output will be like this:
Datatable dt=new Datatable();
dt.Columns.Add("Colname",typeof(datatype)) ;
dt.Columns.Add("Colname",typeof(datatype)) ;//According to the col name
dt.Rows.Add(value,value);
Reply
Answers (
1
)
eRROR
Selected values from datagridview doesnt appear on textbox..