Re: need some VB.net help
Hi First you should fill the Values from database to datatable. like.
dim Ds as new Dataset
dim Cmd as new sqlcommand("Exec " ,con)
dim ada as new sqldataadapter(cmd)
ada.Fill(Dataset,"DataTableName")
Now you have to decalre the Datatable Like
Dim Dt as data.DataTable=Ds.DatatableName
Dim Dr() as data.DataRow=Dt.Select();
For i = 0 to Dr.Length-1
lbl.Text=Dr(i).Item("FieldName")
Next
By using the above code, we can retrive the all values from DataTable.
Re: need some VB.net help
Hi Daren,
Which File format you are using to import the data from Text file to VB.Net, there are Comma-separated i.e .CSV file format (,) and Hash-separated i.e (#) file format are available through which we can import data into VB.Net form, so please mention which file format your data is..
Re: need some VB.net help
actually what you see above is the exact file i need to import...