Click here to Skip to main content
12,552,909 members (57,768 online)
Rate this:
Please Sign up or sign in to vote.
See more: C#
Hello guys

Execute queries in c#

I was wondering how it's going . I mean , what if I wanted to use query when the program already connected to sql

for example

UPDATE [dbo].[_RefObjCommon]
SET Service = 1
WHERE CodeName128 like '%ITEM_EU%'
Posted 8-Feb-13 1:46am
Manfred R. Bihy 8-Feb-13 7:50am
It's going well, but you'll have to try it though. Where's the problem? Is your google foo that bad?
Marcus Kramer 8-Feb-13 10:01am
Good to know that things are well with you Manfred. :)
Manfred R. Bihy 8-Feb-13 11:32am
Well, it's seems to be going well with me. About OP I'm not so sure.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Same query will work. I don't see any problem in it.
Phoenix1337 8-Feb-13 8:55am
And how to insert it :|

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.161021.1 | Last Updated 8 Feb 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100