K
Kenghot
I'm using Compact Framework and SqlCeDataAdapter to get data from
sqlce database
with this code
dim cn = New SqlCeConnection(strCn)
dim ds as new dataset
dim da as New SqlCeDataAdapter("", cn)
cn.open
da.SelectCommand.CommandText = "select * from BarCode;select * from
Country"
da.SelectCommand.CommandType = CommandType
da.Fill(ds)
This use to be work when i run with SqlDataAdapter (Window
application) and this will reture two datatable in ds (dataset) but
when i try with SqlCeDataAdapter (with compact framework) , error
ocurres:
There was an error parsing the query. [ Token line number = 1,Token
line offset = 23,Token in error = select ]
sqlce database
with this code
dim cn = New SqlCeConnection(strCn)
dim ds as new dataset
dim da as New SqlCeDataAdapter("", cn)
cn.open
da.SelectCommand.CommandText = "select * from BarCode;select * from
Country"
da.SelectCommand.CommandType = CommandType
da.Fill(ds)
This use to be work when i run with SqlDataAdapter (Window
application) and this will reture two datatable in ds (dataset) but
when i try with SqlCeDataAdapter (with compact framework) , error
ocurres:
There was an error parsing the query. [ Token line number = 1,Token
line offset = 23,Token in error = select ]