摘要: 直接上方法,看的懂的拿去用,看不懂的找资料看懂public PartialViewResult _Product(int pageindex = 1, int pagesize = 12, Double floorprice = 0, Double topprice = 9999999999, string brandstr = "", string categorystr = "", string orderBy = "priceasc") { int[] brands; if (string.IsNullOrWhiteSpace( 阅读全文
posted @ 2013-11-01 17:39 深海大虾 阅读(360) 评论(0) 推荐(0) 编辑
摘要: DECLARE @TypeId INT, @Price1 FLOAT, @Original FLOAT DECLARE my_cursor CURSOR SCROLL FOR SELECT TypeId,Price1,Original FROM [DomainType]--定义游标 OPEN my_cursor--打开游标 FETCH NEXT FROM my_cursor INTO @TypeId,@Price1,@Original--读取一条 WHILE @@FETCH_STATUS=0--判断状态ahjesus循环 BEGIN--执行某些操作 --PRINT ... 阅读全文
posted @ 2013-11-01 10:29 深海大虾 阅读(227) 评论(0) 推荐(0) 编辑