Search results for query: *

  • Users: Daz66
  • Content: Threads
  • Order by date
  1. D

    Dynamic UI Update

    Hi all, I have a UserControl which is primarily a DataGrid which is populated by ObservableCollection. Dispatcher.CurrentDispatcher.Invoke(() => { GetAllExpenses = new ObservableCollection<ExpensesBaseClass>(_repository.GetAll()); }); private ObservableCollection<ExpensesBaseClass>...
  2. D

    Best practice

    Hi all, I'm trying to create a Quotation section in my WPF app and it's going to involve cascading ComboBoxes. I use a local instance of MySql and ADO.NET with parameterised Stored Procedures to retrieve data. I have created multiple category tables with FK relationships to a parent category...
  3. D

    Binding failures

    I'm a novice trying to conform to MVVM pattern, and understand that the main purpose of the ViewModel is to act as an intermediary between the Model and the View. My issue is, I get binding errors when I target properties that I have exposed to my ViewModel. I have a DataAccess method in my...
  4. D

    Resolved WPF DataGridRow values to TextBoxes-MVVM

    Hi, I recently made the switch from WInforms to WPF. I'm trying to learn the mvvm pattern and am having a few issues, I'm a novice, so if any of you guys would have the time to take a look and give me a nudge in the right direction I would be extremely grateful. I have a DataGrid which populates...
  5. D

    Resolved Combobox Filter

    A novice question if I may. I'm trying to cascade filter comboboxes to DGV in my winforms project. I have a list derived from a class that populates cbx1 with CategoryA items, I'm trying to populate cbx2 with CategoryB items in the SelectedIndexChanged event based on the choice in cbx1 and...
  6. D

    Enter button

    Hello again. Any chance one of you guys could point me in the right direction here please. I have an SQL database and returning results via search buttons to dataGridView, There are customer 'id' and 'name' search options on my form. The id search button works fine with the keydown enter...
  7. D

    Resolved stored procedure to display into a textBox

    Hi all, I'm new to the forum, and new to programming. I've been following the Microsoft course book C# .NET for beginners an i'm about a month or so in (Lock down binge). I'm a 60's kid so i'm not looking for a career in programming but it's something I've always been interested in; so here...
Back
Top Bottom