当前位置:编程学习 > JSP >>

自动生成SERVER CONTROLS在程序里的应用

        private string listFolder(EASYMAILIMAP4Lib.EasyMailIMAP4 IMAP4,string strFolder,int perpage)
        {
            TableRow r;
            TableCell c;
            int x,pages,pgnum,start,end;
            string str1;
            x = IMAP4.SelectMailbox(strFolder);
            if(x != 0)
            {
                IMAP4.CreateMailbox(strFolder);
                return "(Created!)";
            }
            else
            {
                r = new TableRow();
                c = new TableCell();
                str1 = "当前邮箱 "+strFolder+" ";
                str1 = str1+"共有邮件 "+IMAP4.MessageCount+" 封";
                Folder_Info.Text = str1;
补充:Jsp教程,面向对象编程
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,