Click here to Skip to main content
15,880,364 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to prevent displaying ID= in my URL querystring? Pin
pzn3xq15-Apr-09 6:00
pzn3xq15-Apr-09 6:00 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
ToddHileHoffer15-Apr-09 8:55
ToddHileHoffer15-Apr-09 8:55 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Baran M16-Apr-09 19:44
Baran M16-Apr-09 19:44 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Yusuf15-Apr-09 13:09
Yusuf15-Apr-09 13:09 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1015-Apr-09 20:38
Warp-1015-Apr-09 20:38 
AnswerRe: How to prevent displaying ID= in my URL querystring? Pin
Gaurav Mahajan16-Apr-09 1:19
Gaurav Mahajan16-Apr-09 1:19 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Armandt__16-Apr-09 2:07
Armandt__16-Apr-09 2:07 
GeneralRe: How to prevent displaying ID= in my URL querystring? Pin
Warp-1016-Apr-09 5:47
Warp-1016-Apr-09 5:47 
QuestionUser Control fires event - page and all other user controls subscribe to event Pin
Leftyfarrell15-Apr-09 5:47
Leftyfarrell15-Apr-09 5:47 
Questionproper use of repeater control question Pin
icewolf_snowfire15-Apr-09 5:02
icewolf_snowfire15-Apr-09 5: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 8:37
ToddHileHoffer15-Apr-09 8:37 
GeneralRe: proper use of repeater control question Pin
icewolf_snowfire15-Apr-09 9:23
icewolf_snowfire15-Apr-09 9:23 
GeneralRe: proper use of repeater control question Pin
ToddHileHoffer15-Apr-09 9:56
ToddHileHoffer15-Apr-09 9:56 
QuestionShare session between soap clients Pin
Vozzie215-Apr-09 2:01
Vozzie215-Apr-09 2:01 
AnswerRe: Share session between soap clients Pin
Yusuf15-Apr-09 4:06
Yusuf15-Apr-09 4:06 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 11:57
Vozzie215-Apr-09 11:57 
GeneralRe: Share session between soap clients Pin
Vozzie215-Apr-09 12:12
Vozzie215-Apr-09 12:12 
Questionpaging in GRidView when I bind it with an object Pin
indian14315-Apr-09 1:42
indian14315-Apr-09 1:42 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 2:49
professionalVimalsoft(Pty) Ltd15-Apr-09 2:49 
GeneralRe: paging in GRidView when I bind it with an object Pin
Ian McCaul15-Apr-09 3:50
Ian McCaul15-Apr-09 3:50 
AnswerRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 4:04
professionalVimalsoft(Pty) Ltd15-Apr-09 4:04 
GeneralRe: paging in GRidView when I bind it with an object Pin
indian14315-Apr-09 7:40
indian14315-Apr-09 7:40 
GeneralRe: paging in GRidView when I bind it with an object Pin
Vimalsoft(Pty) Ltd15-Apr-09 19:57
professionalVimalsoft(Pty) Ltd15-Apr-09 19:57 
Questionwebfarm with state server session mode Pin
tejesh12315-Apr-09 0:39
tejesh12315-Apr-09 0:39 
AnswerRe: webfarm with state server session mode Pin
Colin Angus Mackay15-Apr-09 0:48
Colin Angus Mackay15-Apr-09 0:48 

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.