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

Visual Basic

 
AnswerRe: sending loaded file ti pic16f84 Pin
Steve Pullan2-Apr-06 18:52
Steve Pullan2-Apr-06 18:52 
QuestionVB identification of web page links Pin
Snoot_5435332-Apr-06 3:39
Snoot_5435332-Apr-06 3:39 
Questionhow to update the database with windows service Pin
jillamadhu2-Apr-06 2:33
jillamadhu2-Apr-06 2:33 
Questionhow to update the database with windows service Pin
jillamadhu2-Apr-06 2:30
jillamadhu2-Apr-06 2:30 
QuestionHow to retrieve value for each items in combobox?? Pin
besah1-Apr-06 16:25
besah1-Apr-06 16:25 
AnswerRe: How to retrieve value for each items in combobox?? Pin
Steve Pullan1-Apr-06 22:23
Steve Pullan1-Apr-06 22:23 
AnswerRe: How to retrieve value for each items in combobox?? Pin
jcrussell2-Apr-06 18:55
jcrussell2-Apr-06 18:55 
QuestionDatagrid header from CSV file. Pin
japel1-Apr-06 13:43
japel1-Apr-06 13:43 
I am populating a datagrid from a CSV file. This file does not have a header column I would like to add the datagrid header in code at runtime and pull the data from the csv file.

At present the first line in the csv file becomes the datagrid header how do I stop this and add the hearder at run time...

Thanks

<br />
            If OpenFileDialog1.ShowDialog(Me) = DialogResult.OK Then<br />
                Dim fi As New FileInfo(OpenFileDialog1.FileName)<br />
                Dim sConnectionString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Extended Properties=Text;Data Source=" & fi.DirectoryName<br />
                Dim objConn As New OleDbConnection(sConnectionString)<br />
                objConn.Open()<br />
                Dim objCmdSelect As New OleDbCommand("SELECT * FROM " & fi.Name, objConn)<br />
                Dim objAdapter1 As New OleDbDataAdapter<br />
                objAdapter1.SelectCommand = objCmdSelect<br />
                Dim objDataset1 As New DataSet<br />
                objAdapter1.Fill(objDataset1, "Import")<br />
                DataGrid1.DataSource = objDataset1.Tables(0).DefaultView<br />
                objConn.Close()<br />
            End If<br />


When people make you see red, be thankful your not colour blind.
QuestionHttpWebRequest - 400 Bad Request Pin
benblanco1-Apr-06 11:26
benblanco1-Apr-06 11:26 
AnswerRe: HttpWebRequest - 400 Bad Request Pin
benblanco3-Apr-06 7:53
benblanco3-Apr-06 7:53 
QuestionHow to Play Audio and video songs in vb.net Pin
Kiran Indira1-Apr-06 6:37
Kiran Indira1-Apr-06 6:37 
AnswerRe: How to Play Audio and video songs in vb.net Pin
Qendro7-Sep-08 2:56
Qendro7-Sep-08 2:56 
Questiondeploymenet Pin
SVb.net1-Apr-06 2:25
SVb.net1-Apr-06 2:25 
Questionuesr control in vb.net Pin
prashantvashisht1-Apr-06 2:06
prashantvashisht1-Apr-06 2:06 
QuestionFormatting a Data Grid. Pin
daviiie1-Apr-06 2:06
daviiie1-Apr-06 2:06 
Questionhow to Refresh databse?? Pin
campbells1-Apr-06 1:53
campbells1-Apr-06 1:53 
AnswerRe: how to Refresh databse?? Pin
riptide792-Apr-06 6:08
riptide792-Apr-06 6:08 
GeneralRe: how to Refresh databse?? Pin
campbells3-Apr-06 2:22
campbells3-Apr-06 2:22 
QuestionFinding a Excel.exe file in drives Pin
lirthick1-Apr-06 1:35
lirthick1-Apr-06 1:35 
AnswerRe: Finding a Excel.exe file in drives Pin
Garner T2-Apr-06 14:04
Garner T2-Apr-06 14:04 
Questionhow to connect VB.Net webform with mysql Pin
Amit Agarrwal31-Mar-06 23:57
Amit Agarrwal31-Mar-06 23:57 
Questionvb.net & database Pin
dash_ashu31-Mar-06 21:40
dash_ashu31-Mar-06 21:40 
AnswerRe: vb.net & database Pin
SVb.net1-Apr-06 2:30
SVb.net1-Apr-06 2:30 
GeneralRe: vb.net & database Pin
dash_ashu2-Apr-06 19:36
dash_ashu2-Apr-06 19:36 
QuestionCrystal Reports and VB6 Pin
Vikrant Badhai31-Mar-06 20:55
Vikrant Badhai31-Mar-06 20:55 

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.