By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,640 Members | 1,363 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,640 IT Pros & Developers. It's quick & easy.

DataGrid and Dataset

P: n/a
Hi

I have a datagrid1 binded with a dataset1 and I would like when I click at
any row it would show me the Value of the first Column for the clicked row in
the grid in a textbox could U show me how!!?
Thanks
--
Regads,
Rochdi
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hey there

DataGrid1.Item(DataGrid1.CurrentRowIndex, 0)

That will return the value of the first column that the selected row.

"John" <Jo**@discussions.microsoft.com> wrote in message
news:99**********************************@microsof t.com...
Hi

I have a datagrid1 binded with a dataset1 and I would like when I click at
any row it would show me the Value of the first Column for the clicked row in the grid in a textbox could U show me how!!?
Thanks
--
Regads,
Rochdi

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.