- 博客(42)
- 资源 (2)
- 收藏
- 关注
转载 浏览器兼容性处理
除IE外都可识别 所有的IE可识别 仅IE6可识别 IE6以及IE6以下版本可识别 IE6以及IE6以上版本可识别 仅IE7可识别 IE7以及IE7以下版本可识别 IE7以及IE7以上版本可识别 仅IE8可识别 仅IE9可识别
2014-09-13 13:10:25
497
转载 未能加载文件或程序集“”或它的某一个依赖项。系统找不到指定的文件
未能加载文件或程序集“”或它的某一个依赖项。系统找不到指定的文件连续两天都为这个运行时错误“类型初始值设定项引发异常”而烦恼,调试也不知道哪里出了问题。上网Google一下,一大堆相同的问题,可是按照那些方法折腾来折腾去,问题还是一样。最后在优快云上发帖子问了,果然“重赏之下必有勇夫”,很快就有高手回复了,问题也随着解决了。哈哈。在此写个随笔,以后如果大家遇到类似问题,也可参考一下,
2014-08-26 10:22:34
1666
转载 C#几种创建线程的方式
using System;using System.Threading;namespace MutiThreadSample{ /// /// 创建线程的方式 /// class CreateThread { /// /// 不带参数的委托 ///
2014-08-21 14:35:21
5146
原创 asp.net EF的简单使用
using System;using System.Collections.Generic;using System.Linq;using System.Web;namespace EFdemo{ public class Demo { static JNJewelryEntities je = new JNJewelryEntities();
2014-07-28 17:35:19
1239
原创 Ajax基础
一、简单的用js实现Ajax window.onload = function () { document.getElementById('btnGetTime').onclick = function () { //1.向服务器请求 时间 var xhr = new XMLHtt
2014-07-24 00:09:31
413
原创 asp.net参数传递
1、context.Request.QueryString 传递请求报文中的显示:显示在报文头2、Post提交的一种情况使用表单,并设置表单Method=Post,必须是表单元素、带name属性、无disabled属性接收string strNmae=HttpContext.Current.Request.Form["txtName"];
2014-07-14 00:38:20
533
原创 泛型和反射
一、概念泛型允许程序员在代码中将变量或参数的类型,先用[类型占位符]来代替,等到允许的时候再根据传入的[类]来代替泛型是指带类型参数的类,而不是参数本身。可以定义多个参数 public class Person实例化一个引用参数类型的泛型,它的内存分配的大小是一样的
2014-07-02 23:44:56
487
原创 js基础
js方法定义 function fun() { var n = 10; return n; } //var ff = fun(); //alert(ff); //方法没有返回值是undefined function add(a1,a2){
2014-06-05 00:14:01
621
翻译 wp8 LongListSelector简单使用
ui设置<phone:PhoneApplicationPage x:Class="LongListSelector.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xam
2014-05-21 23:47:21
600
翻译 wp8基于属性实现动画
方法一、C# private void Button_Click_1(object sender, RoutedEventArgs e) { //timer = new DispatcherTimer(); //timer.Interval = TimeSpan.FromMilliseconds(100);
2014-05-07 21:09:03
533
转载 事件的创建和使用
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace 代理和事件{ //继承事件基类 public class NumberEventArgs:EventArgs {
2014-05-03 16:13:31
657
转载 LINQ操作xml
using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Navigation;using Microsoft.Phone.Control
2014-05-03 14:04:49
520
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人