Lost Password?

Go Back   CodeCall Programming Forum > Software Development > C# Programming

C# Programming C# (pronounced C-sharp) is a new object oriented language from Microsoft and is derived from C and C++. It also borrows a lot of concepts from Java too including garbage collection.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-2008, 01:43 AM
mani mani is offline
Newbie
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
mani is on a distinguished road
Post import dat from Excel to sql database 2005

i am new to the programing field so kindly help me

how to import data from excel2003 to sql 2005 database i need code also
and the idea from u


so kindly reply me as soon as possible
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-05-2008, 01:45 AM
mani mani is offline
Newbie
 
Join Date: Apr 2008
Posts: 2
Rep Power: 0
mani is on a distinguished road
Default Re: import dat from Excel to sql database 2005

its very urgent so kindly reply me soon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-14-2008, 01:54 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: import dat from Excel to sql database 2005

Create a reference to the Excel automation library. Take a look at the members it offers, than extract the data from the relevant objects into your SQL data project. Finally, you can save the data.

My dad's called Mani - cool, huh?
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 06:17 PM
justto_doit justto_doit is offline
Newbie
 
Join Date: Apr 2008
Posts: 6
Rep Power: 0
justto_doit is on a distinguished road
Default Re: import dat from Excel to sql database 2005

Without excel reference, you can just use database connection to connection to the excel just look the excel as a database.
Read the data out
Process what you need
Insert into the SQL server

Or you may just use the SQL server management studio to import the excel if this is only a one time job.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-18-2008, 10:52 AM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: import dat from Excel to sql database 2005

You could export it as a CSV File. The format is:

Code:
,,cell,cell,cell,
,,cell,cell,cell,
Every new line is a new row, and the cells are separated by commas.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to import data from TOAD to Excel using SQL? libran Database & Database Programming 4 02-13-2008 09:52 AM
Linking a Form to a SQL Database newguy15 Database & Database Programming 2 12-04-2007 02:13 AM
How do I centralize sql server database hoser2001 Database & Database Programming 3 07-13-2007 01:07 PM
Best program for SQL database manipulation Rhadamanthys Database & Database Programming 3 07-02-2007 02:32 PM
Database Tuning Advisor in SQL Server 2005 reachpradeep Database & Database Programming 0 03-03-2007 12:46 PM


All times are GMT -5. The time now is 10:29 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads