Click here to Skip to main content
15,891,912 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
As my project goes, I have a windows form with text boxes which will take sql id,sql ip, password,database name and sql query as input and will display data on a gridview and export the same to a csv file. Now the issue I am facing is I have to add another button which will export only the selected rows to csv file. The button which I have coded exports the whole data to csv. Can anyone please help me out with the code snippet for the second button which will export selected rows from grid view. Its really urgent. Thanks
Posted
Comments
Subramanyam Shankar 13-Mar-15 11:37am    
Where is the code snippet?

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