R
Rafael Metring
Hi
How can I vinculate my data to datagrid?
In vb.net + asp.net I use this
......
dim dr as SqlDatareader = myCommand.ExecuteReader()
DatagridModel.Datasource = dr
DatagridModel.DataBind()
I am trying use this in VB.net pocket
....
dim dr as sqlCeDataReader = mycommand.executereader()
datagrid.datasource = dr
but dont have databind in datagrid..
in other form i used ...
dim dr as sqlcedatareader = mycommand.executereader()
if dr.read()
lblstatus.text = dr.item("NAME")
end if
and this run without problem , only in datagrid have problem..
any suggestions?
Rafael
How can I vinculate my data to datagrid?
In vb.net + asp.net I use this
......
dim dr as SqlDatareader = myCommand.ExecuteReader()
DatagridModel.Datasource = dr
DatagridModel.DataBind()
I am trying use this in VB.net pocket
....
dim dr as sqlCeDataReader = mycommand.executereader()
datagrid.datasource = dr
but dont have databind in datagrid..
in other form i used ...
dim dr as sqlcedatareader = mycommand.executereader()
if dr.read()
lblstatus.text = dr.item("NAME")
end if
and this run without problem , only in datagrid have problem..
any suggestions?
Rafael