Hi All,

I have a connection and a table called Settings.

Now i want to execute "Select Value from settings where setting='CID'" read
this value Add One to this value and store it.
Do i need 10 lines of code to do this or did i miss some cool feature

Rob.

Re: Lots of code by Jon

Jon
Tue Sep 07 16:05:35 CDT 2004

rob willaar <r.willaar@xs4all.nl> wrote:
> I have a connection and a table called Settings.
>
> Now i want to execute "Select Value from settings where setting='CID'" read
> this value Add One to this value and store it.
> Do i need 10 lines of code to do this or did i miss some cool feature

Yes, I think it's fairly likely you need 10 lines of code. It doesn't
seem that much code to me, when you consider how much work is going on
behind the scenes.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: Lots of code by rob

rob
Thu Sep 09 00:52:41 CDT 2004

Thanks Jon

I don't mind the code as long as it's done the best way.

Cheers,

Louis

"Jon Skeet [C# MVP]" <skeet@pobox.com> schreef in bericht
news:MPG.1ba832f8783c969298b364@msnews.microsoft.com...
> rob willaar <r.willaar@xs4all.nl> wrote:
> > I have a connection and a table called Settings.
> >
> > Now i want to execute "Select Value from settings where setting='CID'"
read
> > this value Add One to this value and store it.
> > Do i need 10 lines of code to do this or did i miss some cool feature
>
> Yes, I think it's fairly likely you need 10 lines of code. It doesn't
> seem that much code to me, when you consider how much work is going on
> behind the scenes.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too