Tech
Forums
Jobs
Books
Events
Live
Interviews Prep
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
this code gives me there is no datq at position 0 why is it
sangeetha k
Sep 18 2017 7:20 AM
109
Reply
int product_id = Convert.ToInt32(txtPid.Text);
int category_id = Convert.ToInt32(txtCategoryid.Text);
DataSet dsOrderDetail = new DataSet();
dsOrderDetail = bal.getRecordDisplay(product_id, category_id);
txtPRodName.Text = dsOrderDetail.Tables[0].Rows[0]["product_name"].ToString();
txtdesc.Text = dsOrderDetail.Tables[0].Rows[1]["product_description"].ToString();
txtPrice.Text = dsOrderDetail.Tables[0].Rows[2]["price"].ToString();
txtavlblty.Text = dsOrderDetail.Tables[0].Rows[3]["Availability"].ToString();
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Tab selection in mvc view
Login & logout Time Tracker for Web App !!