How to fetch Male and Female from a column and display the value in repeater?

5 pts.
Tags:
C
asp.net C# and sql database

I have a table "Students" with gender column including photos.
On the page, I have a dropdown control of which I've binded the gender into.

What I want to do is: if the user select male or female, all selected photos and records should be displayed in a repeater control..

Can anybody help ?


0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Subhendu Sen
    Probably this is a homework. Have you written a piece of code that what you want? Is there any error? You may come with your code that can be helpful to trace out error.
    138,560 pointsBadges:
    report
  • ToddN2000
    You could build a table or datagrid using a SQL statement to do your select of the records as one possible option. 
    132,520 pointsBadges:
    report
  • Subhendu Sen
    138,560 pointsBadges:
    report
  • ToddN2000
    Post your code so we can see what your are trying to do. This way we know you have tried to do the work and we can show you how to fix it. If we write it for you, you wont learn as much. 

    132,520 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: