Hi
i want to open a text file from vb.net coding but i am not getting any idea
actually i used the following code
conect = ("Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=d:\as.tx t;Extended Properties=text ;HDR=Yes;FMT=De limited")
scon.Connection String = conect
scon.Open()
cmd.CommandText = "select * from as.txt"
cmd.Connection = scon
dtAdaptor = New System.Data.Ole Db.OleDbDataAda pter(cmd)
dtAdaptor.Fill( ds, "as.txt")
but it shows the error
invalid installed ISAM
i want to open a text file from vb.net coding but i am not getting any idea
actually i used the following code
conect = ("Provider=Micr osoft.Jet.OLEDB .4.0;Data Source=d:\as.tx t;Extended Properties=text ;HDR=Yes;FMT=De limited")
scon.Connection String = conect
scon.Open()
cmd.CommandText = "select * from as.txt"
cmd.Connection = scon
dtAdaptor = New System.Data.Ole Db.OleDbDataAda pter(cmd)
dtAdaptor.Fill( ds, "as.txt")
but it shows the error
invalid installed ISAM
Comment