I want to bind resx file(or xml) in gridview using xmldatasource.h ow to do...plz.
resx file
Collapse
X
-
Have you seen:Originally posted by karunajoI want to bind resx file(or xml) in gridview using xmldatasource.h ow to do...plz.
this article
or
this article
What have you tried so far?
Are you Sure you want to use resx files?
Using resx files seems to be way too low level for most applications.
-Frinny -
Karunajo I have no idea how to help you without doing research on the topic.Originally posted by karunajook..yes, i am going to use resx file only... how to display all fields of resx file in gridview..plz..
I just wanted to thank you for introducing me to resx files.
I'm researching them now. If I had known about them before it could have saved me a lot of time creating my own resource objects (mainly for languages).
Could you explain exactly what you want to do so that I can help you do the research on using resx files?
It seems to me that they are mainly used for implementing multiple languages. Are you having problems with this?
Thanks!
-FrinnyComment
-
Karunajo,
Check out this article supplied by MSDN on ASP.NET web page resources.
Specifically look at the section Implicit Localization in Templates. Its near the bottom of the article.
Does this help you?
-FrinnyComment
-
Karunajo,
Have you been following your other thread?
Please refrain from double posting your problem.Comment
-
Originally posted by karunajoplz..anybody can ans me for my prev post..its urgent...how to view and edit resx file in asp.net2.0 on runtime
I have been researching your problem in my spare for the last 2 days.
I don't think it is possible to do what you want because resx files are compiled much the same as ASP.NET files are compiled at runtime. This means that they are not in XML format when they are being used...so I don't think you can display them...I especially don't think that you can edit them...not in a DataGrid nor any other control.
-FrinnyComment
-
Refer..Hope this is what you looking for
http://msdn2.microsoft.com/en-us/library/ms227982.aspx
http://msdn2.microsoft.com/en-us/lib...et20rpm_topic5Comment
-
When you change the label you should open the resx file in the XML Designer (If you are using Visual Studio 2005 just double click on the resx file), Find the name of the Label and change the value.Originally posted by karunajoActually i am going to use resx file like database..if i want to change the name of the label means,i go and make change in resx file..so i want to view the resx file in runtime..
You cannot edit a resx file during run time because it is compiled much the same as an ASPX page is compiled by ASP.NET. You have to edit this file during development.
Are you having problems viewing the resx file in Visual Studio?
Are you using Visual Studio 2005?
-FrinnyComment
-
This thread confuses me. My resx files are always empty. I very rarely add multimedia content into them.
Guess I'm just plain jane here, but wouldn't you want to be using the SETTINGS (under the properties folder)? That's where I keep things. Like UI color settings, connection strings and other usefull nuinsancesComment
-
hi frinny,
yes i am using 2005.I can edit in design time..Its not a problem for me..I want to edit at run time..I think about customer,on run time they want to change label name means they want to go design page every time know...To avoid that i want to do in run time..Can u tel me some idea...plz...Comment
Comment