Click here to Skip to main content
16,007,472 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questiontwo scroll bars? Pin
monageasmear31-Aug-05 4:06
monageasmear31-Aug-05 4:06 
QuestionWho can answer the following? Pin
krugerkelly31-Aug-05 3:46
krugerkelly31-Aug-05 3:46 
AnswerRe: Who can answer the following? Pin
Dave Kreskowiak31-Aug-05 5:32
mveDave Kreskowiak31-Aug-05 5:32 
AnswerRe: Who can answer the following? Pin
Marcus J. Smith31-Aug-05 9:08
professionalMarcus J. Smith31-Aug-05 9:08 
Question.csv dataset confusion Pin
Vodstok31-Aug-05 3:16
Vodstok31-Aug-05 3:16 
AnswerRe: .csv dataset confusion Pin
Dave Kreskowiak31-Aug-05 5:27
mveDave Kreskowiak31-Aug-05 5:27 
GeneralRe: .csv dataset confusion Pin
Vodstok31-Aug-05 5:49
Vodstok31-Aug-05 5:49 
GeneralRe: .csv dataset confusion Pin
Dave Kreskowiak31-Aug-05 6:25
mveDave Kreskowiak31-Aug-05 6:25 
I tried it with this and found no problems:
Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
                           "Data Source=C:\;" & _
                           "Extended Properties=""text;HDR=No;FMT=Delimited;IMEX=1"";"
Dim conn As New OleDbCommection(connString)
Dim da As New OleDbDataAdapter("Select * From TestData.csv", conn)
Dim ds As New DataSet
 
da.Fill(ds)
conn.Close()
conn.Dispose()
DataGridView1.DataSource = ds.Tables(0)

The DataGridView control replaces the DataGrid in 2002/2003. Since it can only display a single table at a time, you must specify which table in the dataset to bind to.

What's in the first 10 rows of this .CSV file? Could the data in the file be misinterpreted by the ISAM driver?


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: .csv dataset confusion Pin
Vodstok31-Aug-05 6:35
Vodstok31-Aug-05 6:35 
GeneralRe: .csv dataset confusion Pin
Dave Kreskowiak31-Aug-05 8:31
mveDave Kreskowiak31-Aug-05 8:31 
GeneralRe: .csv dataset confusion Pin
Vodstok2-Sep-05 4:02
Vodstok2-Sep-05 4:02 
QuestionReal Life VB.NET projects Pin
iambijit31-Aug-05 0:42
iambijit31-Aug-05 0:42 
QuestionData Transfer Pin
nitin_ion31-Aug-05 0:16
nitin_ion31-Aug-05 0:16 
AnswerRe: Data Transfer Pin
Dave Kreskowiak31-Aug-05 4:42
mveDave Kreskowiak31-Aug-05 4:42 
GeneralRe: Data Transfer Pin
nitin_ion31-Aug-05 17:25
nitin_ion31-Aug-05 17:25 
GeneralRe: Data Transfer Pin
| Muhammad Waqas Butt |31-Aug-05 23:07
professional| Muhammad Waqas Butt |31-Aug-05 23:07 
GeneralRe: Data Transfer Pin
nitin_ion31-Aug-05 23:35
nitin_ion31-Aug-05 23:35 
Questionrun time error 70 Pin
Marc Soleda30-Aug-05 23:06
Marc Soleda30-Aug-05 23:06 
AnswerRe: run time error 70 Pin
Dave Kreskowiak31-Aug-05 4:39
mveDave Kreskowiak31-Aug-05 4:39 
GeneralRe: run time error 70 Pin
Marc Soleda31-Aug-05 5:03
Marc Soleda31-Aug-05 5:03 
GeneralRe: run time error 70 Pin
Dave Kreskowiak31-Aug-05 12:34
mveDave Kreskowiak31-Aug-05 12:34 
QuestionResizing Label at Runtime Pin
nileshmpatel30-Aug-05 20:32
nileshmpatel30-Aug-05 20:32 
AnswerRe: Resizing Label at Runtime Pin
MohammadAmiry30-Aug-05 20:43
MohammadAmiry30-Aug-05 20:43 
QuestionChange database file in crystal report Pin
Vincent Khoosiongleng30-Aug-05 20:17
sussVincent Khoosiongleng30-Aug-05 20:17 
AnswerRe: Change database file in crystal report Pin
Mark0631-Aug-05 13:16
Mark0631-Aug-05 13:16 

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.