Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I am trying to display image with there description in asp.net mvc application using datalist, but I can't able to do that. How to that please help me.

Is there any alternative option for datalist. If yes then tell me that also.

Thank You
Posted
Comments
Sandeep Mewara 11-Apr-11 9:17am    
Sounds like you tried something. What? Can you please share your effort? Where you got stuck?

1 solution

ASP.NET MVC has no server controls. you can use a simple foreach loop on your model (you can use a partial view too).

Another option is to write Custom Html Helper.


HTH
 
Share this answer
 

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