🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.lang.csharp
Article #800

Re: procedury przechowywane

#800
From: Selvin
Date: Thu, 01 Apr 2004 16:28
29 lines
1398 bytes
<ciach>
....
!!!!!!!!!!!
> SqlCommand1.ExecuteNonQuery();
...
>Zostaje zwrocony TYLKO jeden rekord, a powinien zwrocic ich 200!

lol :) a co innego oczekiwales

a moze tak ??

    System.Data.SqlClient.SqlDataReader dr = SqlCommand1.ExecuteReader();
    while(dr.Read())
    {
     for(int i = 0;i <dr.FieldCount; i++)
     {
    System.Console.Write(dr[i].ToString() +", ");
     }
    System.Console.Write("\n");
    }

albo wypelnij DataSet





pozdrawiam
Przemek Sulikowski
Technical Details
Message-ID: <c4hftb$agc$1@news.onet.pl>
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!nntp.idg.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
References: <c4hbta$5dm$1@news.onet.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!nntp.idg.pl!newsfeed.gazeta.pl!news.onet.pl!not-for-mail
From: "Selvin" <selvin...@nospam_osadkowski.com.pl>
Newsgroups: alt.pl.comp.lang.csharp
Subject: Re: procedury przechowywane
Date: Thu, 1 Apr 2004 18:28:56 +0200
Organization: news.onet.pl
Lines: 31
Sender: selvin@poczta.onet.pl@217.97.163.79
Message-ID: <c4hftb$agc$1@news.onet.pl>
References: <c4hbta$5dm$1@news.onet.pl>
NNTP-Posting-Host: 217.97.163.79
X-Trace: news.onet.pl 1080836843 10764 217.97.163.79 (1 Apr 2004 16:27:23 GMT)
X-Complaints-To: ab...@onet.pl
NNTP-Posting-Date: 1 Apr 2004 16:27:23 GMT
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit