Click here to Skip to main content
15,888,401 members
Home / Discussions / Database
   

Database

 
AnswerRe: HELP!!!!!!!- How to decompile .DLL file to get source code back??? Pin
Colin Angus Mackay10-Nov-05 2:28
Colin Angus Mackay10-Nov-05 2:28 
AnswerRe: HELP!!!!!!!- How to decompile .DLL file to get source code back??? Pin
S Douglas14-Nov-05 0:58
professionalS Douglas14-Nov-05 0:58 
GeneralRe: HELP!!!!!!!- How to decompile .DLL file to get source code back??? Pin
vicky45710-Nov-05 9:03
vicky45710-Nov-05 9:03 
Questiondatetime and stored proedures Pin
achrafus9-Nov-05 8:54
achrafus9-Nov-05 8:54 
AnswerRe: datetime and stored proedures Pin
Chris Meech9-Nov-05 9:26
Chris Meech9-Nov-05 9:26 
AnswerRe: datetime and stored proedures Pin
Daniel Santillanes9-Nov-05 12:22
professionalDaniel Santillanes9-Nov-05 12:22 
AnswerRe: datetime and stored proedures Pin
n10sive11-Nov-05 17:09
n10sive11-Nov-05 17:09 
QuestionFill DataSet From SQL and update MS Access Pin
marrik9-Nov-05 5:48
marrik9-Nov-05 5:48 
I have a windows program that basically takes data from an MS Access DB and updates a SQL Server table. Then it clears the Access Table and inserts ALL the records from the SQL Server to the MS Access DB. Everything works except the very last step. I have tried the OleDbDataAdapter.Update Method and also used a loop and a dynamic SQL statement to update the Accesss DB with no luck. Does anyone have any suggestions? I know my DataSet has data in it because I can count the rows and also look at the data using GetXML method. Code below:

Try

Dim accessDS2 As New DataSet
sqlDA.SelectCommand = New SqlCommand("SELECT nameFirst, nameLast, phonenumber, addressStreet1, addressStreet2, addressCity, addressState, addressZip, addressEmail, dateAvailable, JobFairs, areaCert1, areaCert2 FROM tb_HR_Recruits", SqlConn)
sqlDA.Fill(accessDS2)
MsgBox(accessDS2.GetXml())

Dim accessInsertCmd As String

Dim nRow As AccessDS2.tblRecruitInfoRow
Dim x As Integer
For Each nRow In AccessDS2.tblRecruitInfo
accessInsertCmd = "INSERT INTO tblRecruitInfo VALUES (" & nRow.nameFirst & "," & nRow.nameLast & "," & nRow.phoneNumber & "," & nRow.addressStreet1 & "," & nRow.addressStreet2 & "," & nRow.addressCity & "," & nRow.addressState & "," & nRow.addressZip & "," & nRow.addressEmail & "," & nRow.dateAvailable & "," & nRow.jobFairs & "," & nRow.areaCert1 & "," & nRow.areaCert2 & ")"
accessDA.InsertCommand = New OleDbCommand(accessInsertCmd, accessConn)
accessDA.InsertCommand.ExecuteNonQuery()
Next
'accessDA.Update(accessDS2)
Catch ex As Exception
MsgBox(ex.Message)
Finally
SqlConn.Close()
'accessConn.Close()
lblDone.Text = "Sync Complete."
End Try
QuestionLookup table in ADO.NET with C# Pin
Billy Whizz9-Nov-05 4:47
Billy Whizz9-Nov-05 4:47 
AnswerRe: Lookup table in ADO.NET with C# Pin
S Douglas14-Nov-05 1:21
professionalS Douglas14-Nov-05 1:21 
QuestionRemoving SQL Beta2 Pin
CSharpDavid9-Nov-05 4:32
CSharpDavid9-Nov-05 4:32 
QuestionFilegroup full error Pin
smita_roy9-Nov-05 2:17
smita_roy9-Nov-05 2:17 
Questionlist all sql server running on a network Pin
totu8-Nov-05 23:00
totu8-Nov-05 23:00 
AnswerRe: list all sql server running on a network Pin
Gavin Taylor9-Nov-05 0:37
professionalGavin Taylor9-Nov-05 0:37 
GeneralRe: list all sql server running on a network Pin
totu9-Nov-05 0:58
totu9-Nov-05 0:58 
GeneralRe: list all sql server running on a network Pin
Gavin Taylor9-Nov-05 2:06
professionalGavin Taylor9-Nov-05 2:06 
AnswerRe: list all sql server running on a network Pin
abhinish11-Nov-05 21:23
abhinish11-Nov-05 21:23 
Questionsql back up advise Pin
Goodway8-Nov-05 4:36
Goodway8-Nov-05 4:36 
AnswerRe: sql back up advise Pin
Jon Sagara8-Nov-05 4:45
Jon Sagara8-Nov-05 4:45 
AnswerRe: sql back up advise Pin
Scott Serl9-Nov-05 6:14
Scott Serl9-Nov-05 6:14 
QuestionSQL & NaN's Pin
Gilad Kapelushnik8-Nov-05 2:52
Gilad Kapelushnik8-Nov-05 2:52 
QuestionReading records in Chunk Urgent Pin
behi20007-Nov-05 15:52
behi20007-Nov-05 15:52 
QuestionA couple of beginner questions Pin
matthias s.7-Nov-05 3:04
matthias s.7-Nov-05 3:04 
AnswerRe: A couple of beginner questions Pin
Daniel Santillanes8-Nov-05 13:16
professionalDaniel Santillanes8-Nov-05 13:16 
Questionhow can i connect MsAccess Pin
sheerprogrammer6-Nov-05 21:17
sheerprogrammer6-Nov-05 21:17 

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.