1、首先确定自己的iis没有问题2、其次确定自己sqlserver没有问题然后在iis的文件夹wwwroot里,建立一个文件 名为testSqlServer.asp,编写代码例如以下就可以 spt_values行数:"&rs.recordcount&"")'循环结果输出do While not rs...
分类:
数据库 时间:
2014-08-11 21:12:12
阅读次数:
276
public static string InsertOrUpdateQueryString(string[] keys, string[] values) { return InsertOrUpdateQueryString(System.Web.HttpCon...
分类:
Web程序 时间:
2014-08-11 20:38:22
阅读次数:
224
在生产环境中,有时候我们会遇到这样的问题,就是去掉数据库中2列值相同的数据,并且留下一条语句,解决这个问题可以利用唯一联合索引创建测试表CREATETABLE`test03`(`id`INT(11),`uid`INT(11)DEFAULTNULL);INSERTINTOtest03(id,uid)VALUES(1,1),(1,2),(1,1),(1,2),(1,1);selec..
分类:
数据库 时间:
2014-08-11 18:14:43
阅读次数:
299
一、添加数据/*添加数据*/insert into STU values('stu0004','赵一',18,1,"kc0004");insert into STU(STU_ID,STU_NAME,STU_AGE,STU_SET ) values('stu0013','储十一',19,1);说明:如...
分类:
数据库 时间:
2014-08-11 17:01:32
阅读次数:
260
Given a singly linked list L: L0→L1→…→Ln-1→Ln,reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…You must do this in-place without altering the nodes' values.For e...
分类:
其他好文 时间:
2014-08-11 14:44:32
阅读次数:
186
Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,2,3]...
分类:
其他好文 时间:
2014-08-11 11:53:42
阅读次数:
185
Given a binary tree, return the postorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [3,2,1...
分类:
其他好文 时间:
2014-08-11 11:45:02
阅读次数:
251
// 插入//OracleCommand cmd = "insertInto into GIS_PolygonPoint(PCode,PointColl) values('140134', :var)";// 修改//OracleCommand cmd = new OracleCommand("up...
分类:
数据库 时间:
2014-08-10 21:08:30
阅读次数:
291
Setting values and creating objects and arrays one at a time gives you total control but it is more verbose than other options. Creating JSON Copy imageCopy ?1JArray array = new JArray(); ?2JVal...
分类:
Web程序 时间:
2014-08-10 19:01:30
阅读次数:
284
原文:http://blog.csdn.net/sodino/article/details/58221471.Activity全透明同学zzm给了这个有趣的代码,现在公布出来。先在res/values下建colors.xml文件,写入:#9000这个值设定了整个界面的透明度,为了看得见效果,现在设...
分类:
移动开发 时间:
2014-08-10 18:31:50
阅读次数:
341