Click here to Skip to main content
15,499,723 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Baran M16-Apr-09 20:44
MemberBaran M16-Apr-09 20:44 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Yusuf15-Apr-09 14:09
MemberYusuf15-Apr-09 14:09 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1015-Apr-09 21:38
MemberWarp-1015-Apr-09 21:38 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Gaurav Mahajan16-Apr-09 2:19
MemberGaurav Mahajan16-Apr-09 2:19 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Armandt__16-Apr-09 3:07
MemberArmandt__16-Apr-09 3:07 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1016-Apr-09 6:47
MemberWarp-1016-Apr-09 6:47 
QuestionUser Control fires event - page and all other user controls subscribe to event Pin
Leftyfarrell15-Apr-09 6:47
MemberLeftyfarrell15-Apr-09 6:47 
Questionproper use of repeater control question Pin
icewolf_snowfire15-Apr-09 6:02
Membericewolf_snowfire15-Apr-09 6:02 
Hi,
I'm hoping you guys can help me with a question.
I've been reviewing someone else's code, and I found that in some places where they are using a repeater to display data from a database, in places where the Database query will only ever return 1 row of data. They are returning a reader, loading a datatable with the reader data, and binding that datatable to a repeater.

now am I nutz, or is that extremely inefficient?
it's always been my practice to take the reader, check for rows, and then set individual controls (like literals) to the fields directly.

the only reason I can think of to do this, is that if for some reason there isn't any data, the repeater won't display anything. however I've always handled this by wrapping the results in a div, and setting the div's visibility property to false if there is no data returned.

please let me know your opinion.
thank you
AnswerRe: proper use of repeater control question Pin
ToddHileHoffer15-Apr-09 9:37
MemberToddHileHoffer15-Apr-09 9:37 
GeneralRe: proper use of repeater control question Pin
icewolf_snowfire15-Apr-09 10:23
Membericewolf_snowfire15-Apr-09 10:23 
GeneralRe: proper use of repeater control question Pin
ToddHileHoffer15-Apr-09 10:56
MemberToddHileHoffer15-Apr-09 10:56 
QuestionShare session between soap clients Pin
Vozzie215-Apr-09 3:01
MemberVozzie215-Apr-09 3:01 
AnswerRe: Share session between soap clients Pin
Yusuf15-Apr-09 5:06
MemberYusuf15-Apr-09 5:06 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 12:57
MemberVozzie215-Apr-09 12:57 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 13:12
MemberVozzie215-Apr-09 13:12 
Questionpaging in GRidView when I bind it with an object Pin
indian14315-Apr-09 2:42
Memberindian14315-Apr-09 2:42 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 3:49
professionalVimalsoft(Pty) Ltd15-Apr-09 3:49 
GeneralRe: paging in GRidView when I bind it with an object Pin
Ian McCaul15-Apr-09 4:50
MemberIan McCaul15-Apr-09 4:50 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 5:04
professionalVimalsoft(Pty) Ltd15-Apr-09 5:04 
GeneralRe: paging in GRidView when I bind it with an object Pin
indian14315-Apr-09 8:40
Memberindian14315-Apr-09 8:40 
GeneralRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 20:57
professionalVimalsoft(Pty) Ltd15-Apr-09 20:57 
Questionwebfarm with state server session mode Pin
tejesh12315-Apr-09 1:39
Membertejesh12315-Apr-09 1:39 
AnswerRe: webfarm with state server session mode Pin
Colin Angus Mackay15-Apr-09 1:48
MemberColin Angus Mackay15-Apr-09 1:48 
GeneralRe: webfarm with state server session mode Pin
tejesh12315-Apr-09 2:44
Membertejesh12315-Apr-09 2:44 
GeneralRe: webfarm with state server session mode Pin
Yusuf15-Apr-09 5:11
MemberYusuf15-Apr-09 5:11 

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.