I require a function that will process a gridview and extract all the data out of it. The data must be stored in a datatable. Then the datatable gets returned as a result. The names of the columns must be derived from the following: 1. datafields of bound columns 2. if data field is empty or not available, simply use the header text. 3. IDs of controls The following must be used as sources for data: 1. DataKeyNames 2. Controls: Textbox, Checkbox,radiobutton, dropdownlist(must be divided into two columns one for value and one for text)label,hyperlink(one column for text and one column for link),radiobuttonlist,checkboxlist. A new column must be created for each control. 3. Normal bound columns 4. Custom columns where the text has simply been set. Note if html has been set, then only the values inside the html must be used not the formatting... 5. As a programmer one is also able to dynamically add columns. The data out these columns must also be processed.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).
## Platform
.net framework 2