Binding a textbox to a detailsview in asp.net 2.0

Discussion in 'ASP .Net' started by =?Utf-8?B?Q2VyaV9EYXZpZXM=?=, Mar 22, 2005.

  1. Hi, Is it possible to bind a text box to the results of a detailsview
    record. This is for a university project using visual web developer 2005
    express beta. Unfortunatly this is a new eniroment to me and i can't find any
    relevant resources on it. The code i have been trying to use is:

    </asp:DetailsView>
    <asp:TextBox ID="TextBox1" Runat="server"
    Text='<%# ObjectDataSource1("StockCode")%>' >

    </asp:TextBox>

    I guess it is the objectdatasource1 bit that is messing up. any ideas?
    thanks
     
    =?Utf-8?B?Q2VyaV9EYXZpZXM=?=, Mar 22, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Robinson

    DetailsView Data Binding

    Andrew Robinson, Sep 30, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    15,152
    Steven Cheng[MSFT]
    Oct 10, 2005
  2. Replies:
    0
    Views:
    500
  3. JJ
    Replies:
    1
    Views:
    5,263
  4. viktor
    Replies:
    0
    Views:
    550
    viktor
    Aug 13, 2007
  5. Feege
    Replies:
    0
    Views:
    502
    Feege
    Dec 20, 2005
Loading...

Share This Page