2 way Databinding and a Text Box

W

Wayne Sepega

I have the following Object DataSource

<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetCustomer"
TypeName="Customers"
DataObjectTypeName="Customer"
InsertMethod="InsertCustomer"
OnUpdated="ObjectDataSource1_Updated"
UpdateMethod="UpdateCustomer"
OnSelected="ObjectDataSource1_Selected">

<SelectParameters>
<asp:QueryStringParameter DefaultValue="ALFKI" Name="id"
QueryStringField="CustomerId"
Type="String" />
</SelectParameters>
</asp:ObjectDataSource>

I want to accomplish the following 3 items, the second and third being the
most important:

1) Not use a GridView/FormView (If possible)

2) Once all the databinding is hooked up, be able to tell what the control
is databound to.
a) if I have to use a From View, then be able to get at the textBox in
the formview. So far I've not been able to see the text box in the list of
controls on the form, form view, or any control starting at the form and
recursivly working my way down.

3) Do all of this using the built in databinding in the frame work for
ASP.net

I have a working solution already using a differnt approach for databinding,
and in winforms using the built in databinding. I just want to see if I can
do this with the standard databinding in the Framework for ASP.net before
perfecting the the other approach.

Thanks
Wayne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top