sqldatasource item template update

Discussion in 'ASP .Net Web Controls' started by Justin Rich, Oct 3, 2007.

  1. Justin Rich

    Justin Rich Guest

    trying to do something simple and have run in to a bit of a problem...

    I have a sqldatasource control and a details view. all of the fields are
    databound but one. The one that isnt is a simple string field that in the
    edit template has a dropdown box. the dropdown box is the status field in
    the database.

    i tried to bind whatever i could in the dropdown to "status" with no luck.
    basically the problem is that in the update query i cant do status=@status
    and have it use the assumed binding.

    how do i assign that control to a parameter?
    I cant do it as a normal control parameter because the most it will see is
    the detailsview control.

    thanks
    Justin
     
    Justin Rich, Oct 3, 2007
    #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. =?Utf-8?B?cm9iIGx5bmNo?=

    SQLDatasource/StoredProc/Dataview Update Command Q..

    =?Utf-8?B?cm9iIGx5bmNo?=, Jun 1, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    3,777
    =?Utf-8?B?cm9iIGx5bmNo?=
    Jun 1, 2005
  2. Jesse Liberty
    Replies:
    4
    Views:
    5,204
    SoftwareLogic
    Nov 22, 2011
  3. Replies:
    1
    Views:
    2,837
  4. mosscliffe
    Replies:
    3
    Views:
    9,475
    mosscliffe
    Apr 28, 2006
  5. Vaughn Haybittle
    Replies:
    0
    Views:
    897
    Vaughn Haybittle
    Apr 2, 2007
Loading...

Share This Page