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
prabha haran
NA
81
32.2k
how to get values in datatable based on values in array
Apr 7 2017 2:41 AM
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
Reply
Answers (
3
)
how to subtract two strings in sql server
angularjs SPA application for registraion and login