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

select rows from datagrid, show in gridview

P: 9
i wanna know the function when u select rows in the datagrid, it will be postback to a gridview

where should i put it
Jun 12 '07 #1
Share this Question
Share on Google+
1 Reply


P: 36
i wanna know the function when u select rows in the datagrid, it will be postback to a gridview

where should i put it
Try "CellMouseClick" event and you can get the row index and column index from DataGridViewCellMouseEventArgs e using e.RowIndex and e.ColumIndex .
Hope it helped. Check for the "Public Events" in the DataGridView
Jun 12 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.