Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
7
Reply
How to display the values from db to frontend
vikram reddy
Jun 11 2015 5:05 AM
623
Reply
Hello one n all
How to display multiple values from DB to front end one by one like i have a table called
Question
q.id
qname
ans1
ans2
ans3
1
samplequestion1
1
2
3
2
samplequestion2
1
2
3
Like this
how to display using loop qname to lable on front end
i try like this
DataTable dt=new DataTable()
for(int i=0;i<dt.Rows.Count;i++)
{
Lable1.text=dt.rows[i]["qname"].tostring();
}
but didnt display all qname
Please solve this issue
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
7
)
Next Recommended Forum
how open on right click new tab or new window in repeter
Auto Delete after time period from table