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

c# ASP.net

Label lbsingle = new Label();
            if (ds.Tables[0].Rows.Count == 0)
                  Label.Visible = false;
            else
                Label.Visible = true;
ÎÒÏëÈÃlable°´Ìõ¼þÏÔʾ¿ÉÊÇÔõô»á±¨ÕâÑùµÄ´í¡°·Ç¾²Ì¬×ֶΡ¢·½·¨»òÊôÐÔ¡°System.Web.UI.Control.Visible.get¡±ÒªÇó¶ÔÏóÒýÓá± ÕâÊÇʲôԭÒòÄØ£¿Çë¸ßÊÖÖ¸µãÒ»ÏÂ
C# code:

Label lbsingle = new Label();
if (ds.Tables[0].Rows.Count == 0)
{
lbsingle.Visible = false;
}
else
{
lbsingle.Visible = true;
}


ÄãÔÚÒ³ÃæÍÏÒ»¸ölable visible¸ø³Éfalse


ÊÇѽ£¬Ö±½ÓʹÓÿؼþ²»¾ÍºÃÁË£¬ÎªÊ²Ã´·ÇÒª×Ô¼ºnew¡£

ddddddddddd


Ïà¹ØÎÊ´ð£º

C#µ÷Óà C DLLÎÊÌ⣬¶®µÄÀ´ÇÀ·ÖÁË

//C ½Ó¿Ú
extern "C"
{
  TESSDLL_API int __cdecl GetTessText(const char *imagefile, char *text);  
}
//ÎÒÔÚC#ÖÐÉùÃ÷
//µ÷ÓÃC DLL Öеĺ¯Êý
[DllImport("OCRapi.dll&quo ......

ÔÚasp.netÖÐ ÔõÑùÈ¡µÃFileUploadÎļþµÄÍêÕû·¾¶

ÈçÌ⣡
FileUpload1.PostedFile.FileName

ÎÒÕâÑùдÁË  µ«ÊÇ»¹ÊÇ»ñµÃµÄÊÇÒ»¸öÎļþµÄÃû³Æ£¬FileUpload1.FileName Õâ¸öÒ²ÊÇÒ»Ñù£¡

FileUpload1.PostedFile.FileName

IE ÎÊÌâ

¹¤¾ß-internetÑ¡Ïî-°²È«- ......

asp.netÔÚ·þÎñÆ÷ÎÞ·¨²¥·ÅflvÊÓƵ

±¾ÈËʹÓÃswfobject.jsÔÚ±¾»ú¿ÉÒÔÕý³£²¥·Å£¬µ«·¢²¼µ½win2003·þÎñÆ÷¾ÍÎÞ·¨²¥·Å£¬ÍøÉÏÕÒÁËÐí¶à¶¼ËµÐèÒªÅäÖÃMIMEÀàÐÍ£¬ÎÒÅäÖÃÁËҲûÓгɹ¦£¬Çë¸ßÊÖÖ¸µãÒ»ÏÂ
·þÎñÆ÷ÊÇ·ñÖ§³Ö£¬Â·¾¶ÊÇ·ñÕýÈ·


ÓеķþÎñÆ÷¿ÉÄܲ»Ö§³Ö ......

asp.net ajax¿Ø¼þÓõö಻¶à£¬Òª²»ÒªÑ§£¿

»ù±¾µÄ5¸ö¿Ø¼þ»¹ºÃ£¬ÏÂÔØÁËÀ©Õ¹µÄ¿Ø¼þ¾ÍÍ·´óÁË

¸Ð¾õÕæÊÇÂÒ£¬ÓÖÕÒ²»µ½ËµÃ÷¡£



Èç¹ûÊÇ´¿Ñ§Ï°µÄ»°¾Í»ù±¾¿Ø¼þŪÃ÷°×¾ÍºÃÁË£¬Èç¹ûÊÇÏîÄ¿ÐèÒª¾Íû°ì·¨ÁË£¬±ØÐëŪÃ÷°×

ÕÒ²»µ½ËµÃ÷£¿

ÄãÏÂÔØÏÂÀ ......

ASP.NET ºÜ²ËµÄÎÊÌâ,ÈçºÎÌø³ö IF ´úÂë¿é??

protected void btn_sea_Click(object sender, EventArgs e)
    {

        if (t_date1.Text == "" | t_date2.Text == "")
      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ