本文整理汇总了C#中DataAccess.updateAccountabilityInfo方法的典型用法代码示例。如果您正苦于以下问题:C# DataAccess.updateAccountabilityInfo方法的具体用法?C# DataAccess.updateAccountabilityInfo怎么用?C# DataAccess.updateAccountabilityInfo使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类DataAccess
的用法示例。
在下文中一共展示了DataAccess.updateAccountabilityInfo方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btn_Save_Click1
protected void btn_Save_Click1(object sender, EventArgs e)
{
DataAccess da = new DataAccess();
String res = da.updateAccountabilityInfo(Convert.ToInt32(hf_Accountability_Id.Value),
Convert.ToInt32(ddl_Acct_Next_Level.SelectedValue),
txt_Note.Text);
}
示例2: btn_Save_Click
protected void btn_Save_Click(object sender, EventArgs e)
{
//as of 8-25-2009 purly functions as a way to update the Notes of an Accountablity Report
//1/19/2012 took out the unnecessary 2nd parameter of the Level Info, as this pertains solely to Notes for the accountablity
//// String res = da.updateAccountabilityInfo(Convert.ToInt32(hf_Accountability_Id.Value),
//// Convert.ToInt32(ddl_Acct_Next_Level.SelectedValue),
//// txt_Note.Text);
////changed to
//// String res = da.updateAccountabilityInfo(Convert.ToInt32(hf_Accountability_Id.Value),
//// txt_Note.Text);
DataAccess da = new DataAccess();
String res = da.updateAccountabilityInfo(Convert.ToInt32(hf_Accountability_Id.Value),
txt_Note.Text);
}