locked
search button needs help :/ RRS feed

  • Question

  • User304773270 posted

    hi everyone,

    just wondering if anyone can help me with a small problem. i need to run an sql statement when a "search" button is pressed. however i'm not sure what code is needed for the button in order to do this.. i'm a relative newbie to asp.net, so any help would be much appreciated.

     

    thanx..

     

    googaloog :P 

    Tuesday, October 10, 2006 9:10 PM

Answers

  • User300685930 posted
    you need to double click on the search button in design view.  It will create a function called something like button_search(...).  You put your ado.net type code in there to do the search.  YOu could also use sqldatasource if you want.
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, October 10, 2006 11:12 PM