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
Stephen Brouillard
NA
29
0
DataRow from DataGridView
Dec 1 2006 10:56 AM
Let me give a little background about what I'm trying to accomplish. I'm developing a small Trade Show Registration App (Winforms). A company runs a trade show and registers who attends the show on behalf of their various customers. Prior to the trade show beginning, the customer data is loaded into the underlying database. During the show, the registration app begins with a simple search form that allows the user to search for customers in various ways. The search criteria will be passed to a Stored Procedure which will fill a DataSet or DataTable with possible matches. That DataSet/DataTable will be bound to a DataGridView on another form that I will display for the user to choose the correct customer.
Now, my plan at this time is to pass the DataRow represnted by the selected row on the DataGridView to another form where the user could then enter appropriate information about the attendee(s) and save that to the database. My thnking is that I'll pass the entire DataRow so that I can display the information about which customer these attendees represent on that form.
So, the question for me is, how do I get at the underlying DataRow that the slected row on the DataGridView represnts so that I can pass it on?
Any help or code snippets would be appreciated. Feel free to ask for further info if you need it. I'm a bit of a noob with this stuff, so feel free to suggest another way of handling the process.
Thanks,
Steve
Reply
Answers (
1
)
change server name later in crystal report
Transactions using DAAB with Stored procedures