
How can read the colum data to file resx
Hello Daniele,
Of course, you may get any object from resource via the
ResourceManager.GetObject method:
PictureBox.Image = (System.Drawing.Image)rm.GetObject("MyObject");
Please Note, you should make the object unique to be located. For more
detailed information about the ResourceManager.GetObject method please see:
http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemResourc...
rceManagerClassGetObjectTopic.asp
I hope this information is helpful for you.
Best regards,
Lion Shi, MCSE, MCSD
Microsoft Support Engineer
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. 2001 Microsoft Corporation. All rights
reserved.
--------------------
Newsgroups: microsoft.public.dotnet.languages.CSharp
Subject: How can read the colum data to file resx
Date: 5 Sep 2002 06:06:33 -0700
Organization: http://groups.google.com/
Lines: 15
NNTP-Posting-Host: 195.94.154.213
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1031231193 23202 127.0.0.1 (5 Sep 2002
13:06:33 GMT)
NNTP-Posting-Date: 5 Sep 2002 13:06:33 GMT
Path:
cpmsftngxa10!cpmsftngxa06!tkmsftngp01!newsfeed00.sul.t-online.de!t-online.de
!news.stealth.net!news.stealth.net!feed.textport.net!sn-xit-02!sn-xit-01!sn-
xit-04!supernews.com!postnews1.google.com!not-for-mail
Xref: cpmsftngxa10 microsoft.public.dotnet.languages.csharp:90911
X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
Hi to all
How can read other column data to resx file?
The resx file is compose of this columns
(name,value,comment,type,mimetype)
I use the following code:
Assembly assembly = Assembly.GetExecutingAssembly();
rm = new ResourceManager("EVA_Kernel.Form1",assembly);
DescrizioneMessaggio = rm.GetString(NumeroErrore);
I read the column value.
Is it possible read other columns? (comment,type,mimetype) by name
(NumeroErrore)
Thanks to all