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

SIMPLE Data Access

Hi All,

As an ex VB6 developer I find ADO.Net has go HORRIBLY complex.

I don't want disconnected recordsets, I just want to run a query on an
Access DB(SELECT ID FROM Blah WHERE...) to see if the record exists. How do I
do this AS SIMPLY AS POSSIBLE?
Nov 21 '05 #1
2 850
Use execute scalar and check the return value. Also, I suggest you get
"Database Programming with Visual Basic.Net" from APress. It is a great
book for learning ADO.NET.

"Noggin The Nog" <No**********@discussions.microsoft.com> wrote in message
news:82**********************************@microsof t.com...
Hi All,

As an ex VB6 developer I find ADO.Net has go HORRIBLY complex.

I don't want disconnected recordsets, I just want to run a query on an
Access DB(SELECT ID FROM Blah WHERE...) to see if the record exists. How
do I
do this AS SIMPLY AS POSSIBLE?

Nov 21 '05 #2
Thanks Cecil.

I've been messing around with ADO.Net for ages! I'd got VB6 data access
completely sussed, now I've got to re-learn everything!

With all this extra power comes a massive learning curve. Somebody needs to
explain to Microsoft that every time they change something we all have to
invest hours / days / weeks relearning. The upshot is applications are taking
longer than ever to create.

Thanks again, I'll go on an ADO.Net course I think!
"Cecil Martin" wrote:
Use execute scalar and check the return value. Also, I suggest you get
"Database Programming with Visual Basic.Net" from APress. It is a great
book for learning ADO.NET.

"Noggin The Nog" <No**********@discussions.microsoft.com> wrote in message
news:82**********************************@microsof t.com...
Hi All,

As an ex VB6 developer I find ADO.Net has go HORRIBLY complex.

I don't want disconnected recordsets, I just want to run a query on an
Access DB(SELECT ID FROM Blah WHERE...) to see if the record exists. How
do I
do this AS SIMPLY AS POSSIBLE?


Nov 21 '05 #3

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

Similar topics

0
by: Mick Hardy | last post by:
Hi, Has anyone seen this weird behaviour or have any suggestions or can anyone reproduce it? The history: I converted a large third party DB from 97 to XP and it uses the...
7
by: Sam | last post by:
I have a Microsoft Access report which I have automated using C#. When the report opens (via DoCmd.OpenReport) I am confronted with several prompts for parameters (example: "Please enter today'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...
1
by: jack | last post by:
Hi all, I am working on perl..and am using XML::Simple to parse a xml document. I've been trying to retrieve character data from tags whose occurance is recursive.. The scenario can be better...
4
by: aaronfude | last post by:
Hi, Please consider the following class (it's not really my class, but it's a good example for my question): class Vector { int myN; double *myX; Vector(int n) : myN(n), myX(new double) { }...
2
by: tonytony24 | last post by:
Hi All: I was wondering if there's a simple way to call a MS Access Module through either Command Prompt MS Script any other way... Thanks for the response.
0
by: minnie | last post by:
An AJAX Simple Example for PHP Article from http://www.joyistar.com Introduction: AJAX WebShop 3 Beta2 supports PHP programming by integrating PHP5 development environment. Here we will give an...
4
by: =?Utf-8?B?R3JlZw==?= | last post by:
My background is in MS Access and I am in the process of migrating my skillsets to Visual Basic.Net. So far I am able to display data in DataGridViews and Combo Box, etc with not problem. What I'm...
9
by: =?Utf-8?B?S2VsbHk=?= | last post by:
I am from classic asp and learning asp.net. In the past, once I have a recordset retrieved, I can use it wheneve and wherever I want. For example, I know my recordset contains something like...
10
by: Phillip Taylor | last post by:
Hi guys, I'm looking to develop a simple web service in VB.NET but I'm having some trivial issues. In Visual Studio I create a web services project and change the asmx.vb file to this: Imports...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.