Add/Edit/Delete Using CodeIgniter
- Read more about Add/Edit/Delete Using CodeIgniter
- 18 comments
- Log in or register to post comments
- 709 views
The following is an important note in building a User Registration and Form Validation Using CodeIgniter.
Now that you’ve learned what CodeIgniter is, our next step is on how to install CodeIgniter framework on your local computer running Apache, PHP, and MySQL. You may install Wampserver to run these three applications.
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.
Few months ago I encounter a problem with my windows form bound using a DataSet. When I open the form the first time, it seems that everything is fine. But when I open it again the second time, the fields are become blank. This happens when you trigger the “PerformClick” of “BindingNavigator” under the Form Load event.
This is not actually the common mistake that I encounter. But maybe, you encounter this problem also if you are used with VB 6.0 before.
Here’s the code to open the windows form the correct way:
One of the challenging parts in VB.NET is to change the connection string of your database location when you run your application.
This tutorial will help you solve this problem. This will apply only to SQL Server but it can be also modified easily to work with MS Access and other DBMS.
In my case I initialize this on the Form Load event on my Login form.
In my previous tutorial I discuss on “How to Create Database in SQL Server 2005 Express Edition”. This time you will learn how to add a table in your “LibSys” database using SQL Server Management Studio.
Since LibSys database may contain several tables, I will only teach you to create at least one table and the rest will be done by executing a script.
In this tutorial I will teach you on how to create a Windows Application using Visual Basic .NET 2008. For the sake of this tutorial I will be using Library System as the system model.
I came up with this idea in the hope to help beginner who wish to learn Visual Basic .NET the EASY WAY. I know there are a lot of tutorials out there but they focus on different things. Unlike this tutorial I will create an actual application which will guide you up to the end of this article.