locked
Adding text box & check box to input ad form RRS feed

  • Question

  • User-891577769 posted

    Im trying to add a text box and check box  to the input ads form, but always get some kind of failure message.

    Could someone please guide me to it or give me a explination on how it should be done. Thanks!

    Which files I sould be change and how, for expamle how add text box and check box  in  AppCode/BLL/Ads.cs file, code behind file or stored procedure.

     

     

    Friday, October 31, 2008 9:32 AM

Answers

  • User730446648 posted

    Take a look over here.

    http://forums.asp.net/t/1340067.aspx

    I just went through the addition process.
    The big diferences would be with the checkbox.

    In the first steps adding the column to the database, instead of using nvarchar and string, use bit and boolean.

    Other than that it exactly the same as the above mentioned walkthrough.
    Oh and also on the postad page your going to want to bind to checked instead of text.

     That should do it.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, October 31, 2008 10:49 PM