T
Tony Staker
I'm new to mobile app development so I'm going through Glen Gordon's
on-demand webcast series "Mobile Web Development with ASP.Net 2.0" Using
VS2005 I created a mobile app, a connection to Northwind and a dataset named
"Orders". Then in a button click code block:
dim ta as new OrdersTableAdapters.OrdersTableAdapters()
dim dt as new Orders.OrdersDataTable
......
This is just as Glen has it in the demo.VS2005 gives me "Type
orderstableadapters is not defined". It's as if my mobile form does not
'see' the dataset.In Glen's demo he is able to fill an object list from the
orders table in Northwind
In asp.net I've used datasets and tableadapters before with success.
Suspecting that VS is broken I try this
(dataset named northwindDS)
Dim tblOrders As New northwindDSTableAdapters.OrdersTableAdapter()
Dim dt As New northwindDS.OrdersDataTable
tblOrders.Fill(dt, TextBox1.Text)
GridView1.DataSource = dt
GridView1.DataBind()
And all works fine, so what gives?
on-demand webcast series "Mobile Web Development with ASP.Net 2.0" Using
VS2005 I created a mobile app, a connection to Northwind and a dataset named
"Orders". Then in a button click code block:
dim ta as new OrdersTableAdapters.OrdersTableAdapters()
dim dt as new Orders.OrdersDataTable
......
This is just as Glen has it in the demo.VS2005 gives me "Type
orderstableadapters is not defined". It's as if my mobile form does not
'see' the dataset.In Glen's demo he is able to fill an object list from the
orders table in Northwind
In asp.net I've used datasets and tableadapters before with success.
Suspecting that VS is broken I try this
(dataset named northwindDS)
Dim tblOrders As New northwindDSTableAdapters.OrdersTableAdapter()
Dim dt As New northwindDS.OrdersDataTable
tblOrders.Fill(dt, TextBox1.Text)
GridView1.DataSource = dt
GridView1.DataBind()
And all works fine, so what gives?