YuanRPEdit.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
public partial class YuanRPEdit : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
int intRowsIndex = 0;
if (Request.QueryString["RowIndex_jc"] != null)
{
intRowsIndex = int.Parse(Request.QueryString["RowIndex_jc"].ToString());
Hid_RowIndex.Value = intRowsIndex.ToString();
}
String strCommand = "";
if (Request.QueryString["Command"] != null)
{
strCommand = Request.QueryString["Command"].ToString();
Hid_Command.Value = strCommand;
}
if (strCommand == "UPDATE")
{
DataTable T_Yuan_RP = (DataTable)Session["T_Yuan_RP"];
Yuan_RP yuan_rp = new Yuan_RP();
publicFunction pFunction = new publicFunction();
Yuan_ID.Value = T_Yuan_RP.Rows[intRowsIndex]["Yuan_ID"].ToString();
Yuan_Name.Value = T_Yuan_RP.Rows[intRowsIndex]["Yuan_Name"].ToString();
RP_ID.Value = T_Yuan_RP.Rows[intRowsIndex]["RP_ID"].ToString();
RP_Name.Value = T_Yuan_RP.Rows[intRowsIndex]["RP_Name"].ToString();
RP_Value.Value = T_Yuan_RP.Rows[intRowsIndex]["Yuan_RP_Value"].ToString();
Yuan_RP_Date.Value = pFunction.GetDate(DateTime.Parse(T_Yuan_RP.Rows[intRowsIndex]["Yuan_RP_Date"].ToString()));
Yuan_RP_YuanY.Text = T_Yuan_RP.Rows[intRowsIndex]["Yuan_RP_YuanY"].ToString();
Yuan_RP_Memo.Text = T_Yuan_RP.Rows[intRowsIndex]["Yuan_RP_Memo"].ToString();
}
}
}
protected void butSave_Click(object sender, EventArgs e)
{
Yuan_RP yuan_rp = new Yuan_RP();
publicFunction pFunction = new publicFunction();
int intYuanID = int.Parse(Yuan_ID.Value);
String strYuanName = Yuan_Name.Value;
int intRPID = int.Parse(RP_ID.Value);
String strRPName = RP_Name.Value;
float strYuanRPValue = float.Parse(RP_Value.Value);
DateTime dtYuanRPDate = DateTime.Parse(Yuan_RP_Date.Value);
后面还有 41 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
