Search database with textbox/button, display record in detailsview and update fields
Posted
by AB
on Stack Overflow
See other posts from Stack Overflow
or by AB
Published on 2010-03-08T17:02:16Z
Indexed on
2010/03/08
17:06 UTC
Read the original article
Hit count: 419
detailsview
|sqldatasource
Hello, I am trying to do all on one page. There are 3 textboxes and 3 buttons, one sqldatasource and one detailsview. Sqidatasource is configured to take parameters from textboxes and ingnore blank textboxes to be able to search by one (any) field at the time. When I do "test query" in sqldatasource - everything is working. Deatailsview is set to have sqldatasoure as datasourse. On each button I do detailsview.databind() but nothing is showing up. Need help, thank you.
© Stack Overflow or respective owner