blah blah blah is here! blah blah » Close

up0down
link

Hi,
I've built an application that makes the use of a datagrid. I can create and populate the datagrid with no problems whatsoever. This issues I have are that I get a little box in the column header with a + symbol in it. I need to get rid of that asap. The other issue is that I need to reference a selected row on that datagrid but I am having trouble working out how to refer to it.
All help gratefully appreciated.
Cheers!

last answered 2 years ago

1 answers

up0down
link

I am not sure about the + symbol appearing ...and regarding getting the reference of the row selected i believe u need that to do some editing operations, and in that case I think u can get the current row by using
e.Item.ItemIndex wherein 'e' is the reference to the DataGridCommandEventArgs
Cheers
Sharath

This post was imported from csharpfriends, if you have a similiar question please ask it again.

All previous members have been migrated, hope you enjoy the new platform!

Feedback