Click here to Skip to main content
15,910,009 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP.NET and smooth colour changing Pin
thatraja11-Jun-10 19:40
professionalthatraja11-Jun-10 19:40 
AnswerRe: ASP.NET and smooth colour changing Pin
Amar Chaudhary12-Jun-10 17:26
Amar Chaudhary12-Jun-10 17:26 
Questiontrying to submit an httpwebrequest with hidden field and submit button data Pin
Member 391904911-Jun-10 10:25
Member 391904911-Jun-10 10:25 
QuestionRestrict logged in user to login again Pin
Hemant Thaker11-Jun-10 7:58
Hemant Thaker11-Jun-10 7:58 
AnswerRe: Restrict logged in user to login again Pin
Adam R Harris11-Jun-10 8:10
Adam R Harris11-Jun-10 8:10 
QuestionRe: Restrict logged in user to login again Pin
Hemant Thaker11-Jun-10 8:24
Hemant Thaker11-Jun-10 8:24 
AnswerRe: Restrict logged in user to login again Pin
Adam R Harris11-Jun-10 8:43
Adam R Harris11-Jun-10 8:43 
QuestionRe: Restrict logged in user to login again Pin
Hemant Thaker11-Jun-10 8:55
Hemant Thaker11-Jun-10 8:55 
AnswerRe: Restrict logged in user to login again Pin
Adam R Harris11-Jun-10 9:11
Adam R Harris11-Jun-10 9:11 
QuestionDinamically created gridview not handling SelectedIndexChanged Pin
Zasumo11-Jun-10 7:27
Zasumo11-Jun-10 7:27 
AnswerRe: Dinamically created gridview not handling SelectedIndexChanged Pin
Adam R Harris11-Jun-10 8:15
Adam R Harris11-Jun-10 8:15 
GeneralRe: Dinamically created gridview not handling SelectedIndexChanged Pin
Zasumo14-Jun-10 3:01
Zasumo14-Jun-10 3:01 
GeneralRe: Dinamically created gridview not handling SelectedIndexChanged Pin
Adam R Harris14-Jun-10 3:14
Adam R Harris14-Jun-10 3:14 
GeneralRe: Dinamically created gridview not handling SelectedIndexChanged Pin
Zasumo14-Jun-10 3:58
Zasumo14-Jun-10 3:58 
GeneralRe: Dinamically created gridview not handling SelectedIndexChanged Pin
Adam R Harris15-Jun-10 9:06
Adam R Harris15-Jun-10 9:06 
QuestionUsing Resource file in C# .NET Pin
VOITDOTNET11-Jun-10 7:10
VOITDOTNET11-Jun-10 7:10 
Hi,

I have a .NET 2.0 web service written in C#. Within the C# code, I want to load a resource file and then get string value from it. I have been strugglling and googling this for a lone time, still no luck. Always get:

"System.Resources.MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "EDIResources.resources" was correctly embedded or linked into assembly "EDIWebService" at compile time, or that all the satellite assemblies required are loadable and fully signed."

Here is what I did:
1. created a resource file "EDIResources.resx" in 'App_GlobalResources' folder from VS 2008 solution exploer added some key/value pairs into it.

2. in C# class, I used below code to load the resource file:
ResourceManager resourceManager = new ResourceManager("Resources.EDIResources", Assembly.GetExecutingAssembly());

3. get string from resources:
resourceManager.GetString("E_0008");

but step 3 threw out the System.Resources.MissingManifestResourceException exception. I tried different suggestions for step 2: using file based resource manager, changing resource file name to start with my web services' namespace...none of them work!

Please help me out! Thanks a lot!
AnswerRe: Using Resource file in C# .NET Pin
Adam R Harris11-Jun-10 8:17
Adam R Harris11-Jun-10 8:17 
GeneralRe: Using Resource file in C# .NET Pin
VOITDOTNET11-Jun-10 9:53
VOITDOTNET11-Jun-10 9:53 
AnswerRe: Using Resource file in C# .NET Pin
Sandeep Mewara11-Jun-10 10:28
mveSandeep Mewara11-Jun-10 10:28 
QuestionSearch and Replace String Value Pin
AsianRogueOne11-Jun-10 4:01
AsianRogueOne11-Jun-10 4:01 
AnswerRe: Search and Replace String Value Pin
Rhys Jacob11-Jun-10 4:51
Rhys Jacob11-Jun-10 4:51 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:04
AsianRogueOne11-Jun-10 5:04 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:08
AsianRogueOne11-Jun-10 5:08 
GeneralRe: Search and Replace String Value Pin
Rhys Jacob11-Jun-10 5:21
Rhys Jacob11-Jun-10 5:21 
GeneralRe: Search and Replace String Value Pin
AsianRogueOne11-Jun-10 5:34
AsianRogueOne11-Jun-10 5:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.