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

full blown SQL command

I ask this question before but maybe I didn't work it correctly. What I want
to do is run a full blown sql statement against a dataset (ADO.NET). How do
I do this

(for example, running the INSERT .... INTO statement).

Thanks

Adam
Nov 21 '05 #1
3 1163

"Adam Clark" <ad********@lhpsoftware.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
I ask this question before but maybe I didn't work it correctly. What I want to do is run a full blown sql statement against a dataset (ADO.NET). How do I do this

(for example, running the INSERT .... INTO statement).


You can't run SQL against a DataSet. You must manipulate the rows
one-by-one.
Nov 21 '05 #2
the short answer is you cannot

ADO.NET does not have query processor

However, MS has written some helper classes they may do some of what you
need

http://support.microsoft.com/default...en-us;325683#3

The link to all available helper class seems to be broken.

try searching MSDN for "DataSetHelper", that should bring up the gamut.

HTH,
Greg

"Adam Clark" <ad********@lhpsoftware.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
I ask this question before but maybe I didn't work it correctly. What I want to do is run a full blown sql statement against a dataset (ADO.NET). How do I do this

(for example, running the INSERT .... INTO statement).

Thanks

Adam

Nov 21 '05 #3
use the oledbconnection object and dataadapter

"Adam Clark" <ad********@lhpsoftware.com> wrote in message
news:eS**************@TK2MSFTNGP11.phx.gbl...
I ask this question before but maybe I didn't work it correctly. What I want to do is run a full blown sql statement against a dataset (ADO.NET). How do I do this

(for example, running the INSERT .... INTO statement).

Thanks

Adam

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 7/30/2004
Nov 21 '05 #4

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

Similar topics

15
by: (Pete Cresswell) | last post by:
I've got a .BAT file that I use for executing various MS Access apps that I wrote way back in the days of 2.0. It's evolved over time, but it still contains a number of possible paths to...
6
by: Tony Liu | last post by:
Hi, when switched to the full screen mode in VS.NET IDE, is there any way to hide the main menu bar? Thanks Tony
6
by: JohnR | last post by:
I have a table with 1 row which is used to hold some application wide items (one item per field, hence I only need 1 row). I want to bind one of the fields to a textbox. After setting up the...
2
by: Zeya | last post by:
I have an application where I am required to run a full text query. My database is MySQL and code in C#. The way all queries are SELECT * FROM table WHERE firstname = ? and using command...
1
by: linuxnooby | last post by:
Hi I am trying to write a python script to run on windows xp that will have a full screen gui. The script has a function that creates a full screen (hides task bar) top level window using...
1
by: jrs_14618 | last post by:
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT Indexing and Search Arabic Data, Unicode I was...
5
by: King | last post by:
Hi I have created a database where I made the forms appear full screen through courtesy of this group. But I have a problem when I click a command button for a report or a query. How do I make a...
6
by: ajays | last post by:
I want to get the full computer name using the ActiveState Perl on windows . Actually i can get that using the "hostname" command, but i want to have the output of the "hostname" command stored in...
1
by: myheartinamerica | last post by:
Hello, I need to run a particular graphics application over and over again with a different command line to get benchmarks on the applications performance (frame rates and similar data). I am...
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: 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: 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...
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
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
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...

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.