Click here to Skip to main content
15,913,854 members
Home / Discussions / Database
   

Database

 
GeneralRe: stored procedure returns 0 instead of displaying recordst Pin
Blue_Boy24-May-10 4:02
Blue_Boy24-May-10 4:02 
AnswerRe: stored procedure returns 0 instead of displaying recordst Pin
David Skelly24-May-10 5:45
David Skelly24-May-10 5:45 
GeneralRe: stored procedure returns 0 instead of displaying recordst Pin
David Skelly24-May-10 5:48
David Skelly24-May-10 5:48 
QuestionDatabase Location problem in SQLExpress Pin
VikashGohil23-May-10 20:48
VikashGohil23-May-10 20:48 
AnswerRe: Database Location problem in SQLExpress Pin
Mycroft Holmes23-May-10 23:02
professionalMycroft Holmes23-May-10 23:02 
GeneralRe: Database Location problem in SQLExpress Pin
VikashGohil23-May-10 23:49
VikashGohil23-May-10 23:49 
GeneralRe: Database Location problem in SQLExpress Pin
Mycroft Holmes24-May-10 1:57
professionalMycroft Holmes24-May-10 1:57 
QuestionCopy Excel Data into Access Database Table. Pin
jeshra27922-May-10 3:12
jeshra27922-May-10 3:12 
Hi All,
I have one Excel sheet "Student.xls", which has different worksheet as "Sheet1","Sheet2"..like that.
Consider now "Sheet1"; it has 3 columns - "Name", "Age", "Sex". All these columns has row entries.

Now I have one access database, "alldata.mdb". It has One table "Record" which has 3 fields as same as column name of Excel sheet-- "Name", "Age", "Sex".

I want to populate this access database with the entries of Excel sheet from "Sheet1".

Can someone let me know how to do this?

I tried this:

// first connected xl datasheet:

Dim filename As String = "C:\Student.xls"
Dim con As String

con = "Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=" & filename & ";" & "Extended Properties=Excel 8.0;"
Dim connection As OleDbConnection = New OleDbConnection(con)
connection.Open()


The above Excel connection was succesful, but how to import the data from this excel sheet into the access database.

Please suggest.

Thanks,
R.S.
AnswerRe: Copy Excel Data into Access Database Table. Pin
Jörgen Andersson22-May-10 9:11
professionalJörgen Andersson22-May-10 9:11 
GeneralRe: Copy Excel Data into Access Database Table. Pin
jeshra27923-May-10 11:42
jeshra27923-May-10 11:42 
GeneralSorry By Mistake !!!!!!!!!!!!! Pin
jeshra27923-May-10 11:43
jeshra27923-May-10 11:43 
QuestionCreate Trigger Pin
zafax_21-May-10 13:40
zafax_21-May-10 13:40 
AnswerRe: Create Trigger Pin
Mohsiul Haque21-May-10 22:48
Mohsiul Haque21-May-10 22:48 
GeneralRe: Create Trigger Pin
zafax_27-May-10 6:11
zafax_27-May-10 6:11 
AnswerRe: Create Trigger Pin
Mycroft Holmes23-May-10 4:30
professionalMycroft Holmes23-May-10 4:30 
GeneralRe: Create Trigger Pin
zafax_27-May-10 6:12
zafax_27-May-10 6:12 
QuestionMSSQL query taking too long Pin
Mike Osbahr21-May-10 5:16
Mike Osbahr21-May-10 5:16 
AnswerRe: MSSQL query taking too long Pin
Blue_Boy21-May-10 5:46
Blue_Boy21-May-10 5:46 
AnswerRe: MSSQL query taking too long Pin
David Mujica21-May-10 5:49
David Mujica21-May-10 5:49 
GeneralRe: MSSQL query taking too long Pin
Mike Osbahr25-May-10 3:48
Mike Osbahr25-May-10 3:48 
QuestionHow to create Data Archiving in SQL Server 2005 Pin
Raghu_M21-May-10 5:15
Raghu_M21-May-10 5:15 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Mohsiul Haque21-May-10 22:52
Mohsiul Haque21-May-10 22:52 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Shameel23-May-10 5:11
professionalShameel23-May-10 5:11 
AnswerRe: How to create Data Archiving in SQL Server 2005 Pin
Mycroft Holmes23-May-10 11:15
professionalMycroft Holmes23-May-10 11:15 
Questionan insert query with return value Pin
reza assar20-May-10 22:53
reza assar20-May-10 22:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.