摘要:
Sqlite的语句基本上和mssql2005以上版本差不多。其中有一些不同。自我感觉sqlite的语句和mssqlserver2000更接近。在这里只写不同的地方,1.查询某个列表的前x条数据 mssql: select top x * from Table sqlite: select * from Table limit x2.插入语句 和mysql类似,如果插入全部字段可以不写前面字段名称。mssql: insert into Table(id,name)values(1,'jim')sqlite : insert into table values(1,'jim 阅读全文
摘要:
webservice代码: 1 using System; 2 using System.Web; 3 using System.Collections; 4 using System.Web.Services; 5 using System.Web.Services.Protocols; 6 using System.Web.Script.Services; 7 using StoreHouse.Common; 8 using StoreHouse.IDAL; 9 using StoreHouse.Model;10 using System.Data.SqlClient;11 using S 阅读全文
摘要:
<head runat="server"> <script type="text/javascript"> function getX(obj) { var parObj = obj; var left = obj.offsetLeft; while (parObj = parObj.offsetParent) { left += parObj.offsetLeft; } return left; } function getY(obj) { var parObj = obj; var top = obj.offsetTop; w 阅读全文