using System;using System.Data;using System.Configuration;using System.Linq;using System.Web;using System.Web.Security;using System.Web.UI;using Syste...
分类:
其他好文 时间:
2014-07-11 23:15:16
阅读次数:
266
typ.GetType().GetProperty("BPlate").GetValue(typ, null).ToString();spa1.GetType().GetProperty(KeyString).SetValue(spa1, val, null);返回结果是:SA-240 304
分类:
其他好文 时间:
2014-07-11 21:54:15
阅读次数:
1308
What‘s LINQ? Language Integrated Query 是也。说得再明白一些,这是编程语言的一种新特性,能够将数据查询语句集成到编程语言中。 主要还是因为现在的数据格式越来越多,数据库、XML、数组、哈希表……每一种都有自己操作数据的方式,学起来费事费力。于是,就有了LINQ诞...
分类:
其他好文 时间:
2014-07-11 21:48:21
阅读次数:
1014
usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;usingSystem.Text;usingSys...
分类:
其他好文 时间:
2014-07-11 20:41:18
阅读次数:
171
第一次写博客 写的不好各位大神多多包涵。 我的分页主要是针对Linq 分页来写的,针对IEnumerable 和 IQueryable 类型数据分页。 开始上代码 创建接口:public interface IPagedList { /// /// 总记录...
分类:
Web程序 时间:
2014-07-11 20:35:49
阅读次数:
282
最近项目View层越来越趋向于无刷新化,特别是数据展示方面,还要对Linq有很好的支持.在WebFrom模式的开发中,GridView是一个功能很强大,很常用的控件,但是他也不是完美的,没有自带的无刷新和排序(有人说UpdatePanel或第三方插件就可以实现无刷新,但是呵呵...那是重量级的无刷新...
分类:
其他好文 时间:
2014-07-11 12:10:32
阅读次数:
165
//根据输入内容绑定工作令号下拉框值,匹配与输入内容相似的值 var Tcn = (from ee in LinkToSQL.TasCom from ff in ...
分类:
其他好文 时间:
2014-07-11 10:18:12
阅读次数:
129
我们的程序与抽象模型互动,因此不需要管理细节。与关系型数据库大不相同,以至于谷歌称之为datastore,而非database。App数据存储在数个不同位置,依据best-of-breed consensus protocol。datastore最好理解为object database. datas...
分类:
其他好文 时间:
2014-07-11 10:14:53
阅读次数:
198
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication2
{
classProgram
{
staticvoidMain(string[]args)
{
Moneym=newMoney();
m.Amount=30.00m;
Console.WriteLine(m.ToString());/..
分类:
其他好文 时间:
2014-07-09 08:48:12
阅读次数:
176
usingSystem;
usingSystem.Collections.Generic;
usingSystem.Linq;
usingSystem.Text;
usingSystem.Threading.Tasks;
namespaceConsoleApplication2
{
classProgram
{
staticvoidMain(string[]args)
{
catc=newcat("萌萌");//先执行cat(strings,inti)构造函数
Console.WriteLi..
分类:
其他好文 时间:
2014-07-09 08:05:19
阅读次数:
184