自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

璀璨星空

星空

  • 博客(21)
  • 资源 (8)
  • 收藏
  • 关注

转载 xmlHttpRequest

XHR即XMLHttpRequest,XMLHttpRequest对象是现今所有AJAX和Web 2.0应用程序的技术基础。虽然目前的主流趋势都是在提供各种AJAX(Asynchronism Javascript And Xml)框架以进一步简化XHR对象的使用,但是,了解对象的工作机制是很有必要的,下面,小弟谈谈自己的见解,如有不当敬请指正。  AJAX是一个专用术语,用于实现在客户端脚本和服务

2011-11-22 13:42:57 418

原创 关于数据库的一些操作

1.关于用户的操作--注册windows登陆帐号exec sp_grantlogin 'niit8-2\pl'exec sp_droplogin 'niit8-2\pl'--创建角色exec sp_addrole 'r_test'--为角色分配数据表权限grant all on stuinfo to r_testgrant update,delete,insert on stut

2011-11-11 16:18:27 805

原创 自己写的一个对于数组的操作方法

首先,本方法需要传入一个委托和一个数组using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace ConsoleApplication19{ /// /// 可以生成一个动态链接库 /

2011-11-11 16:05:35 355

原创 多线程 彩票小程序

多线程 彩票小程序 //控制线程数组启动/停止 bool isRun = false; //控制label中随机数字变化的线程数组 Thread[] Ts = new Thread[3]; private void button5_Click(object sender, EventArgs e) {

2011-11-11 15:58:48 959

原创 使用linq操控数组的一些小方法

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;namespace ConsoleApplication20{ class Program { static void Main(strin

2011-11-11 15:50:00 613

原创 简单的linq to sql

首先,是使用实体层映射的方式去访问。1.实体层定义using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data.Linq.Mapping;namespace LinqtoSql{ [Table(Name = "UserInfo")]//要

2011-11-11 15:46:16 342

原创 C#绘制折线图

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace Windo

2011-11-11 15:37:10 4395 1

原创 简单的socket通讯

首先服务端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Net.Sockets;namespace Chat{ class Program { int port = 4444

2011-11-11 15:23:22 448

原创 委托和事件

委托和事件事例using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication6{ class Program { public delegate void degata1();//定义委托

2011-11-11 15:11:51 308

原创 简单的文件操作

1.一些简单的文件操作 /// /// 建立文件 /// /// /// /// private void button1_Click(object sender, EventArgs e) { try {

2011-11-11 14:58:36 271

原创 C# 序列化和反序列化

对stu类进行序列化和反序列化操作序列化所用到的stu类using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication11{ [Serializable] class student {

2011-11-11 14:51:24 442

原创 C#动态生成RadioButton

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms;namespace Windo

2011-11-11 14:41:00 4320

原创 泛型集合

1.Dictionary Dictionary Dic = new Dictionary(); Dic.Add(1, "张三"); Dic.Add(2, "李四"); Dic.Add(3, "王五"); Dic.Add(4, "赵六"); IEnumera

2011-11-11 14:37:54 442 1

原创 C#一些集合或者泛型的使用

1.Arraylist //直接获取数组中的元素并且输出 int[] arrI = { 1, 2, 3, 4, 5, 6 }; Array myArray = arrI; foreach (int item in myArray) { Console.WriteLine

2011-11-11 14:32:56 621

原创 常用的排序方法

1.冒泡法排序 int tmp = 0; for (int i = 0; i < arrI.Length - 1; i++) { for (int j = arrI.Length - 1; j > i; j--) { if

2011-11-11 14:17:09 284

原创 将winform得到的bitmap格式的普片转化成wpf image格式的图片

BitmapSource GetBitmapSource(Bitmap _bitmap) { Rectangle destRect = new Rectangle(0, 0, (int)SystemParameters.PrimaryScreenWidth, (int)SystemParameters.PrimaryScreenHeight);

2011-06-15 16:17:00 1913

原创 C# 常用的NameSpace

Microsoft.Csharp包含支持用C#语言进行编译的代码 Microsoft.Jscript包含支持用Jscript语言进行殡仪和代码生成的Jscript运行库和类 Microsoft.VisualBasic包含Visual Basic.NET运行库。此运行库于Visual Basic.NET语言一起使用。此命名空间包含支持Visual Basic.NET语言进行编

2011-06-13 11:59:00 541

原创 C# 常用的NameSpace

1. using System.Collections; 有ArrayList;Hashtable;Stack;Queue;DictionaryEntry;等集合 2. using System.Reflection; 获取Assembly 的属性值 3. using System.Data; 访问和操作数据库等类 4. using Sy

2011-06-08 15:15:00 561

原创 C#数据库问题

string connection = "Data Source=localhost;Integrated Security=SSPI;Initial Catalog=Northwind"; string sql = "select * from User"; public void Sqlconnection(string connection

2011-06-07 15:25:00 526 2

原创 关于C#窗体应用程序调用google翻译api的问题

<br />using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net;using System.IO;using TranslationAPI;using JSONUtil;namespace DrawToolsLib{ class HandWhiteTarans { /// <summa

2011-05-03 17:04:00 3453 1

原创 C#xml的一些简单处理0.0增删改查及放入listview

using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Windows;using System.Windows.Controls;using System.Windows.Data;using System.Windows.Documents;using System.Windows.Input;using System.Windows.

2011-04-20 10:19:00 754

C#数据库表结构以及在线网页和离线网页生成CHM文件工具源码

将数据库表结构转换成CHM文件以及在线网页和离线HTML文件转换成CHM文件

2018-06-07

C#大华车牌识别一体相机车牌识别

大华车牌识别一体相机车牌识别

2017-06-13

NetworkComms开源框架简单Demo

NetworkComms开源框架 p2p通讯

2017-05-17

C# Socket Tcp文件传输下载

包含简单的客户端和服务端

2017-05-04

opencv人脸识别,摄像头调用,拍照以及图片灰值化,二值化

opencv人脸识别,摄像头调用,拍照以及图片灰值化,二值化

2013-07-15

C#资源管理器

C#版本的资源管理器 ,附带windows7的图标

2013-07-15

自定义控件

关键字变色文本控件源码 附编译好的dll可直接使用

2013-07-15

数据查询停止操作

数据库查询停止(取消) 只要自己指定数据库以及具体字段即可

2013-03-01

空空如也

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

TA关注的人

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