Asp.net源码专业站
首页->商务办公->固定资产管理系统源码>>DepreciationManage/QueryDepreciationForm.aspx.cs>>源码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,如果想更进一步了解该代码请下载:固定资产管理系统源码
当前文件:文件类型 DepreciationManage/DepreciationManage/QueryDepreciationForm.aspx.cs[1K,2009-6-12 11:38:44]打开代码结构图
普通视图
		            
1//文件名:QueryDepreciationForm.aspx.cs 2using System; 3using System.Data; 4using System.Configuration; 5using System.Collections; 6using System.Web; 7using System.Web.Security; 8using System.Web.UI; 9using System.Web.UI.WebControls; 10using System.Web.UI.WebControls.WebParts; 11using System.Web.UI.HtmlControls; 12 13public partial class DepreciationManage_QueryDepreciationForm : System.Web.UI.Page 14{ 15 protected void Page_Load(object sender, EventArgs e) 16 { 17 string MyForbidString = Session["MyForbid"].ToString(); 18 if (MyForbidString.IndexOf("B2") > 1) 19 { 20 Server.Transfer("~/SystemManage/AllErrorHelp.aspx"); 21 } 22 } 23 protected void Button2_Click(object sender, EventArgs e) 24 {//打印部门累计折旧 25 Server.Transfer("~/DepreciationManage/QueryDepreciationPrint.aspx"); 26 } 27 public string MyPrintSQL 28 {//设置要传递到打印页的数据 29 get 30 { 31 return "SELECT 所属类别,资产编号,资产名称,资产原值,折旧方法,月度折旧额 FROM [累计折旧查询视图] WHERE (([折旧年份] = '" + this.DropDownList1.SelectedValue.ToString() + "') AND ([折旧月份] = '" + this.DropDownList2.SelectedValue.ToString() + "') AND ([使用部门] = '" + this.DropDownList3.SelectedValue.ToString() + "'))"; 32 } 33 } 34 public String MyPrintDate 35 {//设置要传递到打印页的数据 36 get 37 { 38 return "计提日期:" + this.DropDownList1.SelectedValue.ToString() + "" + this.DropDownList2.SelectedValue.ToString() + ""; 39 } 40 } 41 public String MyPrintTitle 42 {//设置要传递到打印页的数据 43 get 44 { 45 return Session["MyCompanyName"].ToString() + this.DropDownList3.SelectedValue.ToString()+"月度累计折旧表"; 46 } 47 } 48} 49
还没有找到您心仪的内容?请用.net源码大搜捕
代码片断 打包下载该项目完整源码:固定资产管理系统源码
51Aspx.com 版权所有 CopyRight © 2006-2010. 京ICP备06046876号 本站法律顾问:ITlaw-庄毅雄律师
返回顶部
客户服务:点击这里进行客户咨询 业务合作:点击这里洽谈业务合作 合作热线:010-68880146