Hello,
I created a SQL DB with a single table using C# 2005 Express and SQL Express, and after doing that I dragged the table to a form to create the datagrid. Up to that point everything was working fine.
The problem I have is that I can’t save information in that table by using my application, because every time that I run my project, the table appears empty.
When I publish the project, and I run the application from the .exe file, this problem disappears, and I can add data to the table via my application and the data stays in the table so I see the entered data every time I run the application.
Any idea about what is happening?
Thanks,
Carlos
I created a SQL DB with a single table using C# 2005 Express and SQL Express, and after doing that I dragged the table to a form to create the datagrid. Up to that point everything was working fine.
The problem I have is that I can’t save information in that table by using my application, because every time that I run my project, the table appears empty.
When I publish the project, and I run the application from the .exe file, this problem disappears, and I can add data to the table via my application and the data stays in the table so I see the entered data every time I run the application.
Any idea about what is happening?
Thanks,
Carlos