Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1059
Retrieve cell value
posted

Hi,

I use the following code to retrieve the cell value when the groupbybox is hidden( the GroupBy is fixed)

 

dValue =

Double.Parse(Gridview2.Rows[0].Cells["Column2"].Value.ToString());

 

 

My question is, if I turn on the groupbox and allow the user to change the GroupBy columns, how can i retrieve this value ?

Here's the sample of my grid

(- )Column 1 :

             Column2        Column3

              10000            15

              2000              16

How do I make sure I always get this value no matter how the column is grouped?

Thanks
Joe