Posts by Miguel Vila • 11 points
3 posts
-
0
votes3
answers143
viewsA: C# - Know location of database file dynamically
I searched and found 2 ways to find the root directory of a WPF application. You can do it like this: System.AppDomain.CurrentDomain.BaseDirectory Or so:…
-
0
votes3
answers143
viewsA: C# - Know location of database file dynamically
Hello, the answer is simple. Make sure that this database is always present in the root directory of the project executable. So, you can use the line of code that I will show below to get the…
-
1
votes2
answers156
viewsA: I can’t get how many students approved to show up
Hello, all right?! I’ll suggest some changes to your code to make it better: You need to be more careful about how you write your code and try to keep it as clean and simple as possible by avoiding…
canswered Miguel Vila 11