By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,086 Members | 1,919 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,086 IT Pros & Developers. It's quick & easy.

2 way Databinding and a Text Box

P: n/a
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
Mar 20 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.