Click here to Skip to main content
16,005,281 members
Home / Discussions / Database
   

Database

 
QuestionGetting the parent row in a master-detail DataGridView Setup Pin
Ed.Poore9-Mar-06 1:00
Ed.Poore9-Mar-06 1:00 
AnswerRe: Getting the parent row in a master-detail DataGridView Setup Pin
arunjothi9-Mar-06 1:19
arunjothi9-Mar-06 1:19 
GeneralRe: Getting the parent row in a master-detail DataGridView Setup Pin
Ed.Poore9-Mar-06 1:41
Ed.Poore9-Mar-06 1:41 
QuestionScript table data Pin
Paul Watson9-Mar-06 0:36
sitebuilderPaul Watson9-Mar-06 0:36 
AnswerRe: Script table data Pin
Ed.Poore9-Mar-06 1:03
Ed.Poore9-Mar-06 1:03 
QuestionPC/PPC Sync Pin
Willem_Le_Roux8-Mar-06 22:15
Willem_Le_Roux8-Mar-06 22:15 
AnswerRe: PC/PPC Sync Pin
Mike Dimmick9-Mar-06 11:57
Mike Dimmick9-Mar-06 11:57 
QuestionImport data from Excel Pin
thainam8-Mar-06 20:31
thainam8-Mar-06 20:31 
Hi All ADO.NET Guru,
I'm writing the following code to import Excel into DataSet.
But I get the error "Unspecified error"

            Dim m_sConn1 As String<br />
            m_sConn1 = "Provider=Microsoft.Jet.OLEDB.4.0;" & _<br />
               "Data Source= " & fileName & ";" & _<br />
               "Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"""<br />
<br />
            Dim objConn As New System.Data.OleDb.OleDbConnection(m_sConn1)<br />
            objConn.Open()<br />
            Dim objAdapter As New OleDbDataAdapter("Select * From [Sheet1$]", m_sConn1)<br />
            Dim objDataset As New DataSet<br />
            Dim objDataview As New DataView<br />
            objAdapter.Fill(objDataset, "Sheet1")<br />
<br />
            objConn.Close()


Please help me.
Thanks,
Tran Thai Nam
AnswerRe: Import data from Excel Pin
mcljava13-Mar-06 9:54
mcljava13-Mar-06 9:54 
AnswerRe: Import data from Excel Pin
mcljava15-Mar-06 18:38
mcljava15-Mar-06 18:38 
QuestionMultiple tables Pin
LeaderOne8-Mar-06 20:08
LeaderOne8-Mar-06 20:08 
AnswerRe: Multiple tables Pin
HimaBindu Vejella8-Mar-06 22:19
HimaBindu Vejella8-Mar-06 22:19 
QuestionResetting the auto-increment Pin
Brendan Vogt8-Mar-06 19:52
Brendan Vogt8-Mar-06 19:52 
AnswerRe: Resetting the auto-increment Pin
albCode8-Mar-06 22:08
albCode8-Mar-06 22:08 
QuestionRe: Resetting the auto-increment Pin
Brendan Vogt8-Mar-06 22:19
Brendan Vogt8-Mar-06 22:19 
AnswerRe: Resetting the auto-increment Pin
albCode8-Mar-06 22:31
albCode8-Mar-06 22:31 
QuestionSql sending SMS or email, or launching an application. Pin
Sirag8-Mar-06 18:35
Sirag8-Mar-06 18:35 
AnswerRe: Sql sending SMS or email, or launching an application. Pin
shm5314-Mar-06 7:45
shm5314-Mar-06 7:45 
QuestionInsert Values from Radio Button into a SQL Table Pin
Armando_Ramirez8-Mar-06 18:18
Armando_Ramirez8-Mar-06 18:18 
AnswerRe: Insert Values from Radio Button into a SQL Table Pin
shm5314-Mar-06 7:28
shm5314-Mar-06 7:28 
Questionhelp me>>> Pin
confusegal8-Mar-06 17:56
confusegal8-Mar-06 17:56 
QuestionHow to setup a column to auto-increment Pin
Mundo Cani8-Mar-06 8:07
Mundo Cani8-Mar-06 8:07 
AnswerRe: How to setup a column to auto-increment Pin
goyal manish8-Mar-06 18:20
goyal manish8-Mar-06 18:20 
GeneralRe: How to setup a column to auto-increment Pin
Mundo Cani10-Mar-06 9:28
Mundo Cani10-Mar-06 9:28 
AnswerRe: How to setup a column to auto-increment Pin
shm5314-Mar-06 7:23
shm5314-Mar-06 7:23 

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.