473,385 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Simple database - what's the easiest way to implement?

Hi all,

Im in the process of writing a simple application. I have a form which
has on it five text boxes.

I would like to store information that is entered into these text boxes
in a small database. My question is what is the simplest most effective
way of doing this?

I've heard over the past month or so in my reading ADO, SQL and various
other words / technologies but am confused. To start with I just want
to know the best way to add some database functionality to my app. The
database will be small. It will have about five records added to it per
day. The application will be used by four employee's and hence the
database will need to be multi-user.

Thankyou for reading my explanation, I have two questions now.

1. What database format should I use?

2. How do I add functionality to my small app to support this database?
i.e. Please list a couple of the steps that i'd need to take to get
this started.
And please also tell me how I tell my controls to store there
value in this database.

Many thanks, your help is invaluable!

Gary.

Mar 27 '06 #1
5 2398
No replies to this yet... Can someone have a go please?

Mar 28 '06 #2
I'll have a go. I believe that VS (and Express versions) can create mdb
(MS Access) files for you and you can use them directly wth VS (but I
don't think it has very good multiuser support - but you can get around
this by using datasets). So that would be a good free way to do it.
Another popular free option is MySQL, but for only four people it
sounds like overkill.

To use an mdb file simply include it in your project, add a connection
(OleDb) and create the queries you need. You would for example need a
query to get data out of the db and another to put some data in and a
third to update data.

Your controls do not need to be aware that there is a database. The db
communication can be done when a button is pushed (unless you want two
way data connectivity) using the db connection and the queries.

Your question is quite open ended, but I hope this gets you on your way.

Mar 28 '06 #3
Thankyou jacob. Eventually there may be fifteen users using the app. I
have Visual Studio Professional and MS SQL Server (but only have a
client licence for that). Is there a more effective way that I should
be using those two together? Or should I stick with an MDB file? Is SQL
server a 'server program' i.e. it sits on a fileserver or am I
misunderstanding the terminology?

Thanks,
Gary.

Mar 28 '06 #4
I had forgotten about SQL Server Express (free) which sounds like what
you need. It's a server software that sits on you db 'server' (in fact
any accessible network computer) and holds your databases. Like mdb
files it is directly integrated in VS. Your app sends its queries to
the db server and this in turn sends you the results.

What the best way to communicate with the db is depends on how the
users use the data. Are there frequent updates? Frequent lookup? Does
data need to be shared real-time?

Mar 28 '06 #5
Thankyou Jacob for your continued help.

It's a simple application. We use Act! here. And the application is a
front end for adding new contacts to Act! - using the Act! Api.
The act side of things i've now sorted. And can read data and write
data to the act database without any problems. So the primary function
of the app is that on a daily basis when a lead calls into the office,
the app is launched, key details entered - and then the act database is
updated with these new lead details.

Can you take a quick look at the front end it'll help you understand
the apps function
http://www.strident.net/appfrontend.jpg

Basically, all i want to be able to do is remember past leads that have
been entered via this app, so that when a caller name is being entered,
the app has a kind of intellisense predicting the name of the caller
from it's history of caller names - this function is designed to alert
us if a lead is being entered that we have already been in touch with
in the past. So my idea was that i'd run a seperate small app database
for remembering this infomation.

Secondly you will see the salesman label, and the next salesman button.
The app needs to look at a list of six salesman and allocate one to
each lead as it comes in. It will decide which salesman to give a lead
to by looking at a table of salesman and figuring out who is due a lead
next in the cycle.

I hope now you can see why I need a database, and have a better
understanding of my apps use.

Mar 28 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chris | last post by:
Here's the situation: I work at a scientific institution and I have a portable electronic device which is used to take measurements. The device produces a very small amount of numerical data,...
5
by: Kevin | last post by:
Can anyone recommend the easiest way to get a full copy of a database from one server to another. The servers are not part of the same organization or network. I have received a backup of the...
4
by: Pecanfan | last post by:
I've got quite a large database which is totally form-driven at the moment. I now need to allow multiple users access to various parts of it and, frankly, I'm not prepared waste my time with...
10
by: GeekBoy | last post by:
Okay, I have two identical web servers running Windows 2003 web server. I have an ASP.NET application which runs great on one of them. Dedicated IP address, behind our firewall, etc. Everyone's...
10
by: Andrew | last post by:
Sorry about this but I'm new to ADO.NET (finally coming from simple ADO, bless it) and I'm trying to create a simple three tier program. Ie, User interface Layer / Business object layer / Database...
3
by: DC | last post by:
Hi, I have the requirement to build a control that will read its template from a database. (I call all the stuff one would normally place between the start and end tag of a placeholder in a...
4
by: coldpizza | last post by:
Hi, I want to run a database query and then display the first 10 records on a web page. Then I want to be able to click the 'Next' link on the page to show the next 10 records, and so on. My...
4
by: gnewsgroup | last post by:
I have a membership web application. A user is either an administrator or a regular user (only 2 roles) I have an admin folder in this application. I want only administrators to be able to...
41
by: sukatoa | last post by:
This is for my friend. He is a HRM student and was assigned to demo on how to operate a Simple Hotel front-desk system. I've searched on the net to help him, but all of those freeware softwares...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.