Click here to Skip to main content
15,897,113 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: vb.net dll and web page Pin
rmedo1-Apr-09 1:50
rmedo1-Apr-09 1:50 
QuestionConfirming the copying is success or not Pin
jishbalan1-Apr-09 0:43
jishbalan1-Apr-09 0:43 
AnswerRe: Confirming the copying is success or not Pin
0x3c01-Apr-09 0:45
0x3c01-Apr-09 0:45 
QuestionCount Similar Lines Pin
vijay248231-Mar-09 21:39
vijay248231-Mar-09 21:39 
AnswerRe: Count Similar Lines Pin
Eddy Vluggen31-Mar-09 22:04
professionalEddy Vluggen31-Mar-09 22:04 
AnswerRe: Count Similar Lines Pin
Tom Deketelaere31-Mar-09 23:36
professionalTom Deketelaere31-Mar-09 23:36 
GeneralRe: Count Similar Lines Pin
vijay24821-Apr-09 1:28
vijay24821-Apr-09 1:28 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 1:43
professionalTom Deketelaere1-Apr-09 1:43 
From memory :

dim dt as new datatable("a name")
dt.columns.add(new datacolumn("column1",getttype(string)))
dt.columns.add(new datacolumn("column2",getttype(string)))
dt.columns.add(new datacolumn("column3",getttype(string)))
dt.columns.add(new datacolumn("column4",getttype(string)))
...

'now that you have your datatable
'read your textfile line by line
do while not reader.eof 
     dim dr as datarow = dt.newrow
     dr.item("column1")= "your value for that column here"
     dr.item("column2")= "your value for that column here"
     dr.item("column3")= "your value for that column here"
     dr.item("column4")= "your value for that column here"
     ...
     dt.rows.add(dr)
loop
'now you have your entire textfile in a datatable
'you can do all your actions on that datatable now and then overwrite your textfile with a new one


hope this helps
GeneralRe: Count Similar Lines Pin
vijay24821-Apr-09 2:22
vijay24821-Apr-09 2:22 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 2:35
professionalTom Deketelaere1-Apr-09 2:35 
GeneralMessage Closed Pin
1-Apr-09 2:50
vijay24821-Apr-09 2:50 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 3:22
professionalTom Deketelaere1-Apr-09 3:22 
GeneralMessage Closed Pin
1-Apr-09 3:33
vijay24821-Apr-09 3:33 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 3:50
professionalTom Deketelaere1-Apr-09 3:50 
GeneralMessage Closed Pin
1-Apr-09 4:05
vijay24821-Apr-09 4:05 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 4:15
professionalTom Deketelaere1-Apr-09 4:15 
GeneralMessage Closed Pin
1-Apr-09 4:36
vijay24821-Apr-09 4:36 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 4:47
professionalTom Deketelaere1-Apr-09 4:47 
GeneralRe: Count Similar Lines Pin
vijay24821-Apr-09 4:49
vijay24821-Apr-09 4:49 
GeneralRe: Count Similar Lines Pin
_Damian S_1-Apr-09 15:20
professional_Damian S_1-Apr-09 15:20 
GeneralRe: Count Similar Lines Pin
Tom Deketelaere1-Apr-09 20:57
professionalTom Deketelaere1-Apr-09 20:57 
GeneralRe: Count Similar Lines Pin
C#Coudou1-Apr-09 15:35
C#Coudou1-Apr-09 15:35 
GeneralRe: Count Similar Lines Pin
C#Coudou1-Apr-09 15:37
C#Coudou1-Apr-09 15:37 
GeneralRe: Count Similar Lines Pin
vijay24821-Apr-09 21:00
vijay24821-Apr-09 21:00 
GeneralRe: Count Similar Lines Pin
Eddy Vluggen1-Apr-09 1:47
professionalEddy Vluggen1-Apr-09 1: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.