- 博客(8)
- 收藏
- 关注
转载 XML字符串转换为对象
string strXml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><Root><Users><User UserId=\"1\" UserName=\"王二\"/><User UserId=\"2\" UserName=\"张三\"/></Users></...
2016-03-18 15:03:00
200
转载 C#简单的上传图片
//CSS代码#upload { height: 25px; } #upload input { float: left; margin: 0 20px 0 0; } #upload img { width: 25px; height: 25px; float: left; } #preview { ...
2016-02-29 17:08:00
189
转载 div居中
//css方式<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Position 定位实现 DIV 在窗口居中</title> <style type="text/css"> ...
2016-02-17 11:58:00
134
转载 jq输入数字和小数
//只能输入数字 $('.Text').keyup(function () { $(this).val($(this).val().replace(/^0+/g, "").replace(/[^0-9]/g, '')) }) //输入数字和小数(精确到小数点后两位) $('.Text').keyup(function () { var number = $(t...
2016-02-17 11:13:00
199
转载 谷歌地图根据条件画轨迹
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <titl...
2015-09-25 11:46:00
301
转载 C# DateTime类型与时间戳(毫秒值)互换
//DateTime类型转换为时间戳(毫秒值) public long DateToTicks(DateTime? time) { return ((time.HasValue ? time.Value.Ticks : DateTime.Parse("1990-01-01").Ticks) - 621355968000000000) / 10000; } //时间戳...
2015-09-22 17:12:00
3038
转载 jquery简单的日历插件
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <script...
2015-09-22 16:25:00
139
转载 在谷歌地图上画出轨迹
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>谷歌轨迹</title> ...
2015-09-18 15:35:00
1090
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人