Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jun 29, 2011 05:14 AM by shree_ars
Member
69 Points
122 Posts
Mar 09, 2010 09:25 AM|LINK
Sorry i'm a newbie .. but c# make an error on Server.MapPath :/
TemplateColumn
81 Points
74 Posts
Mar 09, 2010 10:03 AM|LINK
Server.MapPath is a asp.net application method. Are you making a webapplication or a desktop application?
Mar 11, 2010 09:42 AM|LINK
application desktop ... didnt used this finally .. thanks for ur comeback
2 Points
1 Post
Nov 22, 2010 08:10 AM|LINK
Thanks a lot ,
Nice solution :)
Participant
1395 Points
776 Posts
Jun 23, 2011 12:10 PM|LINK
actually i need to include the name/value pair to .resx file(which is already created)
i cant add it. whenever i add the existing name/value pairs get deleted and the one which is added at last is present.
i have used below code
ResXResourceWriter resourceWriter = new ResXResourceWriter(fileinfo.FullName);
resourceWriter.AddResource("key1", "from extensibility code45");
resourceWriter.Generate();
resourceWriter.Close();
plx may i know any other way of incudeing resource to .resx file.
Jun 29, 2011 05:14 AM|LINK
HI all
actually i have done it by reading .resx file as XML and adding the new node to it.
which get updated to .resx file.
thanks alot to all for their valuable solutions.
thanks
sunnyshiny06
Member
69 Points
122 Posts
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Mar 09, 2010 09:25 AM|LINK
Sorry i'm a newbie .. but c# make an error on Server.MapPath :/
TemplateColumn
biodoom
Member
81 Points
74 Posts
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Mar 09, 2010 10:03 AM|LINK
Server.MapPath is a asp.net application method. Are you making a webapplication or a desktop application?
sunnyshiny06
Member
69 Points
122 Posts
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Mar 11, 2010 09:42 AM|LINK
application desktop ... didnt used this finally .. thanks for ur comeback
AhmedEid
Member
2 Points
1 Post
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Nov 22, 2010 08:10 AM|LINK
Thanks a lot ,
Nice solution :)
shree_ars
Participant
1395 Points
776 Posts
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Jun 23, 2011 12:10 PM|LINK
actually i need to include the name/value pair to .resx file(which is already created)
i cant add it. whenever i add the existing name/value pairs get deleted and the one which is added at last is present.
i have used below code
ResXResourceWriter resourceWriter = new ResXResourceWriter(fileinfo.FullName);
resourceWriter.AddResource("key1", "from extensibility code45");
resourceWriter.Generate();
resourceWriter.Close();
plx may i know any other way of incudeing resource to .resx file.
shree_ars
Participant
1395 Points
776 Posts
Re: Writing Editing Reading Resource .resx files In web Based application asp.net 2.0 C#
Jun 29, 2011 05:14 AM|LINK
HI all
actually i have done it by reading .resx file as XML and adding the new node to it.
which get updated to .resx file.
thanks alot to all for their valuable solutions.
thanks