• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

C# ObjectDataSourceStatusEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了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;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# ObjectDisplayOptions类代码示例发布时间:2022-05-24
下一篇:
C# ObjectDataSourceSelectingEventArgs类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap