自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 js时间的比较

function timecheck() { //进入时间 var starttime = Xrm.Page.getAttribute("new_starttime").getValue(); //离开时间 var endtime = Xrm.Page.getAttribute("new_endtime").getValue(); if (start

2017-02-17 11:10:09 231

原创 前端js的弹框

function iscopy() { if (Xrm.Page.getAttribute("new_iscopy").getValue() == false) { Xrm.Utility.confirmDialog("是否复制", yesCloseCallback, noCloseCallback) }}function yesCloseCallba

2017-02-16 18:08:08 733

转载 C#中取整函数

Math.Ceiling:只要有小数都加1Math.Floor:总是舍去小数Math.Round:四舍六入五取偶Math.Round(0.0) //0Math.Round(0.1) //0Math.Round(0.2) //0Math.Round(0.3) //0Math.Round(0.4) //0Math.Round(0.5) //0

2017-02-08 13:20:02 5382

原创 C#时间间隔

public static double dateDiff(DateTime startDate, DateTime endDate) { TimeSpan ts = endDate.Subtract(startDate);//TimeSpan得到fromTime和toTime的时间间隔 double countday = ts.

2017-02-08 13:17:36 311

原创 CRM中打印某条记录的报表

function print() { var iHeight = "800"; var iWidth = "800"; var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //获得窗口的垂直位置; var iLeft = (window.screen.availWidth - 10 - iWi

2017-02-08 10:12:29 250

原创 移动app与CRM签名功能的实现

//CRM获取图片的body放到字段中,前端通过web资源调用(类型为PNG格式)document.getElementById("名称").src = "data:image/png;base64," + Xrm.Page.getAttribute("存放图片信息的字段").getValue(); document.getElementById("名称").style.vis

2017-02-08 10:05:25 490

原创 sql语句根据月份动态的求平均数

//sum(电费)---汇总电费//count(电费) --汇总月份select sum(电费)/count(电费) as a from 表with (nolock) where  new_year = 年份  and 电费>0

2017-02-08 10:03:04 2202 1

原创 crm与移动app(andriod和ios)图片的查看与保存

//移动端图片的查看(将图片的路径返回给移动端)                        string filname = annotationqueColletionEntities.Attributes["filename"].ToString().Replace(" ", ""); ; byte[] array = Convert.FromBase64String(annotat

2017-02-07 14:04:37 559

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除