05 2012 档案

摘要:alter proc getName@userName varchar(50)asif(@userName = 'xsm') beginselect userName from Table_Test where userName=@userName;endelse beginselect count(*) from Table_Test;endreturnalter proc getWeek@weeks varchar(50)asdeclare @i int, @weekName varchar(50)set @i=0set @weekName='Sunday' 阅读全文
posted @ 2012-05-22 16:48 小さいです哥 阅读(239) 评论(0) 推荐(0)
摘要:FinalData.rar 阅读全文
posted @ 2012-05-22 11:08 小さいです哥 阅读(275) 评论(0) 推荐(0)
摘要:str = '[111]dsfdsd[33333]'pattern = r"(\[.*?\])"; guid = re.findall(pattern,str ,re.M) if(len(guid)>0): guid = guid[0] guid = guid.replace('[','').replace(']','') 阅读全文
posted @ 2012-05-17 09:58 小さいです哥 阅读(8071) 评论(0) 推荐(1)
摘要:#-*- MailClassLibrary -*-import smtplibimport osimport sysfrom email.header import Header from email.mime.text import MIMETextfrom email.mime.multipart import MIMEMultipart class MailClassLibrary: def __init__(self, mailType): self.mailSendType = mailType sender = "xsmhero@aa.com" receiver 阅读全文
posted @ 2012-05-10 08:32 小さいです哥 阅读(299) 评论(1) 推荐(0)
摘要:替换exe程序图标dll/// <summary> /// 替换程序图标 /// </summary> /// <param name="exe">程序</param> /// <param name="ico">图标</param> /// <returns></returns> private bool setAppIco(string exe, string ico) { try { UpdateExeIco.UpdateExeIco exeIco = 阅读全文
posted @ 2012-05-04 09:11 小さいです哥 阅读(384) 评论(0) 推荐(0)