access static class from asp.net form

Posted by Eden on Stack Overflow See other posts from Stack Overflow or by Eden
Published on 2010-05-10T23:39:06Z Indexed on 2010/05/10 23:44 UTC
Read the original article Hit count: 241

Filed under:
|
|

I am using <%# MyFormatClass(Eval("fieldname")) %> to display data in a grid view on my page. MyFormatClass works fine, but now I want to move it to a central location that can be used by many pages. When I try to access the class <%# Utils.MyFormatClass(Eval("fieldname")) %> it no longer works. Is this something we are allowed to do?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#