MM:Dataset capability using pure ASP.net
Posted on 2005-04-11
I have been using Dreamweaver's <mm:dataset/> connections in most of my site but I want to expand my horizons and be able to do what I want without relying on Dreamweaver so much.
For the most part, I get how to do all the usual stuff (Insert/Update/Delete) and how to bind things like repeaters and datagrids. However, what I can't figure out is how to make my dataset (datareader, datatable, whatever...) available to the page without binding it to a control inside a form? Do I need to dim a public datatable and fill it or what?
In DW I create a <mm:dataset id="myDS"/> and reference that dataset anywhere on the page by using:
<%# myDS.DataField("myField", Container) %>
How do I get that flexibility without using Dreamweaver's control? Please show examples in VB. You can show me C++ but I may or may not be able to follow it.