摘要: 传变量值:html js中var srcUrl = <%=getUrl%>;cs类文件中 public static string getUrl = "http://www.123.com/";传方法值: html js中var srcUrl = <%=getUrl()%>;cs类文件中 public static string getUrl(){ return "http://www.123.com/";}http://heisetoufa.iteye.com/ 阅读全文
posted @ 2012-10-24 12:14 isMethod 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 出处:http://blog.csdn.net/FlashDragon/archive/2009/11/09/4789980.aspx 阅读全文
posted @ 2012-10-24 11:58 isMethod 阅读(316) 评论(0) 推荐(0) 编辑
摘要: C#操作PostgreSQL先去下个PostgreSql.Data.PostgreSqlClient.dll的文件.(如果网上不好下,那去下个SharpMap,SharpMap.Extensions这个文件夹里面有)然后添加引用,使用命名空间using PostgreSql.Data.PostgreSqlClient;然后 string connectString = @"Server=localhost;Database=test;UserID=test;Password=test"; PgConnection conn = new PgConnection(connec 阅读全文
posted @ 2012-10-24 11:33 isMethod 阅读(333) 评论(0) 推荐(0) 编辑