473,407 Members | 2,546 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,407 software developers and data experts.

CommandType.StoredProcedure - where defined ?

what using . . . . statement do I need to get this value
(CommandType.StoredProcedure) defined ?

even when I have defined the using statements:

using System;
using System.Data.SqlClient;
using System.Data.Common;
using System.Data.OleDb;
using System.Data.SqlTypes;

I still get a compilation error message:

The type or namespace name 'CommandType' could not be found (are you missing
a using directive or an assembly reference?)

thanks,

peteZ
Nov 15 '05 #1
2 10308
using System.Data;
"PeteZ" <pe***@aol.com> wrote in message
news:Ou**************@TK2MSFTNGP11.phx.gbl...
what using . . . . statement do I need to get this value
(CommandType.StoredProcedure) defined ?

even when I have defined the using statements:

using System;
using System.Data.SqlClient;
using System.Data.Common;
using System.Data.OleDb;
using System.Data.SqlTypes;

I still get a compilation error message:

The type or namespace name 'CommandType' could not be found (are you missing a using directive or an assembly reference?)

thanks,

peteZ

Nov 15 '05 #2
doh !

(thanks)
"Daniel O'Connell" <on******@comcast.net> wrote in message
news:aQR3b.300908$YN5.206546@sccrnsc01...
using System.Data;
"PeteZ" <pe***@aol.com> wrote in message
news:Ou**************@TK2MSFTNGP11.phx.gbl...
what using . . . . statement do I need to get this value
(CommandType.StoredProcedure) defined ?

even when I have defined the using statements:

using System;
using System.Data.SqlClient;
using System.Data.Common;
using System.Data.OleDb;
using System.Data.SqlTypes;

I still get a compilation error message:

The type or namespace name 'CommandType' could not be found (are you

missing
a using directive or an assembly reference?)

thanks,

peteZ


Nov 15 '05 #3

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

Similar topics

0
by: Amol | last post by:
Hello, I am developing an apllication in which i want to change the values of datagrid checkbox column according to parameter passed to the query. But the problem is that, at first time when i...
9
by: Frank | last post by:
Hi, imagine there's a WEB application reading data from an Oracle database to visualize in using DataGrids in the clients browser. Yes, sounds simple, just create OracleConnection + OracleCommand...
1
by: Chris | last post by:
Hi, this code is for stored procdure: comd = New SqlCommand() comd.Connection = connection comd.CommandText = "mysp" comd.CommandType = CommandType.StoredProcedure My question: i also saw...
2
by: anoopgopal007 | last post by:
Hi friends... I have one problem... I am using C#, and CrystalReport9. In my project I used StoredProcedure with one input parameter. ...
3
by: mnarewec | last post by:
I got a compile error here ! using System; using System.Data.SqlClient; using System.Data.Sql; using System.Collections.Generic; using System.Text; namespace PacSoft class clsUDC
1
by: baburk | last post by:
Hi All, We all are creating Select statement both in View and StoredProcedure In view it virtually links to tables. What is the difference. Thanks in advance
1
by: phanimadhav | last post by:
Hello friends,I have one small doubt.Acually myclient asking by using tableAdapetr call the MySQL procedures.How to call the MySQL storedprocedure in TableAdapter.In the Table adapter contain one...
2
by: Tony Johansson | last post by:
Hello! I just wonder when you use StoredProcedure will you then use DataSet ? In the example that I have seen is the DataSet not used is this normal ? //Tony
1
by: thesti | last post by:
hi, is there anyway to know whether a INSERT/UPDATE/DELETE stored procedured was executed successfully? for example, if i have the following StoredProcedure: create procedure...
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?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.