您目前尚未登陆,请选择【登陆】或【注册
首页->行政办公->固定资产管理系统源码>>DepreciationManage/QueryDepreciationForm.aspx.cs>>代码在线查看
温馨提示:代码在线浏览功能只能做为源码浏览参考,不能展示项目的全部,如果想更进一步了解该代码请下载:固定资产管理系统源码


当前文件路径:DepreciationManage/DepreciationManage/QueryDepreciationForm.aspx.cs 文件类型
普通视图
		            
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源码大搜捕
代码片断 打包下载该项目完整源码:固定资产管理系统源码

- 森林Asp.net留言板(C#.net)源..

- Openlab开源综合社区系统

- Asp.net2.0自动排班系统源码

- Discuz!NT 1.0 正式版(愚人节..

- 51aspx实现的Asp.net无刷新中..

- DicuzNT论坛1.0SQLServer版源码

- DotNetTextBox V3.0 所见即所..

- Asp.net简单投票系统源码

51Aspx.com 版权所有 CopyRight © 2000-2008. 京ICP备06046876号