i am dispalying certain records from sql into datagrid.now i hav provided checkboxes in datagrid to select item.
now i want to transfer those selected item into excel sheet.
(1)i don't want all the rows in datagrid to be transferred to exported to excel ,only those rows who are selected by checkbox shud go to excel sheet.
(2)and in my datagrid iam displaying only certain cloumns from the table in sql,but i want to export all the columns of the particular row which was selected in datagrid.
help me with solution in vb