Click here to Skip to main content
15,923,015 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, I am lakshmana rao, i have an c# form contains data grid, it is filled from excel. and then the coming data can take some changes by editing, finally i wnt to store alla the gridview data to sql server table. can any one suggest me...
Posted
Comments
Sandeep Mewara 24-Jul-12 8:25am    
You tried anything so far?
[no name] 24-Jul-12 9:04am    
You have my permission.

You are not providing any information to us so that we can actually help you other then point you to some sites:
Beginners guide to accessing SQL Server through C#[^]
 
Share this answer
 
Hi ,
Try this
import MS Excel to datatable[^]
Excel Data into datatable[^]
http://forums.asp.net/t/1255191.aspx/1[^]
import MS Excel to datatable[^]

After bind the data to grid use loop and insert it
like this one
Insert Multiple Rows from GridView[^]
Best Regards
M.Mitwalli
 
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