C# asp.netÖеÄlabelÏÔʾÎÊÌâ
ÎÒÓÃC#±àasp.netÍøÒ³¡£ÔÚÒ»¸ö°´Å¥button1ÖУ¬ÓÐÒ»¶Î´úÂëÔËÐÐʱ¼ä½Ï³¤£¬ÓÚÊÇÎÒÏëÔÚ°´Å¥°´ÏÂÖ®ºó£¬ÓÃÒ»¸ölabel1À´ÏÔʾһС¶Î×Ö·û£ºlabel1.text="ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."£¬È»ºóÔÚbutton1´úÂëÖ´ÐеÄ×îºóÒ»ÐдúÂëÉÏÔÙÏûÈ¥label×Ö·û£ºlabel1.text="".µ«ÔËÐнá¹ûÈ´ÊÇûÓÐÏÔʾlabel1µÄÈκδúÂ룬ÎÒ½«ÏûÈ¥label1×Ö·ûµÄ´úÂë×¢Ïúºó£¬·¢ÏÖËùÓдúÂ붼ÔËÐÐÍêÖ®ºó£¬²Å³öÏÖ"ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."×ÖÑù£¬ÕâÊÇÔõô»ØÊÂÄØ£¿ÎÒÓÃÁËajax+asp.net¡£
´úÂëÌù³öÀ´³ò³ò£¡£¡
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text ="²éѯÖУ¬ÇëÉÔºó...";
//Êý¾Ý¿â²éѯ¼°´¦Àí´úÂëÒ»´ó¶Î
Label1.text="";
}
ÒòΪִÐÐʱ¼äÉÔ³¤£¬ËùÒÔÏ£ÍûÓû§ÔÚ°´Ï°´Å¥µÄʱºò£¬ÄÜ¿´¼ûÌáʾÐÅÏ¢£¬ÔÚ´¦ÀíÍê±Ïºó£¬ÌáʾÐÅÏ¢ÔÙÏûʧ£¬µ«ÏÖÔھͲ»ÊÇÕâÑùµÄ£¬¶øÊÇÔÚÖ´ÐÐÍêËùÓдúÂëºó£¬ÔÙ³öÏÖÌáʾÐÅÏ¢ÁË¡£
protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text ="²éѯÖУ¬ÇëÉÔºó..."; //ͨË×µÄ˵Õâ¾ä´úÂë»á±»ÏÂÃæµÄLabel1.text=""£»¸²¸Ç
//Êý¾Ý¿â²éѯ¼°´¦Àí´úÂëÒ»´ó¶Î
Label1.text="";
}
ÓÃJQuery.ajaxÂ
Ïà¹ØÎÊ´ð£º
//C ½Ó¿Ú
extern "C"
{
TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......
c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼Æ÷
¾ÍÏñweb½çÃæµÄÎı¾ÄÚÈݱà¼Æ÷
up
C/S»¹Òª±àÒëÆ÷¸ÉÂï°¡
ÓÖ²»ÓÿØÖÆÑùʽ
òËÆûÓÐ°É Èç¹ûÓÐÁË֪ͨÏÂÎÒ ÎÒÒ²Òªliujintaohfbb@163.comÎÒµÄÓÊÏä ......
ÎÊÌâ: C#³ÌÐòÀïÃæ¿ÉÒÔÊÕµ½C³ÌÐò´«À´µÄÊý¾Ý°ü.µ«ÊÇÿ´ÎÖ»ÓÐÒ»¸öBYTE.ÎÞÂÛC³ÌÐòÀïÃæÊý¾Ý°ü³¤¶È´óСÊǶàÉÙ.
·½°¸:
ÏòC³ÌÐò´«µÝÒ»¸öº¯ÊýÖ¸Õë(C#ÖÐΪίÍÐ)¹ýÈ¥¡£
C#ÀïÃ涨ÒåÒ»¸öÏìÓ¦Êý¾Ý°üµÄ·½·¨£¬ ......
ÏÖÔÚÓиöСÏîÄ¿£¬±ØÐë²ÉÓÃasp.net¿ª·¢£¡
±¾ÈËÊÇѧasp£¬php³öÉí£¡
ÓÉÓÚʱ¼ä²Ö´Ù£¬±¾ÈËÓÖ²»Äܼ°Ê±µÄÕÆÎÕasp.netģʽ¿ª·¢web³ÌÐò£¡
´ÖÂԵĿ´ÁËһϣ¬Ã²ËÆËùÓеĿؼþ£¬Ö»Òª±ê×¢ÊÇ runat="s ......
ÎÒÏëÒªÒ»¸öºÍqqÒ»ÑùµÄµ¯³ö¿ò£¬Äܹ»¹Ø±Õ£¬²»ÊÇ×Ô¶¯µÄ£¬¶øÊÇÊÖ¶¯µÄÄÇÖÖ£¬ÔÚµ¯³ö¿òÖÐÎÒÏë¼ÓÒ»¸öÊÓƵ£¬²»ÖªÓÐûÓÐÈË×ö¹ý°¡£¬ÔÚÏߵȰ¡£¬Ï£ÍûÓÐÈËÄܸøÎÒ·¢¸öʵÀý´úÂ룬ÔÚÏߵȣ¬
²»ÖªµÀÄãҪʲôЧ¹û£¬
²»¹ýÒ²¿Ï¶¨ÊÇ ......