--1、while循环declare @sum intdeclare @i intset
@i=1set @sum=0while(@i90) print @iendprint @sum--2、goto语句declare @num intset
@num=100flag:print @numsel.....
分类:
数据库 时间:
2014-05-21 22:20:40
阅读次数:
468
using System;using System.Collections.Generic;using
System.Linq;using System.Runtime.InteropServices;using System.Text;namespace
Common{ public cla...
分类:
数据库 时间:
2014-05-21 20:41:53
阅读次数:
333
MongoDB C# Driver是官方提供的.NET C#驱动。 Getting
Started with the C# Driver C# Driver Tutorial C# Driver LINQ Tutorial Serialize
Documents with the C# Driver...
分类:
数据库 时间:
2014-05-21 20:28:24
阅读次数:
446
1.介绍 该教程涵盖了1.8版本的C#驱动中的LINQ查询。你可能已经阅读最新的C#
Driver Tutorial。 2.快速开始 首先,给程序添加下面的using声明 using
MongoDB.Driver.Linq;然后,像往常一样,获取一个collection的引用变量:var colle...
分类:
其他好文 时间:
2014-05-21 19:14:39
阅读次数:
385
今天在工作中走了很多的弯路,仔细回想下
是自己的基础知识太薄弱了,很多知识点都是似是而非的状态,一知半解的,比如
linq中的entity.select(e=>e.Name).contians("sa")
竟然不知道到底返回的是社么类型,要有的专业精神还有就是sql的类型装换,完全没有印象了 se....
分类:
其他好文 时间:
2014-05-21 18:04:41
阅读次数:
238
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;
us...
分类:
其他好文 时间:
2014-05-21 09:36:30
阅读次数:
302
题目:
Given an array of integers, find two numbers such that they add up to a specific target number.
The function twoSum should return indices of the two numbers such that they add up t...
分类:
其他好文 时间:
2014-05-21 07:42:18
阅读次数:
230
大数相加
[cpp] view
plaincopy
#include
#include
char a[10001],b[10001],sum[10002];
int BigIntegerAdd(){
//两个数的长度
int lena = strlen(a);
int l...
分类:
其他好文 时间:
2014-05-21 06:32:32
阅读次数:
361
一:上图二:代码主界面代码using System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
System.Drawing;using System.Linq;using ...
#define LOCAL#include#includeconst int
MAX_N=100;int a[MAX_N],b[MAX_N];void init(){ for(int i=0;i=1) {
if(b[sum-1]<10) printf(...
分类:
其他好文 时间:
2014-05-21 04:53:29
阅读次数:
175