Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am beginner and want to learn programming
i try import data in excel to data gridview and save to sql.
I Have 1 button browse, textbox location file, data gridview, button save and update.
i using visual studio 2012/ vb 2012 and sql server.
what coding i must type.
Posted

1 solution

You need to start learning VB.Net prior to look for the code for your requirement. These kind of tasks are pretty easy to code once you learn/understand the basics.

Check following tutorials-
VB.Net
VB.Net Programming Tutorial[^]

VB.NET Tutorial and source code
[^]
http://howtostartprogramming.com/vb-net/[^]

SQL Server
SQL Tutorial[^]
SQL Server Tutorial[^]

If you already know the basics then look at the following article, which may guide you to get your task done.
Visual Basic Sample Applications[^]

If you know or have some idea on the topics covered in these articles then you can find your answer here -
Creating an Excel Application from VB.Net[^]

How to Import data from Excel to DataGridView
[^]
Import Data from Excel to SQL Server[^]
Insert (Save) Multiple rows from DataGridView to Database in Windows Forms (WinForms) Application using C# and VB.Net[^]

If you face any problem while implimenting, come back here and ask the question with the faulty code and error details.

Hope, it helps :)
 
Share this answer
 
Comments
Yas_Aje 16-Nov-15 22:58pm    
Thank U, I will try. and i think this is very help me

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