当前位置: 首页>>代码示例>>C#>>正文


C# CStoredProc.addDatetimeInputParam方法代码示例

本文整理汇总了C#中IP.Core.IPUserService.CStoredProc.addDatetimeInputParam方法的典型用法代码示例。如果您正苦于以下问题:C# CStoredProc.addDatetimeInputParam方法的具体用法?C# CStoredProc.addDatetimeInputParam怎么用?C# CStoredProc.addDatetimeInputParam使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IP.Core.IPUserService.CStoredProc的用法示例。


在下文中一共展示了CStoredProc.addDatetimeInputParam方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Fill_TONG_HOP_BILL_CHUA_GUI_CHO_CPN

 public void Fill_TONG_HOP_BILL_CHUA_GUI_CHO_CPN(DS_V_BC_TONG_HOP_BILL_BI_TRA_LAI_WEB ip_v_ds, decimal ip_v_id_trung_tam, DateTime ip_v_dat_tu_ngay, DateTime ip_v_dat_den_ngay, string ip_nguoi_gui)
 {
     CStoredProc v_store_proc = new CStoredProc("pr_BAO_CAO_TONG_HOP_BILL_CHUA_GUI_CHO_CPN_WEB_2");
     v_store_proc.addDecimalInputParam("@ID_TRUNG_TAM", ip_v_id_trung_tam);
     v_store_proc.addNVarcharInputParam("@NGUOI_GUI", ip_nguoi_gui);
     v_store_proc.addDatetimeInputParam("@TU_NGAY", ip_v_dat_tu_ngay);
     v_store_proc.addDatetimeInputParam("@DEN_NGAY", ip_v_dat_den_ngay);
     v_store_proc.fillDataSetByCommand(this, ip_v_ds);
 }
开发者ID:tudm,项目名称:QuanLyHanhChinh,代码行数:9,代码来源:US_V_BC_TONG_HOP_BILL_BI_TRA_LAI_WEB.cs

示例2: FillDatasetChungChiHetHan

 internal void FillDatasetChungChiHetHan(DataSet v_ds, DateTime dateTime)
 {
     CStoredProc v_cstore = new CStoredProc("get_chung_chi_het_han_theo_ngach");
     v_cstore.addDatetimeInputParam("@ngay",dateTime );
     v_cstore.fillDataSetByCommand(this, v_ds);
 }
开发者ID:anhphamkstn,项目名称:BKI_DVMC,代码行数:6,代码来源:WinFormControls.cs

示例3: fill_data_bo_loc

 public void fill_data_bo_loc(DS_V_HT_LOG_TRUY_CAP op_ds_ht_log_truy_cap
                         , string ip_str_username
                         , DateTime ip_dat_tu_ngay
                         , DateTime ip_dat_den_ngay
                         , decimal ip_dc_id_hanh_dong)
 {
     CStoredProc v_cstore = new CStoredProc("pr_V_HT_LOG_TRUY_CAP_filter");
     v_cstore.addNVarcharInputParam("@USERNAME", ip_str_username);
     v_cstore.addDatetimeInputParam("@TU_NGAY", ip_dat_tu_ngay);
     v_cstore.addDatetimeInputParam("@DEN_NGAY", ip_dat_den_ngay);
     v_cstore.addDecimalInputParam("@ID_LOAI_HANH_DONG", ip_dc_id_hanh_dong);
     v_cstore.fillDataSetByCommand(this, op_ds_ht_log_truy_cap);
 }
开发者ID:anhphamkstn,项目名称:BKI_DVMC,代码行数:13,代码来源:US_V_HT_LOG_TRUY_CAP.cs

示例4: bc_giao_von_quy_bao_tri_theo_qd

 public void bc_giao_von_quy_bao_tri_theo_qd(DataSet ip_ds
     , decimal ip_id_don_vi
     , decimal ip_dc_id_loai_nhiem_vu
     , decimal ip_dc_id_cong_trinh
     , decimal ip_dc_id_du_an
     , DateTime ip_dat_tu_ngay
     , DateTime ip_dat_den_ngay
     , string ip_str_tu_khoa
     , string ip_nguon_ns)
 {
     CStoredProc v_prc = new CStoredProc("pr_A256_giao_von_theo_quyet_dinh");
     v_prc.addDecimalInputParam("@ip_dc_id_don_vi", ip_id_don_vi);
     v_prc.addDecimalInputParam("@ip_dc_id_du_an", ip_dc_id_du_an);
     v_prc.addDecimalInputParam("@ip_dc_id_cong_trinh", ip_dc_id_cong_trinh);
     v_prc.addDecimalInputParam("@ip_dc_id_loai_nhiem_vu", ip_dc_id_loai_nhiem_vu);
     v_prc.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
     v_prc.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
     v_prc.addNVarcharInputParam("@ip_str_tu_khoa", ip_str_tu_khoa);
     v_prc.addNVarcharInputParam("@ip_nguon_ns", ip_nguon_ns);
     v_prc.fillDataSetByCommand(this, ip_ds);
 }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:21,代码来源:US_V_GD_GIAI_NGAN_QBT.cs

示例5: get_dm_uy_nhiem_chi_by_don_vi_va_ngay_thang

 public void get_dm_uy_nhiem_chi_by_don_vi_va_ngay_thang(DS_DM_GIAI_NGAN op_ds
     , decimal ip_dc_id_don_vi
     , DateTime ip_dat_tu_ngay
     , DateTime ip_dat_den_ngay
     , string ip_nguon_ns)
 {
     CStoredProc v_sp = new CStoredProc("pr_get_dm_uy_nhiem_chi_by_don_vi_va_ngay_thang");
     v_sp.addDecimalInputParam("@ip_dc_id_don_vi", ip_dc_id_don_vi);
     v_sp.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
     v_sp.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
     v_sp.addNVarcharInputParam("@ip_nguon_ns", ip_nguon_ns);
     v_sp.fillDataSetByCommand(this, op_ds);
 }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:13,代码来源:US_DM_GIAI_NGAN.cs

示例6: KiemTraThoiGianHeSoLNSHopLeForInsert

        public bool KiemTraThoiGianHeSoLNSHopLeForInsert(decimal ip_dc_id_nhan_vien, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay)
        {
            CStoredProc v_cstore = new CStoredProc("pr_HD_du_lieu_hs_lns_hop_le_CheckInsert");
            v_cstore.addDecimalInputParam("@ip_dc_id_nhan_vien", ip_dc_id_nhan_vien);
            v_cstore.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
            v_cstore.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);

            SqlParameter v_yn = v_cstore.addNVarcharOutputParam("@op_str_hop_le_yn", "");
            v_cstore.ExecuteCommand(this);

            return v_yn.Value.ToString() == "Y" ? true : false;
        }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:12,代码来源:US_GD_HE_SO_LNS.cs

示例7: LayDanhSachHopDongThayDoiHeSoLNS

        public DataTable LayDanhSachHopDongThayDoiHeSoLNS(DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay)
        {
            CStoredProc v_cs = new CStoredProc("pr_HD_hop_dong_thay_doi_he_so_lns_GetAll");
            v_cs.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
            v_cs.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
            DataSet v_ds = new DataSet();
            v_ds.Tables.Add();
            v_cs.fillDataSetByCommand(this, v_ds);

            return v_ds.Tables[0];
        }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:11,代码来源:US_GD_HE_SO_LNS.cs

示例8: FillDataset

 public void FillDataset(DS_V_RPT_410_BAO_CAO_TAI_CHINH_THEO_LOP_MON op_ds
     , DateTime ip_dat_tu_ngay
     , DateTime ip_dat_den_ngay
     , decimal ip_dc_id_lop_mon
     , string ip_str_search)
 {
     CStoredProc v_obj_spr = new CStoredProc("f410_bao_cao_tai_chinh_theo_lop_mon");
     v_obj_spr.addDecimalInputParam("@ip_dc_id_lop_mon", ip_dc_id_lop_mon);
     v_obj_spr.addDatetimeInputParam("@ip_dat_dau_thang", ip_dat_tu_ngay);
     v_obj_spr.addDatetimeInputParam("@ip_dat_cuoi_thang", ip_dat_den_ngay);
     v_obj_spr.addNVarcharInputParam("@ip_str_search", ip_str_search);
     v_obj_spr.fillDataSetByCommand(this, op_ds);
 }
开发者ID:assassinadal,项目名称:bki-trung-tam-quoc-anh,代码行数:13,代码来源:US_V_RPT_410_BAO_CAO_TAI_CHINH_THEO_LOP_MON.cs

示例9: thay_doi_trang_thai_lao_dong

        public void thay_doi_trang_thai_lao_dong(decimal ip_dc_id_nhan_vien
            , decimal ip_dc_id_trang_thai_chuyen
            , DateTime ip_dat_ngay_lap
            , string ip_str_nguoi_lap)
        {
            CStoredProc v_sp = new CStoredProc("pr_thay_doi_trang_thai_lao_dong");
            v_sp.addDecimalInputParam("@ip_dc_id_nhan_vien", ip_dc_id_nhan_vien);
            v_sp.addDecimalInputParam("@ip_dc_id_trang_thai_chuyen", ip_dc_id_trang_thai_chuyen);
            v_sp.addDatetimeInputParam("@ip_dat_ngay_lap", ip_dat_ngay_lap);
            v_sp.addNVarcharInputParam("@ip_str_nguoi_lap", ip_str_nguoi_lap);

            v_sp.ExecuteCommand(this);
        }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:13,代码来源:US_GD_TRANG_THAI_LAO_DONG.cs

示例10: FillDataset

        public void FillDataset(DS_V_RPT_BAO_CAO_TINH_HINH_TAI_CHINH_HOC_SINH_LOP_MON op_ds
            , DateTime ip_dat_tu_ngay
            , DateTime ip_dat_den_ngay
            , decimal ip_dc_id_hoc_sinh
            , string ip_str_search)
        {
            CStoredProc v_obj_spr = new CStoredProc("f480_bao_cao_tien_phai_thu_theo_hoc_sinh_lop_mon");
            v_obj_spr.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
            v_obj_spr.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
            v_obj_spr.addDecimalInputParam("@ip_dc_id_hoc_sinh", ip_dc_id_hoc_sinh);
            v_obj_spr.addNVarcharInputParam("@ip_str_search", ip_str_search);

            v_obj_spr.fillDataSetByCommand(this, op_ds);
        }
开发者ID:assassinadal,项目名称:bki-trung-tam-quoc-anh,代码行数:14,代码来源:US_V_RPT_BAO_CAO_TINH_HINH_TAI_CHINH_HOC_SINH_LOP_MON.cs

示例11: FillDatasetSearch_hocvien_tuyenmoi

 public void FillDatasetSearch_hocvien_tuyenmoi(DS_V_GD_THONG_KE ip_m_ds, string ip_v_str_tim_kiem, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay, decimal v_id_loai_dinh_muc)
 {
     CStoredProc v_stored_proc = new CStoredProc("pr_V_GD_THONG_KE_Search_hocvien_tuyenmoi");
     v_stored_proc.addNVarcharInputParam("@TU_KHOA", ip_v_str_tim_kiem);
     v_stored_proc.addDatetimeInputParam("@TU_NGAY", ip_dat_tu_ngay);
     v_stored_proc.addDatetimeInputParam("@DEN_NGAY", ip_dat_den_ngay);
     v_stored_proc.addDecimalInputParam("@ID_LOAI_DINH_MUC", v_id_loai_dinh_muc);
     v_stored_proc.fillDataSetByCommand(this, ip_m_ds);
 }
开发者ID:tudm,项目名称:QuanLyHanhChinh,代码行数:9,代码来源:US_V_GD_THONG_KE.cs

示例12: FillDatasetSearch

 public void FillDatasetSearch(DS_V_TONG_HOP_CPN_THEO_PHONG_BAN ip_v_ds, string ip_v_str_tu_khoa, decimal ip_v_id_phong_ban, DateTime ip_v_dt_tu_ngay, DateTime ip_v_dt_den_ngay)
 {
     CStoredProc v_stored_proc = new CStoredProc("pr_TONG_HOP_CPN_THEO_PHONG_BAN_Search");
     v_stored_proc.addNVarcharInputParam("@TU_KHOA", ip_v_str_tu_khoa);
     v_stored_proc.addDecimalInputParam("@ID_PHONG_BAN", ip_v_id_phong_ban);
     v_stored_proc.addDatetimeInputParam("@TU_NGAY", ip_v_dt_tu_ngay);
     v_stored_proc.addDatetimeInputParam("@DEN_NGAY", ip_v_dt_den_ngay);
     v_stored_proc.fillDataSetByCommand(this, ip_v_ds);
 }
开发者ID:tudm,项目名称:QuanLyHanhChinh,代码行数:9,代码来源:US_TONG_HOP_CPN_THEO_PHONG_BAN.cs

示例13: update_ten_du_an_giao_kh_to_giao_von_va_unc

 //public decimal getTongTienKH(
 //    decimal ip_dc_id_don_vi
 //    , DateTime ip_dat_tu_ngay
 //    , DateTime ip_dat_den_ngay
 //    , string ip_str_is_nguon_ns_yn
 //    , decimal ip_dc_id_loai_du_an)
 //{
 //    decimal op_dc_tong_tien = 0;
 //    DS_GD_GIAO_KH v_ds = new DS_GD_GIAO_KH();
 //    v_ds.Clear();
 //    v_ds.EnforceConstraints = false;
 //    CStoredProc v_sp = new CStoredProc("pr_GD_GIAO_KH_tong_so_tien");
 //    v_sp.addDecimalInputParam("@ip_dc_id_don_vi", ip_dc_id_don_vi);
 //    v_sp.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
 //    v_sp.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
 //    v_sp.addNVarcharInputParam("@ip_str_is_nguon_ns_yn", ip_str_is_nguon_ns_yn);
 //    v_sp.addDecimalInputParam("@ip_dc_id_loai_du_an", ip_dc_id_loai_du_an);
 //    v_sp.fillDataSetByCommand(this, v_ds);
 //    for (int i = 0; i < v_ds.Tables[0].Rows.Count; i++)
 //    {
 //        if (v_ds.Tables[0].Rows[i][GD_GIAO_KH.SO_TIEN_NS] != null && v_ds.Tables[0].Rows[i][GD_GIAO_KH.SO_TIEN_QUY_BT] != null)
 //        {
 //            op_dc_tong_tien += CIPConvert.ToDecimal(v_ds.Tables[0].Rows[i][GD_GIAO_KH.SO_TIEN_NS]) + CIPConvert.ToDecimal(v_ds.Tables[0].Rows[i][GD_GIAO_KH.SO_TIEN_QUY_BT]);
 //        }
 //    }
 //    return op_dc_tong_tien;
 //}
 public bool update_ten_du_an_giao_kh_to_giao_von_va_unc(
     decimal ip_dc_id_don_vi
     , decimal ip_dc_id_loai_nhiem_vu
     , decimal ip_dc_id_du_an_cong_trinh
     , string ip_str_ten_du_an_cu
     , string ip_str_ten_du_an_moi
     , DateTime ip_dat_tu_ngay
     , DateTime ip_dat_den_ngay)
 {
     CStoredProc v_sp = new CStoredProc("pr_update_ten_du_an_from_gd_giao_kh");
     v_sp.addDecimalInputParam("@ip_dc_id_don_vi", ip_dc_id_don_vi);
     v_sp.addDecimalInputParam("@ip_dc_id_loai_nhiem_vu", ip_dc_id_loai_nhiem_vu);
     v_sp.addDecimalInputParam("@ip_dc_id_du_an_cong_trinh", ip_dc_id_du_an_cong_trinh);
     v_sp.addNVarcharInputParam("@ip_str_ten_du_an_cu", ip_str_ten_du_an_cu);
     v_sp.addNVarcharInputParam("@ip_str_ten_du_an_moi", ip_str_ten_du_an_moi);
     v_sp.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
     v_sp.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
     try
     {
         v_sp.ExecuteCommand(this);
     }
     catch (Exception)
     {
         return false;
     }
     return true;
 }
开发者ID:nguyendanhtu,项目名称:bki-quan-ly-du-toan,代码行数:54,代码来源:US_GD_CHI_TIET_GIAO_KH.cs

示例14: v_ht_van_thu_history_search_F660

 public void v_ht_van_thu_history_search_F660(
     DS_V_HT_VAN_THU_HISTORY op_ds
     ,DateTime ip_dat_tu_ngay
     ,DateTime ip_dat_den_ngay
     ,string ip_str_tu_khoa)
 {
     CStoredProc v_sp = new CStoredProc("pr_v_ht_van_thu_history_search_F660");
     v_sp.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
     v_sp.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
     v_sp.addNVarcharInputParam("@ip_str_tu_khoa", ip_str_tu_khoa);
     v_sp.fillDataSetByCommand(this, op_ds);
 }
开发者ID:tudm,项目名称:QuanLyHanhChinh,代码行数:12,代码来源:US_V_HT_VAN_THU_HISTORY.cs

示例15: FillDatasetBCBienDong

 public DataTable FillDatasetBCBienDong(DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay)
 {
     CStoredProc v_cstore = new CStoredProc("pr_RPTTH_bao_cao_bien_dong_he_so_lns");
     v_cstore.addDatetimeInputParam("@ip_dat_tu_ngay", ip_dat_tu_ngay);
     v_cstore.addDatetimeInputParam("@ip_dat_den_ngay", ip_dat_den_ngay);
     DataSet v_ds = new DataSet();
     v_ds.Tables.Add(new DataTable());
     v_cstore.fillDataSetByCommand(this, v_ds);
     return v_ds.Tables[0];
 }
开发者ID:assassinadal,项目名称:BKIProject-DichVuMatDat,代码行数:10,代码来源:US_GD_HE_SO_LNS.cs


注:本文中的IP.Core.IPUserService.CStoredProc.addDatetimeInputParam方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。