上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页
摘要: /// <summary> /// 保存到数据库 /// </summary> /// <param name="mDCCampaignList"></param> /// <param name="mDCAdgroupList"></param> /// <param name="mDCKeywordList"></param> private void SaveToServer(IList<DCCampaign> mDCCa 阅读全文
posted @ 2013-05-09 16:54 xust 阅读(469) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.ComponentModel;namespace SessionKeyGet.Extensions{ public static class DatatableExtension { public static DataTable ToDataTable(this IList data) { PropertyD... 阅读全文
posted @ 2013-05-09 16:52 xust 阅读(442) 评论(1) 推荐(1)
摘要: 在写LINQ语句的时候,往往会看到.AsEnumerable() 和 .AsQueryable() 。例如:string strcon = "Data Source=.\\SQLEXPRESS;Initial Catalog=Db_Example;Persist Security Info=True;User ID=sa;Password=sa";SqlConnection con = new SqlConnection(strcon);con.Open();string strsql = "select * from SC,Course where SC.Cno 阅读全文
posted @ 2013-05-09 16:40 xust 阅读(302) 评论(0) 推荐(0)
摘要: /// /// 根据关键字Id获取关键字对象 /// /// nick /// campaignId /// adgroupId /// keywordId /// day /// record public DCKeyword GetKeywordByKeywordId(string nick, long campaignId, long adgroupId, long keywordId, DateTime day) { ... 阅读全文
posted @ 2013-05-09 16:31 xust 阅读(555) 评论(0) 推荐(0)
摘要: 无法启动调试--未安装 Silverlight Developer 运行时。请安装一个匹配版本。 这个问题最开始困扰我的,我没有太注意,因为不是我开发,我只是跟踪一下就可以了。不过今天出了问题,负责人只有我在,所以我需要进行调试。 网上搜索了很多,大部分都说是下载 Silverlight4_Tool, 然后解压缩出来,安装 silverlight_developer.exe 但是我当年安装的东西比较多,提示已经安装了更新的版本,所以不让安装。搜索了一下,有人说需要卸载silverlight4.0 sdk ,然后安装 silverlight_developer.exe。这样做了之后,问题出... 阅读全文
posted @ 2013-05-06 15:52 xust 阅读(159) 评论(0) 推荐(0)
摘要: Mono发布了面向Visual Studio的工具包作者赵劼发布于 十一月 11, 2009|1 评论新浪微博腾讯微博豆瓣网TwitterFacebooklinkedin邮件分享更多0稍后阅读我的阅读清单Mono最近发布了一套名为Mono Tools for Visual Studio(下称Mono Tools)的工具包,目的是辅助开发人员在Visual Studio下开发跨平台的.NET应用程序。在Mono Tools的帮助下,开发人员可以利用自己熟悉的开发环境,工具,代码或类库进行工作,面向Linux操作系统构建,调试和部署.NET应用程序。Mono Tools的功能主要有以下几部分:将应 阅读全文
posted @ 2013-05-02 14:41 xust 阅读(717) 评论(0) 推荐(0)
摘要: .NET Page 事件的执行顺序using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls;public partial class _Default : Page { protected vo... 阅读全文
posted @ 2013-04-24 11:39 xust 阅读(197) 评论(0) 推荐(0)
摘要: 自定义 ASP.NET UpdatePanel 控件的错误处理.NET Framework 4 其他版本 此主题尚未评级 - 评价此主题如果在 UpdatePanel 控件中更新部分页时发生错误,则默认行为是显示带有错误消息的浏览器消息框。 本教程将向您演示如何自定义向用户显示错误的方式以及如何自定义错误消息。系统必备若要在您自己的开发环境中实现这些过程,您需要:Microsoft Visual Studio 2005 或 Microsoft Visual Web Developer 速成版。一个支持 AJAX 的 ASP.NET 网站。在服务器代码中自定义错误处理首先,您将通过使用页面中的服 阅读全文
posted @ 2013-04-24 11:34 xust 阅读(410) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.Data;using CRM.BusinessLogic;using CRM.BusinessLogic.ManageTopDB;using CRM.Common.Utils;using CRM.BusinessLogic.ManageContract;using CRM.BusinessLogic.Man 阅读全文
posted @ 2013-04-12 13:03 xust 阅读(295) 评论(0) 推荐(0)
摘要: mGroupPriceStandards.Skip(mStart * mLimt).Take(mLimt).ToList<PriceStandard>();在分页的时候必须先 Skip(跳过n条记录),然后再 Take(取n条记录),否则分页会出现错误,导致数据取不出来或取出来的数据不是预期要获取的数据。 阅读全文
posted @ 2013-04-12 11:07 xust 阅读(292) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 40 下一页