Click here to Skip to main content
15,897,187 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
What is {0} indicating in following statement

ImageUrl='<%# Eval("Name", "~/SiteImages/ram/3/{0}") %>'
Posted

1 solution

Exactly the same as it does in a Console.WriteLine format string: it replaces the {0} with the first value from the bound data.
 
Share this answer
 
Comments
[no name] 16-Apr-15 2:16am    
+5 :)
Pratiik Miistry 16-Apr-15 2:38am    
Is there any other code '{1}' or '{2}'? which is used for other purpose.

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