本文整理汇总了C#中Whitfieldcore.InsertEstimateMain方法的典型用法代码示例。如果您正苦于以下问题:C# Whitfieldcore.InsertEstimateMain方法的具体用法?C# Whitfieldcore.InsertEstimateMain怎么用?C# Whitfieldcore.InsertEstimateMain使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Whitfieldcore
的用法示例。
在下文中一共展示了Whitfieldcore.InsertEstimateMain方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: btnnew_Click
protected void btnnew_Click(object sender, EventArgs e)
{
String PrjNumber = "0";
if (txtrealprjNumber.Text.Trim() == "")
{
PrjNumber = "0";
}
else
{
PrjNumber = txtrealprjNumber.Text.Trim();
}
Whitfieldcore _wc = new Whitfieldcore();
if (Page.IsValid)
{
Boolean IsInsertSuccess = false;
IsInsertSuccess = _wc.InsertEstimateMain(ViewState["EstNum"].ToString(),
txtprjname.Text.Trim(),
txtdesc.Text.Trim(),
txtNotes.Text.Trim(),
ddlprjtype.SelectedItem.Value,
txtBidDate.Text.Trim(),
txtEditStartTime.Text.Trim(),
txtawardDate.Text.Trim(),
txtARD.Text.Trim(),
txtConstStdate.Text.Trim(),
txtConstEndDate.Text.Trim(),
txtConstDuration.Text.Trim(),
"0",
ddlPrjStatus.SelectedItem.Value,
"0",
ddlwonclient.SelectedItem.Value,
ddlwoncompe.SelectedItem.Value,
txtfinalbid.Text.Trim(),
txtbasebid.Text.Trim(),
"N",
ddlarchitect.SelectedItem.Value,
"Y",
"Y",
ddlEstimator.SelectedItem.Value, PrjNumber.Trim(),txtfabStartdate.Text.Trim(),txtfabEndDate.Text.Trim(),txtfabduration.Text.Trim(),txtStreet.Text.Trim(),txtCity.Text.Trim(),txtState.Text.Trim(),txtzip.Text.Trim());
lblMsg.Text = "Your record is added successfully.";
}
}