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

c# enmu ö¾ÙС½á(2)×Ô¼ºµÄ

ͨ¹ý·´É䣬µÃµ½Õë¶Ôijһö¾ÙÀàÐ͵ÄÃèÊö¡£
ö¾ÙµÄ¶¨ÒåÖмÓÈëÃèÊö
  using System;
using System.Collections;
namespace Ahnlab.ApplicationServices
{
public sealed partial class SysEnums
{


#region ϵͳ¹ÜÀíÄ£¿éµÄö¾ÙÐÅÏ¢
/// <summary>
/// ÔÚÏß²»Á¼Å⳥ЭÒéÊé״̬
/// </summary>
public enum YesNo
{
[TextAttribute("ÊÇ")]
Yes = 0,
[TextAttribute("·ñ")]
No = 1
}
/// <summary>
/// Óû§ÀàÐÍ
/// </summary>
public enum UserType
{
[TextAttribute("¹«Ë¾Ô±¹¤")]
Employee = 1,
[TextAttribute("´úÀíÉÌ")]
Agent = 2,
[TextAttribute("¹©Ó¦ÉÌ")]
Vendor = 3,
[TextAttribute("ϵͳ¹ÜÀíÔ±")]
Admin = 4
}
/// <summary>
/// ÃÜÂëÖØÖñê¼Ç
/// </summary>
public enum PasswordResetEnum
{
[TextAttribute("ÊÇ")]
Yes = 1,
[TextAttribute("·ñ")]
No = 0
}
#endregion
}

/// <summary>
/// ¹¹Ôìö¾ÙÀà
/// add by kenny
/// add date
/// </summary>
public class TextAttribute : Attribute
{
public string Text
{
get
{
return _Text;
}
set
{
_Text = value;
}
}
string _Text;
public TextAttribute(string text)
{
_Text = text;
}
}
 
»ñµÃÖµ Type enumType = typeof(SysEnums.UserType);//ö¾ÙÊôÐÔ
int enumConst = int.Parse(UserType.ToString());//ö¾Ù¶ÔÓ¦µÄÖµ
string textVal = "";
string strValue = string.Empty;
Type typeDescription = typeof(Ahnlab.ApplicationServices.TextAttribute);
FieldInfo fi


Ïà¹ØÎĵµ£º

C# Á¬½ÓsqlÊý¾Ý¿â¶Ô access£¬excelµ¼Èëµ¼³ö²Ù×÷


 
Ò»¡¢SQL SERVER ºÍACCESSµÄÊý¾Ýµ¼Èëµ¼³ö
³£¹æµÄÊý¾Ýµ¼Èëµ¼³ö£º
ʹÓÃDTSÏòµ¼Ç¨ÒÆÄãµÄAccessÊý¾Ýµ½SQL Server£¬Äã¿ÉÒÔʹÓÃÕâЩ²½Öè:
¡¡¡¡¡ð1ÔÚSQL SERVERÆóÒµ¹ÜÀíÆ÷ÖеÄTools£¨¹¤¾ß£©²Ëµ¥ÉÏ£¬Ñ¡ÔñData Transformation
¡¡¡¡¡ð2Services£¨Êý¾Ýת»»·þÎñ£©£¬È»ºóÑ¡Ôñ  czdImport Data£¨µ¼ÈëÊý¾Ý£©¡£
¡¡¡¡¡ ......

.net(c#)¶ÁÈ¡flash(swf)ÎļþµÄ³ß´ç

ÓÃÁ˱ðÈ˵ĴúÂ룬ÍƼö+±¸Íü¡£
Ô­ÌûµØÖ·£º
.net(c#)¶ÁÈ¡flash(swf)ÎļþµÄ³ß´ç
http://www.cnblogs.com/nasdaqhe/archive/2008/07/02/1234357.html
ÓÃ.NET¶ÁÈ¡Flash¸ñʽÎļþÐÅÏ¢
http://www.cnblogs.com/gmm/archive/2007/07/17/310675.html
ÎÒʹÓÃÁ˵ÚÒ»¸öÌû×ÓÖеĴúÂ룬µÚÒ»¸öÌû×ӵĴúÂë²Î¿¼µÄÊǵڶþ¸öÌû×Ó£º£©
The ......

C#ÖÐstring×÷ΪÒýÓÃÀàÐÍÓëÀàµÄÇø±ðµÄÒ»¸öÎÊÌâ

RT¡£ÏÈÌù´úÂë
C# code
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Value_Ref_test1
{
class Program
{
static void Main(string[] args)
{
point a = new point (10,10) ;
point b = a;
......

¡¶C#ͼ½â½Ì³Ì¡·¶ÁÊé±Ê¼ÇµÚ16Õ——ʼþ

Õâ±¾Êé½²½â
C#
ÓïÑÔÊ®·ÖÏêϸ£¬ÎÒ½«ÆäÖеÄÖØÒªÄÚÈÝÕûÀí³ÉÌõ¿î£¬ÒÔ±¸Íü¡£
1.      
ʼþÊÇÔÚÂú×ãij¸öÌض¨Ìõ¼þʱ·¢ÉúµÄ£¬´¥·¢
(raise)
ʼþµÄ¶ÔÏó³ÆΪ·¢²¼Õß
(publisher)
£¬¶ÔÕâ¸öʼþ½øÐÐÏìÓ¦µÄ¶ÔÏó³ÆΪ¶©ÔÄÕß
(subscriber)
¡£Ê¼þ´¦Àí³ÌÐòÊÇ×¢²áµ½Ê¼þµÄ·½·¨£¬¿ÉÔÚÈκÎÀà»òÕ߽ṹ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ