populating a gridview with a button's click event
Posted
by david padi
on Stack Overflow
See other posts from Stack Overflow
or by david padi
Published on 2009-12-07T07:24:19Z
Indexed on
2010/03/26
21:03 UTC
Read the original article
Hit count: 150
hi
I have a page that has two dropdownlists(one for the locations, and the other for departments), an employee search textbox and a button. On the other page, I have a gridview. Now, what i want to archieve is that when a user types an employee's name in the textbox control, selects a location from the location dropdownlist, and a department from the departments dropdownlist, and click the button(search), the gridview on the other page must show the reqiured information of a SINGLE employee. Only one row must show.
I have created a database for the employees. I know how to do this with the autopostback but i have not tried it using a button's click. NB: the gridview should show only one row of a selected employee. I'm using ASP.NET VB
Your help will high apprecaited.
© Stack Overflow or respective owner