S
Shawn B.
Greetings,
When I add a resource to the project (VS.NET) it places a .resx file. There
are many columns in the grid to input data. I just want to specify a
Name/Value pair to hold a resource of strings.
My problem is that I also have to specify a type. So I usually specify
System.String. I have no idea what I would put in there. I also have a
difficult time locating information about this topic. Most of the resources
I can find on this topic are not as straightforward as I'd like them to be.
I have "Professional C# 1st Ed.", "C# for Experience Programmers", and a few
others. MSDN isn't terribly helpful. Googling turns up too many results to
be useful but at the same time, I haven't found my answer in the first 3
pages.
I want to be able to add a Resx file. Specify a Name/Value pair. In my
code, look up the Name and be able to use the value. Sounds simple, right?
I've tried using the ResourceManager class available in most examples but it
always fails.
What must I do? I don't want to resource to using a .txt file for my
resources.
Thanks,
Shawn
When I add a resource to the project (VS.NET) it places a .resx file. There
are many columns in the grid to input data. I just want to specify a
Name/Value pair to hold a resource of strings.
My problem is that I also have to specify a type. So I usually specify
System.String. I have no idea what I would put in there. I also have a
difficult time locating information about this topic. Most of the resources
I can find on this topic are not as straightforward as I'd like them to be.
I have "Professional C# 1st Ed.", "C# for Experience Programmers", and a few
others. MSDN isn't terribly helpful. Googling turns up too many results to
be useful but at the same time, I haven't found my answer in the first 3
pages.
I want to be able to add a Resx file. Specify a Name/Value pair. In my
code, look up the Name and be able to use the value. Sounds simple, right?
I've tried using the ResourceManager class available in most examples but it
always fails.
What must I do? I don't want to resource to using a .txt file for my
resources.
Thanks,
Shawn