Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
Generate datatable from a method
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
Sriballabha Rout
10y
591
1
Reply
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);
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
eRROR
Selected values from datagridview doesnt appear on textbox..