S
Steve Kershaw
Hi,
I'm working on a project in which I have a Gridview that has data.
That Gridview data must be then exported to an Excel spreadsheet.
I have successfully displayed the Excel spreadsheet and fill it with
data using the Range.InvokeMember(...) method:
Range range2 = worksheet.get_Range("A1", "L1");
Object[] args2 = new Object[1];
args2[0] = header; // an array of 12 members
range2.GetType().InvokeMember("Value", BindingFlags.SetProperty,
null, range2, args2);
So I know how to do that. How do I extract the data from the
GridView???
Thanks in advance for your help.
Steve
I'm working on a project in which I have a Gridview that has data.
That Gridview data must be then exported to an Excel spreadsheet.
I have successfully displayed the Excel spreadsheet and fill it with
data using the Range.InvokeMember(...) method:
Range range2 = worksheet.get_Range("A1", "L1");
Object[] args2 = new Object[1];
args2[0] = header; // an array of 12 members
range2.GetType().InvokeMember("Value", BindingFlags.SetProperty,
null, range2, args2);
So I know how to do that. How do I extract the data from the
GridView???
Thanks in advance for your help.
Steve