11 2011 档案

当用updatepanel和scriptmanager时,弹出框
摘要:ScriptManager.RegisterStartupScript(UpdatePanel1,this.GetType(), "", "", false); 阅读全文

posted @ 2011-11-17 09:39 tongdengquan 阅读(100) 评论(0) 推荐(0)

web.config的数据库连接字符串进行加密
摘要:方法1: using System.Web.Configuration; using System.IO; //加密 protected void Button1_Click(object sender, EventArgs e) { Configuratio... 阅读全文

posted @ 2011-11-15 16:51 tongdengquan 阅读(137) 评论(0) 推荐(0)

连接到网页objective-c
摘要:[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"程序的相应连接"]]; 阅读全文

posted @ 2011-11-14 14:06 tongdengquan 阅读(104) 评论(0) 推荐(0)

读取plist文件
摘要://取得mainBundle NSBundle *bundle = [NSBundle mainBundle]; //取得文件路径 NSString *plistPath = [bundle pathForResource:@"文件名" ofType:@"plist"];... 阅读全文

posted @ 2011-11-01 10:54 tongdengquan 阅读(138) 评论(0) 推荐(0)