Click here to Skip to main content
15,890,512 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionInsert excell data into SQL server Pin
Morgs Morgan30-Apr-10 1:09
Morgs Morgan30-Apr-10 1:09 
AnswerRe: Insert excell data into SQL server Pin
Peace ON30-Apr-10 2:09
Peace ON30-Apr-10 2:09 
QuestionBrowser compability Problem Pin
lrsalunkhe30-Apr-10 0:26
lrsalunkhe30-Apr-10 0:26 
AnswerRe: Browser compability Problem Pin
Simon_Whale30-Apr-10 1:17
Simon_Whale30-Apr-10 1:17 
QuestionTo Open Save Dialog box using javascript Pin
priyagee29-Apr-10 22:26
priyagee29-Apr-10 22:26 
AnswerRe: To Open Save Dialog box using javascript Pin
Peace ON30-Apr-10 20:04
Peace ON30-Apr-10 20:04 
Questiongridview Pin
Kissy1629-Apr-10 22:02
Kissy1629-Apr-10 22:02 
AnswerRe: gridview Pin
Abhishek Sur29-Apr-10 23:57
professionalAbhishek Sur29-Apr-10 23:57 
I dont know why do you need to use DataReader.

Of course you can do that, just need a counter while you read each datarow from the datareader.

Otherwise, I would suggest to get a DataTable from the sqlStatement and use LINQ or by any means to filter out those rows.

datatable.AsEnumerable().Where(datarow=>{ 
 // your logic 
});


Something like this . Thumbs Up | :thumbsup:
Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
Visit My Website-->


www.abhisheksur.com

AnswerRe: gridview Pin
Anurag Gandhi30-Apr-10 0:01
professionalAnurag Gandhi30-Apr-10 0:01 
GeneralRe: gridview Pin
Kissy1630-Apr-10 1:26
Kissy1630-Apr-10 1:26 
GeneralRe: gridview Pin
Brij30-Apr-10 1:39
mentorBrij30-Apr-10 1:39 
GeneralRe: gridview Pin
Abhijit Jana30-Apr-10 9:39
professionalAbhijit Jana30-Apr-10 9:39 
AnswerRe: gridview Pin
overtech0630-Apr-10 7:09
overtech0630-Apr-10 7:09 
GeneralRe: gridview Pin
Kissy1630-Apr-10 19:50
Kissy1630-Apr-10 19:50 
GeneralRe: gridview Pin
overtech061-May-10 5:33
overtech061-May-10 5:33 
AnswerRe: gridview Pin
Amit Patel198530-Apr-10 19:07
Amit Patel198530-Apr-10 19:07 
GeneralRe: gridview Pin
Kissy1630-Apr-10 19:42
Kissy1630-Apr-10 19:42 
QuestionHow to find all Created Items in a Repeater Pin
-Muc_29-Apr-10 21:29
-Muc_29-Apr-10 21:29 
AnswerRe: How to find all Created Items in a Repeater Pin
Abhishek Sur29-Apr-10 21:48
professionalAbhishek Sur29-Apr-10 21:48 
GeneralRe: How to find all Created Items in a Repeater Pin
-Muc_29-Apr-10 21:58
-Muc_29-Apr-10 21:58 
GeneralRe: How to find all Created Items in a Repeater Pin
Abhishek Sur29-Apr-10 22:01
professionalAbhishek Sur29-Apr-10 22:01 
GeneralRe: How to find all Created Items in a Repeater Pin
-Muc_29-Apr-10 22:27
-Muc_29-Apr-10 22:27 
GeneralRe: How to find all Created Items in a Repeater Pin
Abhishek Sur30-Apr-10 0:00
professionalAbhishek Sur30-Apr-10 0:00 
GeneralRe: How to find all Created Items in a Repeater Pin
-Muc_30-Apr-10 0:23
-Muc_30-Apr-10 0:23 
GeneralRe: How to find all Created Items in a Repeater Pin
-Muc_30-Apr-10 4:28
-Muc_30-Apr-10 4:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.