Click here to Skip to main content
16,022,418 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I have to implement Export to Excel Functionality. I have created a custom List containing many feilds and a status feild. I show all this feilds in an asp.net gridview which has an Export Button. If the user clicks on the export button, the data will exported to Excel and the status of the feild in the list has to change to Exported.

How do I change the status feild to Exported?

Any Help.............


Thanks For The Answer ,
Lekhya
Posted
Updated 7-Jun-11 8:53am
v2
Comments
Sandeep Mewara 7-Jun-11 11:20am    
Not clear.
[no name] 7-Jun-11 14:42pm    
What version of SharePoint are you using?
Dave Kreskowiak 7-Jun-11 14:44pm    
Ummm...I realize that English isn't your first lanugage (at least I hope it's not!) But your question doesn't make any sense at all.

At your trying to change a column in your data or are you asking how to export a dataset to an Excel file?

1 solution

One way I can see to do this would be to create a custom menu item on the ECB, "Export to Excel". When this menu item is clicked you can create the export and update the list item to change its status appropriately.

If you are using SharePoint 2010 you could do the same thing with a RibbonBar button.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900