码迷,mamicode.com
首页 >  
搜索关键字:linq sum    ( 28189个结果
sql基础复习
--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
C#:向SqlServer数据库中插入imange类型
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# / .NET Driver
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
C# Driver LINQ Tutorial
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
LeetCode:Two Sum
题目:       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
winform小程序------加密解密,CryptoStream()的使用
一:上图二:代码主界面代码using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using ...
分类:Windows程序   时间:2014-05-21 06:20:19    阅读次数:439
读入a,b当a,b不同时为零时结束
#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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!