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
3
Answers
how to get values in datatable based on values in array
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
prabha haran
7y
223
1
Reply
i have two id in array and take two row values based on array and print in grid view
and my code is
int[] iid = RawMaterialStock.temparray;
if(iid.Length>0)
{
for (int i = 0; i < iid.Length;i++ )
{
purchaseBAL.productId = iid[i];
DataTable dt = purchaseDAL.gerproductdetail(purchaseBAL);
dgvPurchaseProducts.AutoGenerateColumns = false;
dgvPurchaseProducts.DataSource = dt;
i am getting only one row
insted of two
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
how to subtract two strings in sql server
angularjs SPA application for registraion and login