Click here to Skip to main content
16,004,887 members
Home / Discussions / C#
   

C#

 
GeneralRe: DateTime NULL Pin
RedPhoenix.net1-Nov-07 8:08
RedPhoenix.net1-Nov-07 8:08 
AnswerRe: DateTime NULL Pin
Pete O'Hanlon1-Nov-07 11:41
mvePete O'Hanlon1-Nov-07 11:41 
QuestionA beginners question Pin
NewToAspDotNet1-Nov-07 5:01
NewToAspDotNet1-Nov-07 5:01 
AnswerRe: A beginners question Pin
duncanmhor1-Nov-07 5:30
duncanmhor1-Nov-07 5:30 
GeneralRe: A beginners question Pin
NewToAspDotNet1-Nov-07 6:46
NewToAspDotNet1-Nov-07 6:46 
GeneralRe: A beginners question Pin
led mike1-Nov-07 7:55
led mike1-Nov-07 7:55 
GeneralRe: A beginners question Pin
RedPhoenix.net1-Nov-07 8:05
RedPhoenix.net1-Nov-07 8:05 
AnswerRe: A beginners question Pin
Guffa1-Nov-07 8:30
Guffa1-Nov-07 8:30 
Djavid j wrote:
the problem is that we don't use stored procedres in this project. so i have to use the iteration.


No, you don't have to do that, and you should not do that.

You should always strive (within reasonable limits of course) to minimise the amount of data that you fetch from the database. Any data that you can elliminate in this step is data that the database doesn't have to handle and data that your application doesn't have to handle.

Just use a query like the one duncanmhor showed in the stored procedure. It will return a result with only the rows that you are interrested in.

---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams

GeneralRe: A beginners question Pin
duncanmhor1-Nov-07 10:52
duncanmhor1-Nov-07 10:52 
GeneralRe: A beginners question Pin
NewToAspDotNet1-Nov-07 11:46
NewToAspDotNet1-Nov-07 11:46 
GeneralRe: A beginners question Pin
duncanmhor1-Nov-07 12:06
duncanmhor1-Nov-07 12:06 
GeneralRe: A beginners question Pin
Paul Conrad1-Nov-07 15:50
professionalPaul Conrad1-Nov-07 15:50 
QuestionAcces multiple components. Pin
ev00l1-Nov-07 4:45
ev00l1-Nov-07 4:45 
AnswerRe: Acces multiple components. Pin
Luc Pattyn1-Nov-07 5:23
sitebuilderLuc Pattyn1-Nov-07 5:23 
GeneralRe: Acces multiple components. Pin
ev00l1-Nov-07 6:26
ev00l1-Nov-07 6:26 
GeneralRe: Acces multiple components. Pin
Luc Pattyn1-Nov-07 7:05
sitebuilderLuc Pattyn1-Nov-07 7:05 
QuestionVS05 Pin
Gene_Sheppard1-Nov-07 4:22
Gene_Sheppard1-Nov-07 4:22 
AnswerRe: VS05 Pin
led mike1-Nov-07 5:46
led mike1-Nov-07 5:46 
GeneralRe: VS05 Pin
mav.northwind1-Nov-07 7:19
mav.northwind1-Nov-07 7:19 
GeneralRe: VS05 Pin
led mike1-Nov-07 7:52
led mike1-Nov-07 7:52 
GeneralRe: VS05 Pin
mav.northwind1-Nov-07 8:48
mav.northwind1-Nov-07 8:48 
GeneralRe: VS05 Pin
led mike2-Nov-07 5:32
led mike2-Nov-07 5:32 
GeneralRe: VS05 Pin
mav.northwind2-Nov-07 9:52
mav.northwind2-Nov-07 9:52 
GeneralRe: VS05 Pin
led mike2-Nov-07 9:58
led mike2-Nov-07 9:58 
GeneralRe: VS05 Pin
mav.northwind2-Nov-07 10:07
mav.northwind2-Nov-07 10:07 

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.