Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to display data in gridview according to selected id.

any one can give m some suggestion
Posted
Comments
Prasad_Kulkarni 5-Apr-12 8:51am    
How you gonna select ID?
I mean you want to give it in text box and want to show corresponding records.
Or
a drop down or like what??
Make it clear.

1 solution

Hi,
Take a look at this page:
http://msdn.microsoft.com/en-us/library/aa581790.aspx[^]

Using this sample you can select an item from a DropDownList and then according to that value the GridView will be populated.

I hope it will work,
Cheers
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900