Solution to “System.Data.InvalidConstraintException: ForeignKeyConstraint” error
- Read more about Solution to “System.Data.InvalidConstraintException: ForeignKeyConstraint” error
- Log in or register to post comments
- 87 views
Sometimes we need to store some data or files under %appdata%. If you are using Windows 7 you can find this folder under C:\Users\Username\AppData.
AppData is a folder used to store information like cookies, Libraries, program settings, temporary files, templates, etc.
By using this folder you are certain that your settings are being protected by Windows.
To access this folder, all you have to do is use the following code:
In my previous tutorial using DataGridView Control I explained on “How to Differentiate Two Cell Values in DataGridView Control”. This time I will teach you on how to calculate two columns in DataGridView Control.
This tutorial is very useful if you want to make a total of the two columns. For example a total of “Qty” and “Sales Price” Column.
Additionally, we will make a total of the “Amount” column.
This tutorial will teach you on how to create reports in Visual Basic .NET 2008 using Crystal Reports. This is a step by step guide on how I create the report on "Weekly Sales Report using Crystal Reports".
This guide is not intended for advance user. So please don't react if you find a basic explanation on this tutorial.
This assumes that you have already attached the database that is included in the zip file of "Weekly Sales Report ".
One of the problems that a beginner encounter when there is a project uploaded here, is they do not know on how to change the connection string that points to the correct database location. This is true with MS Access and even with SQL Server. Some programmers don’t add a code that will automatically change the location of the database just in case it will be ported in other machine.
Now that you have added all the necessary forms to your project and a menu system, let us now add a login form. This will ensure that only the person that has the account information can login to your system.