473,396 Members | 1,861 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,396 software developers and data experts.

Data access from vb.net

Hi

Where to begin? Well, we have been using index
sequential files in cobol and would like to move away
from them to relational databases. Where is the best
place to start? We want to be able to read single and
multiple records, write, delete and update records. We
want to be able to read the data into entry boxes on
forms so it can then be viewed and amended.

There seems to be so many different ways of doing things
so wonder if anyone can offer any advice.

Many Thanks,

Duncan
Nov 20 '05 #1
3 1631
try to work with the following objects

dataset, datatable, dataview, dataadapter..
for database operations: executenonquery, executereader, connection to
database...
databinding with datagrid, combobox, textbox, ...

this will help you to start your work

Rajesh Patel
"Duncan James" <an*******@discussions.microsoft.com> wrote in message
news:0b****************************@phx.gbl...
Hi

Where to begin? Well, we have been using index
sequential files in cobol and would like to move away
from them to relational databases. Where is the best
place to start? We want to be able to read single and
multiple records, write, delete and update records. We
want to be able to read the data into entry boxes on
forms so it can then be viewed and amended.

There seems to be so many different ways of doing things
so wonder if anyone can offer any advice.

Many Thanks,

Duncan

Nov 20 '05 #2
Cor
Hi Duncan,

That is a long road to go.

But basicly a relational database is nothing more than a lot of index
sequential files named tables (and sometimes they even do not have an
index).

You can in vb.net access that in a sequential way (streaming way) or in a
way that you Select conditional a whole set of records or relational records
(a dataset) in one time using the dataadapter.

To do that, just take a look at de resource kit. There are a lot of
examples.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And have than special first a look at Data Access.

I hope this helps you on the route?

And for this is a very good and active newsgroup.

microsoft.public.dotnet.framework.adonet

Cor
Where to begin? Well, we have been using index
sequential files in cobol and would like to move away
from them to relational databases. Where is the best
place to start? We want to be able to read single and
multiple records, write, delete and update records. We
want to be able to read the data into entry boxes on
forms so it can then be viewed and amended.

There seems to be so many different ways of doing things
so wonder if anyone can offer any advice.

Nov 20 '05 #3
Hi Cor

Thank you very much for your help. I'll download the
resource kit and hopefully that should get me started.

Kind Regards

Duncan

-----Original Message-----
Hi Duncan,

That is a long road to go.

But basicly a relational database is nothing more than a lot of indexsequential files named tables (and sometimes they even do not have anindex).

You can in vb.net access that in a sequential way (streaming way) or in away that you Select conditional a whole set of records or relational records(a dataset) in one time using the dataadapter.

To do that, just take a look at de resource kit. There are a lot ofexamples.

http://msdn.microsoft.com/vbasic/vbrkit/default.aspx

And have than special first a look at Data Access.

I hope this helps you on the route?

And for this is a very good and active newsgroup.

microsoft.public.dotnet.framework.adonet

Cor
Where to begin? Well, we have been using index
sequential files in cobol and would like to move away
from them to relational databases. Where is the best
place to start? We want to be able to read single and
multiple records, write, delete and update records. We
want to be able to read the data into entry boxes on
forms so it can then be viewed and amended.

There seems to be so many different ways of doing things so wonder if anyone can offer any advice.

.

Nov 20 '05 #4

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

Similar topics

10
by: sffan | last post by:
I am new to database programming and was curious how others solve the problem of storing encrypted in data in db table columns and then subsequently searching for these records. The particular...
6
by: Hamed | last post by:
Hello I have employed as a developer in a software company that its team uses FoxPro / VB 6.0 / VC++ 6.0 as the developing tools and newly is going to migrate to VS.NET. There is a project...
0
by: sedefo | last post by:
I ran into this Microsoft Patterns & Practices Enterprise Library while i was researching how i can write a database independent data access layer. In my company we already use Data Access...
32
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being...
1
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
9
by: Tony Lee | last post by:
Some time a ago, on this newsgroup the following comments were made in recommending good references for Access (2003) >I used to recommend Dr. Rick Dobson's, "Programming Access <version>" for...
3
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no...
1
by: Johann Blake | last post by:
I am looking for a good solution on how to implement data access in an application so that there is a clean separation between the data access layer, the business layer and the GUI layer. I am...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.