.NETGURU
Select Statement Help
Messages   Related Types
This message was discovered on ASPFriends.com 'ngfx-sqlclient' list.


Biplab De
-- Moved from [ngfx-io] to [ngfx-sqlclient] by Victor Von Doom <Click here to reveal e-mail address> --

Hey All,

How 2 get a single record from a select statement which will produce 100 of records in output using T-SQL. I want a 10th record from that output.

Thanking U.

Biplab

_____________________________________________________________
Washington DC's Largest FREE Email service. ---> http://www.DCemail.com ---> A Washington Online Community Member --->
http://www.DCpages.com

_____________________________________________________________
Promote your group and strengthen ties to your members with Click here to reveal e-mail address by Everyone.net http://www.everyone.net/?btn=tag

Reply to this message...
 
    
Wally McClure
Something like the following should work in c#. Assuming that you have your
dataset, you can get the datatable and the datarow underneath that dataset.

//DataRow drData;
//dsData is your dataset
//dtData is your datatable
dtData = dsData["table name"];

drData = dtData.Rows[9];
// -- or --
drData = dsData.Tables["table name"].Rows[9];

Wally

----- Original Message -----
From: "Biplab De" <Click here to reveal e-mail address>
To: "ngfx-sqlclient" <Click here to reveal e-mail address>
Sent: Monday, August 19, 2002 5:55 AM
Subject: [ngfx-sqlclient] Select Statement Help

> -- Moved from [ngfx-io] to [ngfx-sqlclient] by Victor Von Doom
<Click here to reveal e-mail address> --
[Original message clipped]

Reply to this message...
 
 
System.Data.DataRow




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification