Search:

Type: Posts; User: Bear89

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Re: Datepicker editing in WPF datagrid with MSAccess .mdb database

    Thanks Jm, at the moment no exception is being thrown, and I have tried a number of options but nothing is thrown. But the data of the row in question are simply not updated to the database when a...
  2. Re: Datepicker editing in WPF datagrid with MSAccess .mdb database

    OK thanks jm, I have checked the parent Access setting and it is set to No for the Date:Required field.
  3. Datepicker editing in WPF datagrid with MSAccess .mdb database

    Dear Guys,

    I have been developing a wpf application with a MS Access .mdb database. The pain window includes a range of textboxes from large data table, with 3 child tables to the main table, all...
  4. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    OK, I have made some progress but would really love some help. First, it seems the datepicker can switch between normal and editable mode, and that influences whether it will accept new data....
  5. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    I disagree. The difficulty here is getting wpf to accept data and this might still relate to a null issue or perhaps a related issue, very much related to the discussion so far and to the topic.
    ...
  6. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    Thanks pg and jmc, I have allowed null values in the access database and these are now accepted, so excellent.

    I still have a problem though with date fields, which wont allow entries in my WPF...
  7. Replies
    2
    Views
    401

    Re: New JSON syntax - Solved!

    A very measured response from you, thanks jmc!
  8. Replies
    2
    Views
    401

    [RESOLVED] New JSON syntax - Solved!

    Guys, I have encountered a new type of JSON which I am unsure how to handle. The example I need to code to is:

    {
    "transactionId": [
    "izoz"]
    }


    The JSON Validator indicates this is a...
  9. Replies
    6
    Views
    392

    Re: JSON nested array - retrieving values

    Ah, I see it now, I just need to specify the index - eg m3 = participant.service(1)

    Thanks guys.
  10. Replies
    6
    Views
    392

    Re: JSON nested array - retrieving values

    Thanks Peter, perfect, now deserialises, but I still can't get the value -


    23/05/2022 9:13:26 PM : Name: Credicare Fund Limited

    23/05/2022 9:13:26 PM : Id: CHF

    23/05/2022 9:13:26 PM :...
  11. Replies
    6
    Views
    392

    Re: JSON nested array - retrieving values

    Hmm, I tried that before, and have gone back to it as this:


    Public Class GPRResponse
    Public Property participant As IEnumerable(Of participant)
    End Class

    Public Class...
  12. Replies
    6
    Views
    392

    JSON nested array - retrieving values

    I知 having difficulty extracting data from a particular JSON response which has nested arrays. I can easily access the first level data, but not the second.

    My declarations are:

    Public Class...
  13. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    Thanks tg, so here is the update code:


    Public Sub UpdateTA()

    Try
    Dim PatientDataSet As Goldie.patientDataSet = CType(Me.FindResource("PatientDataSet"),...
  14. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    No, not crashing, the exception is simply thrown when I try to access or save data from cells that have been deleted.
  15. Replies
    13
    Views
    761

    Re: NullException on delete in WPF textbox

    Thanks JMc, the reason I have shown no code is because there is none. These text boxes have no specific code added, ie they remain as they did at the start of the project. However, they are bound to...
  16. Replies
    13
    Views
    761

    NullException on delete in WPF textbox

    I have searched everywhere for a good solution to this problem but I can't find one. I have a range of controls in Datagridtables and textboxes on my WPF mainwindow, and when I delete any value I am...
  17. Replies
    4
    Views
    360

    Re: Retrieving values from an array

    Perfect, thanks tg and dday!
  18. Replies
    4
    Views
    360

    Re: Retrieving values from an array

    Well I was wondering if thats the case, because I had thought my syntax was OK, but may just be a string?
  19. Replies
    4
    Views
    360

    Retrieving values from an array

    I know this must be simple but I can't work it out. I have stored a range of data in an array, with variables according to the following construction, stored in a datagridtable:

    ...
  20. Replies
    5
    Views
    348

    Re: Deserialising a JSON array

    Excellent, thanks so much Karen and pd. In the end the List and other options didn't work pd as the need for deserialization and the need for full string to access each element were in conflict....
  21. Replies
    5
    Views
    348

    Re: Deserialising a JSON array

    If I try to do that with my current declarations I can't reach the array elements. For example, I can retrieve:


    memberNumber =...
  22. Replies
    5
    Views
    348

    Deserialising a JSON array

    Dear Friends,

    After much help, I have progressed well with my project but I am now having trouble reading data from a Webservice JSON response. I have created classes for all components of the...
  23. Replies
    2
    Views
    469

    Re: No binding data in bound table in WPF

    And just for completeness, here is my entire debug output - hte only other errors are the dll exceptions, which dont seem to be the key issue?:


    'Goldie.exe' (CLR v4.0.30319: DefaultDomain):...
  24. Replies
    2
    Views
    469

    Re: No binding data in bound table in WPF

    I've managed to find 2 errors in the debug, and these relate to the troublesome table and to binding:


    System.Windows.Data Error: 40 : BindingExpression path error: 'Table1Acctdetails_Unpaid'...
  25. Replies
    2
    Views
    469

    No binding data in bound table in WPF

    Not sure if anyone can help me with this one. I have 1 parent and 3 child tables in my WPF design, with the 3 child tables bound to the parent using drag and drop from the datasource. However, one of...
  26. Re: Unwanted duplications in a nested JSON array

    pd: perfectly simple and simply perfect
  27. Unwanted duplications in a nested JSON array

    I壇 appreciate some help with my JSON arrays. This is a complex array (medicalEvent) within a webservice request (claim), with the primary array having a secondary array named (services).

    The...
  28. Replies
    0
    Views
    239

    Feeding data to a complex JSON array -

    Dear Friends,

    I知 now moving to adding data to my JSON arrays, and just want to check I am doing it by the most efficient method, as I have not worked with these previously.

    My data are in a...
  29. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    Ah, I've got it, runs perfectly, thank you!
  30. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    tg, what syntax do you use, I can't see a way to set .payeeProvider to nothing as conditional - so in my project, .payeeProvider as a class has only one property (.providerNumber = payeeprov), with...
  31. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    Excellent, thank you tg.

    Bear
  32. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    Thanks tg, I値l ask them.

    Ok, so if I知 reading you, in my example above, where the child is defined as nothing, I壇 also need to define the parent (Payeeprovider) as nothing as well? If not how...
  33. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    Nice idea pd, but unfortunately its a private api. I値l see if they have a swagger but I doubt it, nothing on the developer website (which is private).

    I managed to complete a successful test run...
  34. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    Well done JMc, Microsoft describes it in their online documentation at

    https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-converters-how-to?pivots=dotnet-6-0

    But...
  35. Replies
    14
    Views
    760

    Re: Serialisation of a Null value CLASS

    I thought that might be the case, as I found no solutions anywhere, its just clumsy in coding, but will have to do that...
  36. Replies
    14
    Views
    760

    Serialisation of a Null value CLASS

    I am trying to find a way to remove a class which has a single property which is null. The Newtonsoft.Json NullValueHandling.Ignore setting removes Null properties completely during serialisation,...
  37. Thread: Arrays for JSON

    by Bear89
    Replies
    37
    Views
    1,963

    Re: Arrays for JSON

    Thanks mmx, I'm definitely a low level coder, but yes, it is starting to take shape and I appreciate your input. Once I have it all working I will port the final code in case it helps anyone else....
  38. Thread: Arrays for JSON

    by Bear89
    Replies
    37
    Views
    1,963

    Re: Arrays for JSON

    Thanks for the suggestion mmx, I did consider a jagged array earlier, but with help from wise members of the forum we have gone with collections as they still deliver an array and, as in the posts...
  39. Thread: Arrays for JSON

    by Bear89
    Replies
    37
    Views
    1,963

    Re: Arrays for JSON

    Ah yes, I get it - thats what the error is telling me.

    You have been so patient with me - diolch yn fawr iawn!
  40. Thread: Arrays for JSON

    by Bear89
    Replies
    37
    Views
    1,963

    Re: Arrays for JSON

    Not sure I quite understand, can you give me a quick example?
Results 1 to 40 of 101
Page 1 of 3 1 2 3



Click Here to Expand Forum to Full Width