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
morenoa
NA
3
0
window forms - finding record error
Feb 25 2004 6:38 PM
Hi evreyone ! While trying to find a record in a dataset by the key with the following code: object[] key = new object[4]; key[0]=x; key[1]=y; key[2]=Q; key[3]=z; DataRow row = dataset1.tablename.Rows.find(key); I got the error message: An unhandled exception of type 'System.ArgumentException' occurred in system.data.dll Additional information: Expecting 2 value(s) for the key being indexed, but received 4 value(s). I don't understand the meening of it because my table in the sqlServerDB has 4 column key. Does someone has a clue ???
Reply
Answers (
0
)
Best method to access data for Winform
Complementing Databind information to a combo/list box.