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
timon 0
NA
1
0
Get data of a clicked DataGrid Row?
Mar 1 2004 7:12 AM
Hi, i need some help. I want to do the following: I have a DataSet and displayed a DataTable with a DataGrid. If the user clicks on a row of the DataSet, I want to get a cell of this clicked row (for example the ID of the clicked dataitem). private void dataGrid1_Click(object sender, System.EventArgs e) { textBox1.Text = dataGrid1[dataGrid1.CurrentRowIndex,0].ToString(); } This works, but the row must be selected! But I want to get the data, if a row is clicked (not selected). How can I do that? Thanx for your help. Timon
Reply
Answers (
0
)
.Net Remoting or COM+
Convert object to byte[] and back