- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 全排列,递归。
using System;using System.Collections.Generic;using System.Linq;using System.Text; namespace ConsoleApplication1{ class Program { static void Main(string[] args) {
2013-03-21 17:26:04
471
转载 c#, 枚举,Enum
本文转载自 小飞侠---浅谈C#中的枚举枚举类型是一种的值类型,它用于声明一组命名的常数。 (1)枚举的声明:枚举声明用于声明新的枚举类型。 访问修辞符 enum 枚举名:基础类型 { 枚举成员 } 基础类型必须能够表示该枚举中定义的所有枚举数值。枚举声明可以显式地声明 byte、sbyte
2012-08-11 17:54:20
460
转载 C# DataView.RowFilter的使用
本文转自 点击打开链接DataView RowFilter Syntax [C#]This example describes syntax of DataView.RowFil?ter expression. It shows how to correctly build expression string (without ?SQL injection“) using
2012-08-11 13:31:49
2149
原创 邮件发送 -- 完成部分 --求高人指点
邮件发送 ╰寂、小魔 ̄点击跳转代码详解。using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;usi
2012-08-10 14:44:51
888
原创 c# *号 查询的方法 文本框带*号
/// /// *转%,sql的模糊查询 /// /// 字段名 /// 字段值 /// T-SQL public static string SelectCmd(string key,string value) { if ((value.IndexOf("*
2012-08-02 16:20:38
626
原创 c#SQL里的那些事
//方便用来拼接sql的 不知道用处大不大,,有测试后 有很多bug 待改进 欢迎指出 public abstract class CreateSQLWhere { /// /// 查询时默认条件 /// public static string DefaultText = ""; ///
2012-08-02 16:17:03
551
转载 insert into select from 与 select into from
select * into destTbl from srcTbl insert into destTbl(fld1, fld2) select fld1, 5 from srcTbl 以上两句都是将 srcTbl 的数据插入到 destTbl,但两句又有区别的。第一句(select into from)要求目标表(destTbl)不存在,因为在插入时会自动创建。第二
2012-04-23 09:13:37
403
优化sql的测试数据
2014-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人