Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
Questionc# combo box binding Pin
Pubudini3424-May-12 0:39
Pubudini3424-May-12 0:39 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 1:17
Cracked-Down24-May-12 1:17 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 2:07
Pubudini3424-May-12 2:07 
AnswerRe: c# combo box binding Pin
Cracked-Down24-May-12 3:05
Cracked-Down24-May-12 3:05 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 3:34
Pubudini3424-May-12 3:34 
GeneralRe: c# combo box binding Pin
Cracked-Down24-May-12 4:05
Cracked-Down24-May-12 4:05 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 6:45
Pubudini3424-May-12 6:45 
GeneralRe: c# combo box binding Pin
Pubudini3424-May-12 8:02
Pubudini3424-May-12 8:02 
The previous problem was solved...
========================================
here comes a new one

public DataView MyProperty {
get
{
return theTable.DefaultView;
}
set
{
theTable = value;
}
}

Basically what i want to do now is -

1.connect to a data base
2.Get the data and set the data set with MyProperty
3.Bind the Property with ComboBox

Final Result -> ComboBox should show all the data retreved from the data base


xaml code :
<ComboBox Height="28" HorizontalAlignment="Left" Margin="20,313,0,0" Name="comboBox3" VerticalAlignment="Top" Width="241" DataContext="{Binding Source={StaticResource deptObeject}}" ItemsSource="{Binding Path=MyProperty}" Text="{Binding Path=MyProperty.Lishan/Loc}" Style="{Binding Path=MyProperty.Lishan/Loc}" /><small></small>
SuggestionRe: c# combo box binding Pin
Cracked-Down24-May-12 19:06
Cracked-Down24-May-12 19:06 
QuestionC# - Email Account Verification Pin
Cristian Capannini24-May-12 0:19
Cristian Capannini24-May-12 0:19 
AnswerRe: C# - Email Account Verification Pin
Richard MacCutchan24-May-12 3:10
mveRichard MacCutchan24-May-12 3:10 
QuestionC# windows service.. Pin
babasateesh23-May-12 23:53
babasateesh23-May-12 23:53 
AnswerRe: C# windows service.. Pin
Ravi Bhavnani24-May-12 2:11
professionalRavi Bhavnani24-May-12 2:11 
QuestionDate filter in DataView Pin
Paul Bullimore23-May-12 22:11
Paul Bullimore23-May-12 22:11 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 0:31
professionalEddy Vluggen24-May-12 0:31 
GeneralRe: Date filter in DataView Pin
BobJanova24-May-12 0:51
BobJanova24-May-12 0:51 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 1:00
professionalEddy Vluggen24-May-12 1:00 
GeneralRe: Date filter in DataView Pin
Paul Bullimore24-May-12 1:46
Paul Bullimore24-May-12 1:46 
AnswerRe: Date filter in DataView Pin
Luc Pattyn24-May-12 3:01
sitebuilderLuc Pattyn24-May-12 3:01 
AnswerRe: Date filter in DataView Pin
Paul Bullimore24-May-12 21:22
Paul Bullimore24-May-12 21:22 
QuestionCan I use Font like a photoshop? Pin
Member 832808023-May-12 15:51
Member 832808023-May-12 15:51 
AnswerRe: Can I use Font like a photoshop? Pin
OriginalGriff23-May-12 19:25
mveOriginalGriff23-May-12 19:25 
GeneralThanks you for your advise. but I can't use this way. Pin
Member 832808023-May-12 23:14
Member 832808023-May-12 23:14 
GeneralRe: Thanks you for your advise. but I can't use this way. Pin
BobJanova24-May-12 0:52
BobJanova24-May-12 0:52 
GeneralRe: Thanks you for your advise. but I can't use this way. Pin
Pete O'Hanlon24-May-12 1:21
mvePete O'Hanlon24-May-12 1:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.