摘要:一张无限级的分类表,简列主要表字段主键FID,父类ID字段FPID。检索数据集的SQL语句with a as(select FID from 表 where FID ='值'union allselect x.FID from 表 x,a where x.FPID =a.FID )select * from a删除数据集的SQL语句with a as(select FID from 表 where FID ='值'union allselect x.FID from 表 x,a where x.FPID =a.FID )delete from 表 where F 阅读全文
My MVC3 Summary <Uploadify控件>
2012-03-30 10:38 by wisonlee, 511 阅读, 2 推荐, 收藏, 编辑
摘要:1.添加Uploadify控件的相关文件2.在要用到控件的视图里添加引用3.JS代码View Code 1 $(document).ready(function () { 2 //上传 3 $('#file_upload').uploadify({ 4 'uploader': '/Scripts/upload/uploadify.swf', //按钮 5 'script': '/upload/img?immediate=1',//处理方法(控制器) 6 ... 阅读全文