hello,
I have defined global variable in global.asax file like this
public static object dateformat { get; set; }
void Application_Start(object sender, EventArgs e)
{
// Code that runs on application startup
RouteConfig.RegisterRoutes(RouteTable.Routes);
BundleConfig.RegisterBundles(BundleTable.Bundles);
dateformat = "{0:dd/MMM/yyyy}";
}
Now inside ListView in eval I want to assign this global.dateform to eval date field
<%#Eval("begindate", global.dateformat) %>
please advise how