Click here to Skip to main content
15,912,897 members
Home / Discussions / Database
   

Database

 
Questioncreate database, which parameter Pin
luccingolo13-May-10 2:52
luccingolo13-May-10 2:52 
AnswerRe: create database, which parameter Pin
Corporal Agarn13-May-10 4:09
professionalCorporal Agarn13-May-10 4:09 
GeneralRe: create database, which parameter Pin
luccingolo13-May-10 5:57
luccingolo13-May-10 5:57 
GeneralRe: create database, which parameter Pin
Corporal Agarn13-May-10 6:17
professionalCorporal Agarn13-May-10 6:17 
GeneralRe: create database, which parameter Pin
luccingolo13-May-10 6:53
luccingolo13-May-10 6:53 
GeneralRe: create database, which parameter Pin
Corporal Agarn13-May-10 7:01
professionalCorporal Agarn13-May-10 7:01 
GeneralRe: create database, which parameter Pin
luccingolo13-May-10 7:14
luccingolo13-May-10 7:14 
QuestionWPF cascaded combo Pin
bindum3112-May-10 20:08
bindum3112-May-10 20:08 
Hi,
I am using LINQ to SQL and MVVM pattern in my application where i am retrieving
my data by the following query:

internal ObservableCollection<INVCategory> GetCategoryList()
{
      DataLoadOptions dataLoadOptions = new DataLoadOptions();
      dataLoadOptions.LoadWith<INVCategory>(t => t.INVSubCategories);
      this.Context.LoadOptions = dataLoadOptions;
             
      var categories = from category in this.Context.INVCategories
                       orderby category.CatgeoryId descending
                       select category;
      return new   ObservableCollection<INVCategory>(categories.ToList());
}


And my XAML code for parent(Category) combo is:

<ComboBox Grid.Column="1" Grid.Row="0" HorizontalAlignment="Stretch"  VerticalAlignment="Stretch" Margin="0,2,10,2" TabIndex="0" x:Name="categoryComboBox" ItemsSource="{Binding CategoryList}" IsEditable="True" DisplayMemberPath="CategoryName"  SelectedValuePath="CatgeoryId" SelectedItem="{Binding CategoryList, Mode=TwoWay}" SelectedValue="{Binding Path=CurrentEntity.CategoryId, Mode=TwoWay}">
</ComboBox>


for child(Subcategory) combo i am using:

<ComboBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="0,2,10,2" TabIndex="1" ItemsSource="{Binding SelectedItem, ElementName=categoryComboBox, Mode=OneWay}" DisplayMemberPath="SubCategoryName" SelectedValuePath="SubCategoryId" SelectedItem="{Binding INVSubCategories, Mode=TwoWay}" >
</ComboBox>


But my child combo items is not populated during form loading as well as parent combo's
selection changed though my parent combo items are populated.
i can't figure out why my child combo is not functioning based on parent combo's
selected item ,please help me.
AnswerRe: WPF cascaded combo Pin
Michael J. Eber13-May-10 10:39
Michael J. Eber13-May-10 10:39 
AnswerRe: WPF cascaded combo Pin
Michael J. Eber13-May-10 12:07
Michael J. Eber13-May-10 12:07 
Questionhow to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit12-May-10 20:04
developerit12-May-10 20:04 
AnswerRe: how to write the querry for copying one image field into another image field in sql server 2000 Pin
developerit14-May-10 22:28
developerit14-May-10 22:28 
QuestionOS dependency with Interbase database 6.0 driver? Pin
navneet.professional12-May-10 19:57
navneet.professional12-May-10 19:57 
AnswerRe: OS dependency with Interbase database 6.0 driver? Pin
Henry Minute13-May-10 1:48
Henry Minute13-May-10 1:48 
QuestionHow to use CLongBinary to store image of size > 64 KB with Interbase Database 6.0 driver Pin
navneet.professional12-May-10 19:50
navneet.professional12-May-10 19:50 
QuestionNot Equal to Question/Problem Pin
djhankypark12-May-10 6:09
djhankypark12-May-10 6:09 
AnswerRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 6:23
J4amieC12-May-10 6:23 
AnswerRe: Not Equal to Question/Problem Pin
David Skelly12-May-10 6:24
David Skelly12-May-10 6:24 
GeneralRe: Not Equal to Question/Problem Pin
PIEBALDconsult12-May-10 18:21
mvePIEBALDconsult12-May-10 18:21 
AnswerRe: Not Equal to Question/Problem Pin
Chris Meech12-May-10 6:38
Chris Meech12-May-10 6:38 
GeneralRe: Not Equal to Question/Problem Pin
J4amieC12-May-10 21:49
J4amieC12-May-10 21:49 
QuestionNeed help in query Pin
Saiyed Alam12-May-10 2:48
Saiyed Alam12-May-10 2:48 
AnswerRe: Need help in query Pin
J4amieC12-May-10 3:53
J4amieC12-May-10 3:53 
GeneralRe: Need help in query Pin
David Skelly12-May-10 5:16
David Skelly12-May-10 5:16 
GeneralRe: Need help in query Pin
J4amieC12-May-10 5:21
J4amieC12-May-10 5: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.