hi

   i want the selecte columns count in datagrid for ex if i select the first column than i want that first
   columns count i tried it datagrid selection change event but i can't able to get the particular column count.
   if anyone knows how to do it give some code example

Recommended Answers

All 2 Replies

The number of columns won't change regardless of whichever cell you pick. Do you mean you want the column index of the currently selected cell?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.