TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vijay
NA
150
90.8k
How to bind Enum Values to TextBox in Silverlight ?
Sep 4 2013 5:56 AM
How to bind Enum Values to TextBox in Silverlight ?
public class
Person
{
string Name{get;set;}
Genders
Gender { get; set; }
}
public enum Genders
{
Male=1,
Female=2,
Transgender=3
}
Now my question is , i want to enter Enum values like 1,2...
i tried like,
private void btnSubmit_Click(object sender, RoutedEventArgs e)
{
Person per=new Person();
per.Name = txtFname.Text;
per.Gender = txtGender.Text(Gender);
}
please let me know how to do?
Reply
Answers (
2
)
Desktop application in c#.net project
delete duplicate records