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

C#Öе÷ÓÃVBÖÐInputbox¹¦ÄÜ

  C#×Ô¼ºÃ»ÓÐInputboxÕâ¸öÀ࣬µ«ÊÇInputboxÒ²ÂùºÃÓõģ¬ËùÒÔÓÐÁ½ÖÖ·½·¨¿ÉÒÔʹÓÃ
   Ò»£º.¼ä½Óµ÷ÓÃvbÖеÄInputbox¹¦ÄÜ
      1¡£ÔÚÏîÄ¿ÖÐÌí¼Ó¶ÔMicrosoft.VisualBasicÒýÓÃ
      2¡£ÔÚÏîÄ¿ÖÐÌí¼ÓÃüÃû¿Õ¼äUsing Microsoft.VisualBasic;
      3¡£ÒÔºó¾Í¿ÉÒÔÖ±½ÓʹÓÃVBÖеĺöàÀà¿â£¨Ë¬°¡……£©
   
      ÀýÈç:textBox1.Text=Microsoft.VisualBasic.Interaction.InputBox(“ÌáʾÐÔÎÄ×Ö”, “¶Ô»°¿ò±êÌâ”, “ĬÈÏÖµ”, X×ø±ê, Y×ø±ê);
ÉÏÃæµÄ X×ø±ê, Y×ø±ê ¿ÉÒÔȡֵΪ –1 ºÍ -1£¬±íʾÆÁÄ»ÖмäλÖÃÏÔʾ¡£
    ¶þ£º»¹¿ÉÒÔ×Ô¼ºÐ´Ò»¸öInputBox£¨£©Õâ¸öº¯Êý¡£¶¯Ì¬Éú³ÉÒ»¸öFORMÒÔ¼°TEXTBOXºÍBUTTONµÈ£¬È·¶¨ºÃλÖ㬷µ»ØÓû§ÊäÈëµÄ×Ö·û´®¡£
public partial class InputBox : Form
    {       
        private InputBox()
        {
            InitializeComponent();
        }
        public String getValue()
        {
            return textBox1.Text;
        }
        public static bool Show(String title,String inputTips,bool isPassword,ref String value)
        {
            InputBox ib = new InputBox();
            if (title != null)
            {
                ib.Text = title;
            }


Ïà¹ØÎĵµ£º

Óà Java ½âÃÜ C# ¼ÓÃܵÄÊý¾Ý(DES)

 
Óà Java ½âÃÜ C# ¼ÓÃܵÄÊý¾Ý(DES)
[Ô­ÎĵØÖ·£ºhttp://yidinghe.cnblogs.com/articles/449212.html]
½ñÌìÅöÉÏÒ»¼þÁîÎÒÍ·´óµÄÊÂÇé¡£ÎÒÃǵÄϵͳҪºÍÒ»¸öÍⲿϵͳ½øÐÐͨѶ£¬´«Ê䷽ʽÊDzÉÓà DES Ëã·¨¶ÔÏûÏ¢½øÐмÓÃÜ£¬ÔÙÓà BASE64 ±àÂë¡£²»¹ý¶Ô·½ÏµÍ³ÊÇÓà C# дµÄ¡£Æ½Ì¨²»Ò»Ñù£¬ÓÚÊÇÎҺͶÔÃæµÄÀÏÐÖÏȲâÊÔһϼÓÃܽâÃÜ¡£ ......

Ê®Ììѧ»áASP.net֮ʵսϵÁУ¨C#ºÍVb.netË«°æ±¾£©

Ê®Ììѧ»áASP.net֮ʵսϵÁУ¨C#ºÍVb.netË«°æ±¾£©
µÚÒ»Ìì
  ÎÒÈÏΪASP.NET±ÈASPÄѺܶ࣬ϣÍû´ó¼Ò×öºÃ×¼±¸¡£ÄÑÄÑÔÚʵÏÖͬһ¸öЧ¹ûÓкܶ෽·¨£¬´ó¼Ò»òÐí»áÒÉ»ó¡£Ê®Ììѧ»áϵÁн̳̻áÇåÎúµÄд³ö¸÷ÖÖ·½·¨£¬Èôó¼ÒÄÜÉÙÒ»µã¿²¿À¡£ÔÚASPÀïÃ棬´ó¼Ò¼¸ºõ¶¼ÊÇʹÓÃVB£¬Êý¾Ý¿âÂҲÎÞ·ÇÊÇSQLºÍACCESS¡£ÔÚASP.NETÀïÃ棬Êý¾Ý¿â»¹ÊÇÕ ......

C#Á¬½ÓoracleµÄdllÎļþµÄ±àд¹ý³Ì

 ³õѧc#¼ÓOracle±à³Ì£¬¿´ÁËÐí¶àÍøÉϽ̳̣¬¶¼½éÉܵÄÊÇadoÁ¬½Ó·½Ê½£¬¶øÇÒ²ÉÓõĶ¼ÊÇÔÚºǫ́ÊäÈëÁ¬½Ó×Ö·û´®µÄ·½Ê½¡£ÓÚÊÇÃÈÉúÁËдһ¸ödllÎļþÀ´´úÌæÕâ¸öÁ¬½Ó×Ö·û´®£¬ÒÔºóÿ´ÎÁ¬½ÓÊý¾Ý¿âÊÂÖ»Òªµ÷ÓÃÕâ¸ödllÎļþ¾ÍÐеÄÏë·¨¡£ÏÐÑÔÉÙÐ𣬽«´úÂëд³ö£¬ ......

C#£¨C sharp£©×Ö·û´®ºÍʱ¼äµÄÏ໥ת»»

C#£¨C sharp£©×Ö·û´®ºÍʱ¼äµÄÏ໥ת»»¡£
 
Ò»¡¢DateTime –> string
ʱ¼äÀàÐÍת»¯³É×Ö·û´®ÀàÐÍ£¬ÄÇÊÇÏ൱µÄ¼òµ¥£¬Ö±½Óµ÷ÓÃToString()·½·¨¼´¿É¡£È磺
DateTime dt = DateTime.Now;
string dtStr = dt.ToString();
 
Èç¹ûÏë¶ÔÊä³ö¸ñʽ»¯£¬¿ÉÒÔÕâôд£º
dt.ToString("yyyyÄêMMÔÂddÈÕ");   ......

ASP.NetÖÐʹÓÃVB.Netµ÷Óô洢¹ý³Ì²¢µÃµ½·µ»ØÖµ


ASP.NetÖÐʹÓÃVB.Netµ÷Óô洢¹ý³Ì²¢µÃµ½·µ»ØÖµ
À´Ô´£ºqqreadÂÛ̳ ×÷Õߣº ³ö´¦£ºÇÉÇɶÁÊé 2006-08-03 ½øÈëÌÖÂÛ×é
//´æ´¢¹ý³Ì´úÂë
¡¡CREATE PROCEDURE [AddNewInvoiceInfo] (@sUserID int,@sClaimMethod varchar(50),@sInvoiceNum ¡¡varchar(50),@sInvoiceDate datetime,@sBuyCity varchar(50))AS
¡¡Insert Into SMB_In ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ