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
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.
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...
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...
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...
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...
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()
{...
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#...
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...
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...
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
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...
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
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.