Tech
Forums
Jobs
Books
Events
Videos
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
Retreive one row from DB
howard.kline
20y
1.5k
1
Reply
If I am retrieving many rows from a database I would use this. foreach (DataRow row in ds.Tables["ErrorCodes"].Rows) { ErrorCodes.Items.Add(row["ID"].ToString()); } How would I retrieve only one row of data without putting it in a foreach loop?
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
form navigation on Pocket PC
Filtering DataSet