i have a problem on gridview.help me out. asp.net c#

Posted by Suneel161 under Regular Expressions on 4/13/2010 | Views : 1225 | Status : [Member] | Replies : 4
i have 1 dropdown(location) and 1 button (GO) onthe top of a gridview... if i filter the location as pune then submit so i need to get the message as selected information on the top of a gridview how to solve this problem




Responses

Posted by: Vuyiswamb on: 4/13/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
What is pune

Thank you for posting at Dotnetfunda
[Administrator]

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Pavanandey on: 4/13/2010 [Member] Bronze

Up
0
Down
Hi,

By using the caption method u can show selected info on the top of the gridview.

gridview.Caption = "Caption";



Thanks
Pavan Kumar
Mark Answer if this fits the need

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suneel161 on: 4/13/2010 [Member] Starter

Up
0
Down
i have taken as an example like pune as location

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sbanerjee on: 4/13/2010 [Member] Starter

Up
0
Down
The query which you are writing to fill the grid in that pass the where condition.
For example: select * from employee where location=@locationVar
@locationVar you can set as dropDownList.Text


Regards,
Soumen

Suneel161, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response