Click here to Skip to main content
15,891,372 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: imp Pin
Imran Khan Pathan21-Nov-07 1:21
Imran Khan Pathan21-Nov-07 1:21 
AnswerRe: imp Pin
InsDev21-Nov-07 1:22
InsDev21-Nov-07 1:22 
QuestionAvoid refreshing using Timer for client side code Pin
SreejithAchutan21-Nov-07 0:54
SreejithAchutan21-Nov-07 0:54 
AnswerRe: Avoid refreshing using Timer for client side code Pin
John-ph21-Nov-07 1:04
John-ph21-Nov-07 1:04 
QuestionImages retriving but having some problem Pin
Krishna Varadharajan21-Nov-07 0:46
Krishna Varadharajan21-Nov-07 0:46 
AnswerRe: Images retriving but having some problem Pin
pmarfleet21-Nov-07 0:57
pmarfleet21-Nov-07 0:57 
GeneralRe: Images retriving but having some problem Pin
Krishna Varadharajan21-Nov-07 1:11
Krishna Varadharajan21-Nov-07 1:11 
GeneralRe: Images retriving but having some problem Pin
pmarfleet21-Nov-07 1:25
pmarfleet21-Nov-07 1:25 
krishnavaradharajan wrote:
while (dr10.Read())
{

string x = dr10[4].ToString();
string FileName = x.ToString();
im1.ImageUrl = "./uploads/" + FileName;

}


For each iteration of the loop, you are changing the ImageUrl property of the same object. You need to update the object reference im1 for each iteration of the loop so that it points to the image object that corresponds to the current row of data.

It would be better to use a data-bound control like a Repeater and declaratively define data binding expressions in the template designer.

Paul Marfleet

"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush


Questionimp Pin
niki_nilu21-Nov-07 0:43
niki_nilu21-Nov-07 0:43 
AnswerRe: imp Pin
Sun Rays21-Nov-07 0:49
Sun Rays21-Nov-07 0:49 
AnswerRe: imp Pin
pmarfleet21-Nov-07 0:51
pmarfleet21-Nov-07 0:51 
Questioncheckbox validation Pin
Prakash_Mishra21-Nov-07 0:26
Prakash_Mishra21-Nov-07 0:26 
AnswerRe: checkbox validation Pin
John-ph21-Nov-07 0:42
John-ph21-Nov-07 0:42 
AnswerRe: checkbox validation [modified] Pin
Sun Rays21-Nov-07 0:44
Sun Rays21-Nov-07 0:44 
GeneralRe: checkbox validation Pin
Prakash_Mishra21-Nov-07 1:06
Prakash_Mishra21-Nov-07 1:06 
GeneralRe: checkbox validation Pin
Prakash_Mishra21-Nov-07 2:08
Prakash_Mishra21-Nov-07 2:08 
AnswerRe: checkbox validation [modified] Pin
mykosher21-Nov-07 1:25
mykosher21-Nov-07 1:25 
Questionwindow authentication Pin
Sonia Gupta21-Nov-07 0:05
Sonia Gupta21-Nov-07 0:05 
AnswerRe: window authentication Pin
Pete O'Hanlon21-Nov-07 0:18
mvePete O'Hanlon21-Nov-07 0:18 
QuestionHow to get MAC address of a remote machine using ASP.NET..? Pin
Balagurunathan S20-Nov-07 23:46
Balagurunathan S20-Nov-07 23:46 
AnswerRe: How to get MAC address of a remote machine using ASP.NET..? Pin
Sandeep Akhare20-Nov-07 23:49
Sandeep Akhare20-Nov-07 23:49 
GeneralRe: How to get MAC address of a remote machine using ASP.NET..? Pin
Balagurunathan S21-Nov-07 0:01
Balagurunathan S21-Nov-07 0:01 
GeneralRe: How to get MAC address of a remote machine using ASP.NET..? Pin
Balagurunathan S21-Nov-07 0:06
Balagurunathan S21-Nov-07 0:06 
GeneralRe: How to get MAC address of a remote machine using ASP.NET..? Pin
Sandeep Akhare21-Nov-07 0:16
Sandeep Akhare21-Nov-07 0:16 
QuestionHow to use ASP.Net with Javascript? Pin
blooper0220-Nov-07 23:45
blooper0220-Nov-07 23:45 

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.