I am running the following code to retrieve a DataSet:
public DataView CreateGroupSource()
{
string groupConnect = Session["connect"].ToString();
string groupSelect = "Select grpname from Maxusergroups where usrname = "
+ "'" + userText.Text + "'";
oda = new OleDbDataAdapter(groupSelect, groupConnect);
DataSet ds = new DataSet();
oda.Fill(ds, "group");
DataView group = ds.Tables["group"].DefaultView;
return group;
}
When I click on a button on a web form I want to convert the information
toan excel spreadsheet.
How do I accomplish this task?
Thanks,
Dave