Click here to Skip to main content
15,911,141 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: How to READ record FROM a dataset??? Pin
Support12310-Jan-08 3:21
Support12310-Jan-08 3:21 
GeneralRe: How to READ record FROM a dataset??? Pin
Dave Kreskowiak10-Jan-08 4:07
mveDave Kreskowiak10-Jan-08 4:07 
GeneralRe: How to READ record FROM a dataset??? Pin
Support12310-Jan-08 18:40
Support12310-Jan-08 18:40 
GeneralRe: How to READ record FROM a dataset??? Pin
Dave Kreskowiak11-Jan-08 1:28
mveDave Kreskowiak11-Jan-08 1:28 
GeneralRe: How to READ record FROM a dataset??? Pin
ChandraRam10-Jan-08 4:17
ChandraRam10-Jan-08 4:17 
GeneralHelp me on migration issues. Pin
soniasan9-Jan-08 19:10
soniasan9-Jan-08 19:10 
GeneralRe: Help me on migration issues. Pin
Dave Kreskowiak10-Jan-08 2:04
mveDave Kreskowiak10-Jan-08 2:04 
QuestionPlease help with database connection and querries that need to be run on sql server 2005 through vb.net Pin
Support1239-Jan-08 19:01
Support1239-Jan-08 19:01 
Hi,

Please help me...

I am struggling to run more then one query on sql server 2005... i get errors and i dont really know how to get going.

Here is what i have tried now:

<br />
Dim mySQLConnection As New SqlConnection( _<br />
        "Initial Catalog=DBName;Data Source=InstanceName;Integrated Security=SSPI;")<br />
        mySQLConnection.Open()<br />
<br />
        Dim mySQLTransaction As SqlTransaction = _<br />
        mySQLConnection.BeginTransaction()<br />
<br />
        Dim mySQLCommand As SqlCommand = _<br />
        mySQLConnection.CreateCommand()<br />
<br />
        mySQLCommand.CommandText = "SELECT * FROM StagingEmployer ORDER BY StagingDate"<br />
<br />
        mySQLTransaction.Commit()<br />
<br />
        mySQLConnection.Close()<br />


Now... how do i get the Select * from StagingEmployer Order by StagingDate return values into a rowset that i can use???

Once there... how do i run a second query like for instance:
<br />
Update StagingEmployer<br />
Set EndDate = GetDate()<br />
Where StagingDate < '2007/01/01'<br />


Sorry... i have tried it but not like this... i can post my previouse attempt but i will do this in 2nd post... it is a bit large.

"Many of life's failures are people who did not realize how close they were to success when they gave up." Thomas A. Edison

QuestionRe: Please help with database connection and querries that need to be run on sql server 2005 through vb.net Pin
Support1239-Jan-08 19:07
Support1239-Jan-08 19:07 
QuestionRe: Please help with database connection and querries that need to be run on sql server 2005 through vb.net Pin
Support1239-Jan-08 19:22
Support1239-Jan-08 19:22 
GeneralRe: Please help with database connection and querries that need to be run on sql server 2005 through vb.net Pin
KarstenK9-Jan-08 21:28
mveKarstenK9-Jan-08 21:28 
GeneralRe: Please help with database connection and querries that need to be run on sql server 2005 through vb.net Pin
Support1239-Jan-08 21:32
Support1239-Jan-08 21:32 
Questionsecurity issue Pin
Tauseef A9-Jan-08 18:45
Tauseef A9-Jan-08 18:45 
GeneralRe: security issue Pin
CKnig9-Jan-08 22:57
CKnig9-Jan-08 22:57 
QuestionRe: security issue Pin
Tauseef A9-Jan-08 23:05
Tauseef A9-Jan-08 23:05 
GeneralRe: security issue Pin
CKnig9-Jan-08 23:25
CKnig9-Jan-08 23:25 
Generalconverting dataset to datatable [modified] Pin
jhyn9-Jan-08 13:08
jhyn9-Jan-08 13:08 
GeneralRe: converting dataset to datatable Pin
Michael Sync9-Jan-08 17:08
Michael Sync9-Jan-08 17:08 
GeneralRe: converting dataset to datatable Pin
Dave Kreskowiak10-Jan-08 2:00
mveDave Kreskowiak10-Jan-08 2:00 
Generalreload or refresh from in another form Pin
break_day9-Jan-08 10:04
break_day9-Jan-08 10:04 
GeneralRe: reload or refresh from in another form Pin
Michael Sync9-Jan-08 18:36
Michael Sync9-Jan-08 18:36 
GeneralRe: reload or refresh from in another form Pin
break_day9-Jan-08 19:10
break_day9-Jan-08 19:10 
GeneralRe: reload or refresh from in another form Pin
Michael Sync9-Jan-08 19:30
Michael Sync9-Jan-08 19:30 
GeneralRe: reload or refresh from in another form Pin
break_day9-Jan-08 21:29
break_day9-Jan-08 21:29 
GeneralRe: reload or refresh from in another form Pin
Michael Sync9-Jan-08 22:19
Michael Sync9-Jan-08 22:19 

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.