本文整理汇总了C#中ObjectDataSourceStatusEventArgs类的典型用法代码示例。如果您正苦于以下问题:C# ObjectDataSourceStatusEventArgs类的具体用法?C# ObjectDataSourceStatusEventArgs怎么用?C# ObjectDataSourceStatusEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ObjectDataSourceStatusEventArgs类属于命名空间,在下文中一共展示了ObjectDataSourceStatusEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: ObjectDataSource1_Selected
protected void ObjectDataSource1_Selected(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.AffectedRows == 0)
{
}
}
开发者ID:wuyongqiang,项目名称:WebDevAssgn,代码行数:7,代码来源:Test.aspx.cs
示例2: odsPeriodReimburse_Inserted
protected void odsPeriodReimburse_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.Exception != null) {
PageUtility.DealWithException(this, e.Exception);
e.ExceptionHandled = true;
}
}
开发者ID:hijoy,项目名称:CPL_ERS,代码行数:7,代码来源:PeriodReimburse.aspx.cs
示例3: OdsMap_Deleted
protected void OdsMap_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (this.MapChanged != null)
{
MapChanged(this, new EventArgs());
}
}
开发者ID:Lucasus,项目名称:sepuku,代码行数:7,代码来源:Map.ascx.cs
示例4: sourceEmployees_Inserted
protected void sourceEmployees_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.Exception == null)
{
lblConfirmation.Text = "Inserted record " + e.ReturnValue.ToString();
}
}
开发者ID:Helen1987,项目名称:edu,代码行数:7,代码来源:ObjectDataSourceInsert.aspx.cs
示例5: odsCity_Updated
protected void odsCity_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.Exception != null) {
PageUtility.DealWithException(this, e.Exception);
e.ExceptionHandled = true;
}
}
开发者ID:hijoy,项目名称:CPL_ERS,代码行数:7,代码来源:City.aspx.cs
示例6: BookingCancelledObjectDataSource_Updated
protected void BookingCancelledObjectDataSource_Updated(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.AffectedRows == -1)
{
}
}
开发者ID:andersruberg,项目名称:RehabWeb,代码行数:7,代码来源:BookingInfo.aspx.cs
示例7: ProcessException
protected void ProcessException(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.Exception != null)
{
//We can dispaly a message
}
}
开发者ID:gnguyen7,项目名称:E-Restaurant,代码行数:7,代码来源:ManageSpecialEvents.aspx.cs
示例8: ODS_ItemReference_Inserted
protected void ODS_ItemReference_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(this, null);
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:7,代码来源:New.ascx.cs
示例9: ObjectDataSource1_Deleted
// The following two event handlers illustrate two different techniques you can use to
// correctly handle deleting when using custom paging with an ObjectDataSource. Currently,
// these event handlers aren't wired up to any event, so they have no effect. But if you
// configure the GridView to support deleing, you'll want to use either one of these two
// approaches so that when a user deletes the last record from a page, the GridView's PageIndex
// is updated accordingly.
protected void ObjectDataSource1_Deleted(object sender, ObjectDataSourceStatusEventArgs e)
{
// If we get back a Boolean value from the DeleteProduct method and it's true, then
// we successfully deleted the product. Set AffectedRows to 1
if (e.ReturnValue is bool && ((bool)e.ReturnValue) == true)
e.AffectedRows = 1;
}
开发者ID:kjeans,项目名称:online-shop,代码行数:13,代码来源:EfficientPaging.aspx.cs
示例10: TourDetailDataset_Inserted
protected void TourDetailDataset_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.ReturnValue != null && e.ReturnValue is int)
{
Response.Redirect("TourDetail.aspx?id=" + e.ReturnValue.ToString());
}
}
开发者ID:solo123,项目名称:AGMV,代码行数:7,代码来源:TourDetail.aspx.cs
示例11: BusinessManagerDataSource1_Selected
protected void BusinessManagerDataSource1_Selected(object sender, ObjectDataSourceStatusEventArgs e)
{
if (this.grdSystemParameters.Rows.Count <= 0)
{
this.frmSystemParameter.Visible = true;
this.grdSystemParameters.Visible = false;
}
}
开发者ID:sidneylimafilho,项目名称:InfoControl,代码行数:8,代码来源:SystemParameters.aspx.cs
示例12: ODS_Routing_Inserted
protected void ODS_Routing_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(routing.Code, e);
ShowSuccessMessage("MasterData.Routing.Insert.Successfully", routing.Code);
}
}
开发者ID:Novthirteen,项目名称:sconit_timesseiko,代码行数:8,代码来源:New.ascx.cs
示例13: PendingAds_Selected
protected void PendingAds_Selected(object sender, ObjectDataSourceStatusEventArgs e)
{
AdsDataComponent.AdsDataTable inactiveAds = e.ReturnValue as AdsDataComponent.AdsDataTable;
if (inactiveAds != null && inactiveAds.Rows.Count > 0)
ActivationAdsPanel.Visible = true;
else
ActivationAdsPanel.Visible = false;
}
开发者ID:PratikPramanik,项目名称:labdms,代码行数:8,代码来源:MyAds.aspx.cs
示例14: ODS_Role_Inserted
protected void ODS_Role_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(role.Code, e);
ShowSuccessMessage("Security.Role.AddRole.Successfully", role.Code);
}
}
开发者ID:Novthirteen,项目名称:sconit_timesseiko,代码行数:8,代码来源:New.ascx.cs
示例15: ODS_Client_Inserted
protected void ODS_Client_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(client.ClientId, e);
ShowSuccessMessage("MasterData.Client.AddClient.Successfully", client.ClientId);
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:8,代码来源:New.ascx.cs
示例16: ODS_Supplier_Inserted
protected void ODS_Supplier_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(supplier.Code, e);
ShowSuccessMessage("MasterData.Supplier.AddSupplier.Successfully", supplier.Code);
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:8,代码来源:New.ascx.cs
示例17: ObjectDataSourceArchive_Inserted
protected void ObjectDataSourceArchive_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (e.Exception == null)
{
if (e.AffectedRows == -1)
nrofBookingsArchived++;
}
}
开发者ID:andersruberg,项目名称:RehabWeb,代码行数:8,代码来源:Maintainance.aspx.cs
示例18: ODS_Flow_Inserted
protected void ODS_Flow_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(flow.Code, e);
ShowSuccessMessage("MasterData.Flow.AddFlow.Successfully", flow.Code);
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:8,代码来源:New.ascx.cs
示例19: ODS_Employee_Inserted
protected void ODS_Employee_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(employee.Code, e);
ShowSuccessMessage("MasterData.Employee.AddEmployee.Successfully", employee.Code);
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:8,代码来源:New.ascx.cs
示例20: ODS_SpecialTime_Inserted
protected void ODS_SpecialTime_Inserted(object sender, ObjectDataSourceStatusEventArgs e)
{
if (CreateEvent != null)
{
CreateEvent(specialTime.ID.ToString(), e);
ShowSuccessMessage("MasterData.WorkCalendar.Insert.Successfully");
}
}
开发者ID:Novthirteen,项目名称:yfkey-scms,代码行数:8,代码来源:New.ascx.cs
注:本文中的ObjectDataSourceStatusEventArgs类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论