Search results for query: *

  1. L

    automatically updating database values

    How would one have something that ran by itself unattended so that every month the staff's leave could have the allocated days added to there total leave
  2. L

    automatically updating database values

    Thanks for your reply but to do these updates unattended often with the app not running, I would think maybe stored procedures may be the best way to go. Appreciate your feedback.
  3. L

    automatically updating database values

    Hi everyone. I am writing a small leave app for a friend. I have done most of it but I would like the accrued days to automatically increase with the allocated days per month and the database table to be updated. would this automation be done via the app or as a stored procedure in SQL Server...
  4. L

    read from one table and insert in another

    Thanks for the advice on SqlDataAdapter. I have used it in other parts of my app so I will look into that. I don't have one table per student. I have a students table that lists all the students personal details and they are assigned a student number. I then have a table that lists all the...
  5. L

    read from one table and insert in another

    Hi I am busy with my student app where one subject consists of one or more modules. I have a database table that groups modules by the subjects that they belong to so when a student is added and they are registered for a subject it should add all the modules for that subject to their profile. I...
  6. L

    making combobox selection from a database

    Hi, I have made some changes. What I am trying to accomplish is the following: I have a page that adds a student and certain values are selected via the combo boxes and that gets inserted into the database and that all works fine. Then when the student is being edited then I want the combo box...
  7. L

    making combobox selection from a database

    I have made some changes I retrieve the student data from the database with the following code and then populate the drop down box from the database. As stated earlier I would like the combo box to default to the value that is stored in the database. private void populateStudentData() {...
  8. L

    making combobox selection from a database

    Thank you for your input. I will go through it. This is how we learn. we make corrections and post when completed
  9. L

    making combobox selection from a database

    Thank you, will make changes. What is the best method for dynamically populating comboboxes
  10. L

    making combobox selection from a database

    Thank you. I am not using binding. I am still new to this. A friend of mine runs a theological college and I am trying to give them a pro bono solution for now with my limited knowledge. I will take it on as a projects to learn from in the future. I did PHP development but took a liking to C#...
  11. L

    making combobox selection from a database

    Hi I have an app where students are inputed and stored in a database table. Certain combobox selections are made and stored in the table. Is is possible when later editing the student that those selections are automatically selected in the combobox. I am using wpf which I am very new to along...
  12. L

    Resolved datagrid selection available in another page

    Hi All, thank you I came right, created another class constructor after a bit of research. Have a great weekend
  13. L

    Resolved datagrid selection available in another page

    Morning all. I have a datagrid that selects records from a database. If a record is double clicked then it opens a page with that record so that it can be updated. I have made it that the student number gets selected because this is a unique field. I have got that all working, what I am battling...
  14. L

    Comparisons

    Will do, thanks for your assistance
  15. L

    Comparisons

    I have set the breakpoint and genderString is "F" and genderSegmentInt is 5001 but it skips teh entire block. I just wanted to know if my syntax was correct. I will troubleshoot some more
  16. L

    Comparisons

    Thanks. I have done message boxes just as quick test and it all seems to be OK, which is why I am confused but I will do breakpoints now
  17. L

    Comparisons

    Hi I am trying to do a comparison that is confusing me I start by extracting the portion of the ID number that pertains to gender. 0001 - 4999 is female, and 5000 - 9999 is male. I then see what the gender is that is being selected and I compare it In my tests I use the gender portion to be 5001...
  18. L

    Answered Only one word in a text box

    Thanks a million, much appreciated
  19. L

    Answered Only one word in a text box

    I wrote the app a while ago using winforms for a college as a freebie as a training exercise for me. I then studies a bit on OOP and then redid it as WPF again as a project for me to learn on. It will get revised frequently as my knowledge grows. As I become more proficient it will be revised
  20. L

    Answered Only one word in a text box

    No, I am not. Is there an event to check for when I am exiting a control and moving onto another one
Back
Top Bottom