Click here to Skip to main content
16,005,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problem exporting result from vb.net to ms word Pin
uktrips0072-Dec-05 18:28
uktrips0072-Dec-05 18:28 
Questionhow to count how many items in a data grid Pin
microuser_200028-Nov-05 23:40
microuser_200028-Nov-05 23:40 
AnswerRe: how to count how many items in a data grid Pin
Kotolom29-Nov-05 0:22
Kotolom29-Nov-05 0:22 
GeneralRe: how to count how many items in a data grid Pin
microuser_200029-Nov-05 0:47
microuser_200029-Nov-05 0:47 
GeneralRe: how to count how many items in a data grid Pin
microuser_200029-Nov-05 2:00
microuser_200029-Nov-05 2:00 
QuestionSimple SELECT statement not working Pin
Desert_Dude28-Nov-05 15:38
Desert_Dude28-Nov-05 15:38 
AnswerRe: Simple SELECT statement not working Pin
Christian Graus28-Nov-05 16:02
protectorChristian Graus28-Nov-05 16:02 
QuestionRe: Simple SELECT statement not working Pin
Desert_Dude29-Nov-05 6:43
Desert_Dude29-Nov-05 6:43 
Christian Graus wrote:
Desert_Dude wrote:
Dim command As SqlClient.SqlCommand = New SqlClient.SqlCommand(sSQL, New SqlClient.SqlConnection(ConnectionString))


What's the error ? I'd be inclined to create a connection object, not just call 'new' here.


I have a WROX book (VB.NET Professional) and I was directly quoting their methods, trying to get the DataReader Object fired up.


Christian Graus wrote:
Desert_Dude wrote:
VB6 was SOOOO OOOOOOOOO O O O O O OO O O O much easier.


*grin* That's because VB.NET is more like programming...


HEhehehe, Im cool with that. My profession is more like banking than programming. I have just enough knowledge to make myself dangerous. Smile | :)

I went to a community college where I got an associates in VB, Database and web design, (circa 1999-2000) and haven't touched it since.

Christian Graus wrote:
Desert_Dude wrote:
Whatever happened to ado.recordsets???


ADO.NET was designed with the web in mind, and hence is a disconnected system, very different to ADO for reasons that make a lot of sense if you work on web apps.


OK, back to business. I have an Access Database on my local machine that I need to get data from. The data will include multiple records that I need to process.

i.e. SELECT * FROM tblWhatever WHERE fldSomething = "THIS" AND fldSomethingelse = "THAT"

I can work on the SQL syntax to get it to work so Im not worried about that. (yet)

This is as far as I got:

1. Create a Connection
2. Execute a command (SQL)
3. Now what?

I'd like to loop through the data so I can process it and at the same time do an UPDATE to the database.

Can you help me out with the code and syntax please?

Roll eyes | :rolleyes:

I'd really appreciate it!!!

Big Grin | :-D
AnswerRe: Simple SELECT statement not working Pin
Christian Graus29-Nov-05 12:07
protectorChristian Graus29-Nov-05 12:07 
GeneralRe: Simple SELECT statement not working Pin
Desert_Dude29-Nov-05 12:13
Desert_Dude29-Nov-05 12:13 
GeneralRe: Simple SELECT statement not working Pin
Christian Graus29-Nov-05 12:21
protectorChristian Graus29-Nov-05 12:21 
AnswerRe: Simple SELECT statement not working Pin
Scott Serl29-Nov-05 7:04
Scott Serl29-Nov-05 7:04 
GeneralRe: Simple SELECT statement not working Pin
Desert_Dude29-Nov-05 7:17
Desert_Dude29-Nov-05 7:17 
GeneralRe: Simple SELECT statement not working Pin
Scott Serl29-Nov-05 9:12
Scott Serl29-Nov-05 9:12 
GeneralRe: Simple SELECT statement not working Pin
Desert_Dude29-Nov-05 10:06
Desert_Dude29-Nov-05 10:06 
QuestionHow to give a version information in .NET ? Pin
binilsan28-Nov-05 14:52
binilsan28-Nov-05 14:52 
AnswerRe: How to give a version information in .NET ? Pin
Christian Graus28-Nov-05 15:30
protectorChristian Graus28-Nov-05 15:30 
GeneralRe: How to give a version information in .NET ? Pin
binilsan28-Nov-05 16:06
binilsan28-Nov-05 16:06 
Questioninstallation problem Pin
Tea152328-Nov-05 14:27
Tea152328-Nov-05 14:27 
QuestionCalculating check box values Pin
bob107028-Nov-05 13:52
bob107028-Nov-05 13:52 
AnswerRe: Calculating check box values Pin
Christian Graus28-Nov-05 15:33
protectorChristian Graus28-Nov-05 15:33 
AnswerRe: Calculating check box values Pin
Roy Heil29-Nov-05 7:30
professionalRoy Heil29-Nov-05 7:30 
QuestionScanning ? Pin
Lucktas28-Nov-05 9:19
Lucktas28-Nov-05 9:19 
AnswerRe: Scanning ? Pin
Ray Cassick28-Nov-05 11:44
Ray Cassick28-Nov-05 11:44 
GeneralRe: Scanning ? Pin
Lucktas28-Nov-05 20:47
Lucktas28-Nov-05 20:47 

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.