Asp.Net(C#) inline coding problem

Posted by oraclee on Stack Overflow See other posts from Stack Overflow or by oraclee
Published on 2010-04-21T07:20:14Z Indexed on 2010/04/21 7:23 UTC
Read the original article Hit count: 266

Filed under:

Hi all;

<% int i = Eval("NAME").ToString().IndexOf("."); string str = Eval("NAME").ToString().Substring(i + 1); %>
                                <img src="../images/img_<%= str %>.gif" alt="" />

EVAL("test.txt")

I need "txt" how to make ? Please Help

Thank you

© Stack Overflow or respective owner

Related posts about ASP.NET