Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

About AssemblyINfo.cs Access

Introduction
We have very good features in .Net based on the application version and customizations. Basically .Net provide unique assembly file for the common setting within the projects. And we can play with that file within code as well.
How I can say that?
The .Net provides few attributes based on the assembly manipulations. Suppose we want to know the current version of the product, then we want to access assembly file and get answer from that file. To achieve the product version attribute in the assembly file, we must use the AssemblyVersionAttribute attribute. And lot's of customization attribute exist in the .Net class library based on the assembly file.
List of commonly using attributes.
AssemblyTitleAttribute
AssemblyCompanyAttribute
AssemblyVersionAttribute
AssemblyProductAttribute
AssemblyCopyrightAttribute
AssemblyDescriptionAttribute
This article provides simple class with commonly using attribute, and gets information from the assembly about the product.
Let's see the class.
 
 
 
Let us see how to get product description from the assembly file
 
We want to get all custom attribute from the assembly file based on the AssemblyDescriptionAttribute.
object[] customAttributes = assembly.GetCustomAttributes(typeof(AssemblyDescriptionAttribute), false);
After this, access the first attribute in the collections, and get the value from that
 
Conclusion
The .Net provides a good customization based on the assembly file. So please try to access all other attributes in the assembly file and enjoy.
productDescription = ((AssemblyDescriptionAttribute)customAttributes[0]).Description;
public static string ProductDescription
{
    get
    {
        //get the entry assebly file for the product
        Assembly assembly = System.Reflection.Assembly.GetEntryAssembly();
 &nb


Ïà¹ØÎĵµ£º

SQL SERVER ÓëACCESS¡¢EXCELµÄÊý¾Ýת»»

 ÊìϤSQL SERVER 2000µÄÊý¾Ý¿â¹ÜÀíÔ±¶¼ÖªµÀ£¬ÆäDTS¿ÉÒÔ½øÐÐÊý¾ÝµÄµ¼Èëµ¼³ö£¬Æäʵ£¬ÎÒÃÇÒ²¿ÉÒÔʹÓÃTransact-SQLÓï¾ä½øÐе¼Èëµ¼³ö²Ù×÷¡£ÔÚTransact-SQLÓï¾äÖУ¬ÎÒÃÇÖ÷ҪʹÓÃOpenDataSourceº¯Êý¡¢OPENROWSET º¯Êý£¬¹ØÓÚº¯ÊýµÄÏêϸ˵Ã÷£¬Çë²Î¿¼SQLÁª»ú°ïÖú¡£ÀûÓÃÏÂÊö·½·¨£¬¿ÉÒÔÊ®·ÖÈÝÒ×µØÊµÏÖSQL SERVER¡¢ACCESS¡¢EXCELÊý¾ ......

½â¾öEclipse Access restriction: ÎÊÌâ

 ½ñÌìÔÚLinuxÏÂÓÃeclipse 3.5¿ª·¢JpcapÏà¹ØµÄ³ÌÐò£¬ÏÈÊÔÊÔ¹Ù·½µÄUdpSend.javaÄÜ·ñÅÜÆðÀ´¡£結¹ûeclipse¸ø³öÁËÈçÏ´íÎóÌáʾ£º
Access restriction: The type JpcapCaptor is not accessible due to restriction on required library /media/sda7/opt/jdk1.6.0_16/jre/lib/
 ext/jpcap.jar
ÆäʵҪ½â¾öËüÒ²º ......

C#¶ÁÈ¡access±í£¬²¢°ÑÊý¾ÝÏÔʾÔÚgridcontrolÖÐ

 //¶ÁÈ¡±ê×¼Áбí
        private void setModelList()
        {
            OleDbConnection Connection = null;
         &n ......

Access Code + Fingerprint Door Lock

Double action
fingerprint
and access code security door lock for your home,
office or small business. Get modern biometric security at your entry point with
this standard door handle style double action doorlock.
This is the most secure and convenient method in assuring only authorized peo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ