Click here to Skip to main content
15,921,884 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
userimg.ImageUrl=~/images/dt.rows[0]["userimage"].ToString();

this give error of

; expected

how will write this...
Posted

1 solution

Hi,

Change your code to

userimg.ImageUrl="~/images/"+dt.rows[0]["userimage"].ToString();
 
Share this answer
 
Comments
sumit kausalye 30-Nov-12 2:49am    
thank u it worked

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900