Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: ASP.NET equivalent...


Message #1 by "Sean Vaccariello" <seanv@t...> on Fri, 8 Dec 2000 17:22:10 -0000
Hello,



     I was hoping someone could help me out with a litte problem. The

below code is a regular (classic asp) do-while statement



Do While NOT objRS.EOF

     i = i + 1

Loop



I was looking for the ASP.NET equivalent, and help is appreciated.



Sean Vaccariello

Owner, TSB

www.TheSecureBox.com 

--

-

Message #2 by Richard Conway <ranger_conway@y...> on Fri, 8 Dec 2000 09:44:20 -0800 (PST)
I think you can still use ADO without using ADO+,

however, however ADO+ supports a new ADODataSetCommand

and Dataset instead of a recordset. You can now

execute a command or pipe SQL string in the same way

as before!



Also you can populate a DataSet, then you can

reference tables directly (I think you can set SQL

filters too)e.g. DataSet.Tables("Orders").DefaultView,

this can be bound to ASP+ controls like a datagrid....



<asp:DataGrid id="DataSetGrid" runat="server" />



which should give you a grid full of our table data.

There are some good tutorials about just do a search

for ADO+ or look for something on ASPToday.com.



Cheers,

Richard

--- Sean Vaccariello <seanv@t...> wrote:

> Hello,

> 

>      I was hoping someone could help me out with a

> litte problem. The

> below code is a regular (classic asp) do-while

> statement

> 

> Do While NOT objRS.EOF

>      i = i + 1

> Loop

> 

> I was looking for the ASP.NET equivalent, and help

> is appreciated.

> 

> Sean Vaccariello

> Owner, TSB

> www.TheSecureBox.com 

> --

> -

> 

Message #3 by "dave" <support@1...> on Fri, 8 Dec 2000 09:53:35 -0800
Hi Sean,

Here is the code that I use

http://www.123aspx.com/resdetail.asp?rid=297



Hope this helps,

Dave

http://www.123aspx.com

The Largest ASP.NET Directory



---------- Original Message ----------------------------------

From: "Sean Vaccariello" <seanv@t...>

Reply-To: "ASP+" <aspx@p...>

Date: Fri, 8 Dec 2000 17:22:10 -0000



>Hello,

>

>     I was hoping someone could help me out with a litte problem. The

>below code is a regular (classic asp) do-while statement

>

>Do While NOT objRS.EOF

>     i = i + 1

>Loop

>

>I was looking for the ASP.NET equivalent, and help is appreciated.

>

>Sean Vaccariello

>Owner, TSB

>www.TheSecureBox.com 

>--

>-

>


  Return to Index