codebehind for globalresources

Posted by Oswaldlily under ASP.NET on 8/3/2011 | Points: 10 | Views : 1479 | Status : [Member] | Replies : 1
in asp design this is the method to add globalresources <%$ Resources:Resource,Test %>
if its in codebehind how to write it..can any1 suggest it?




Responses

Posted by: Hmanjarawala on: 8/3/2011 [Member] Bronze | Points: 25

Up
0
Down
In codebehind, if u r working with c# then
yourNameSpace.Properties.Resource.Test;

n if u use using statement like:
using yourNameSpace.Properties;

then jst write Resource.Test;

Himanshu Manjarawala
Sr. Software Engineer@AutomationAnywhere
http://fieredotnet.wordpress.com/

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response