`
923723914
  • 浏览: 637569 次
文章分类
社区版块
存档分类
最新评论
文章列表
#region 1.最初模型数据加载(未优化代码) private void Read2007() { dataSet.Tables.Clear(); tableCellTypeList.Clear(); sheetNameList.Clear(); FileStream fs = new FileStream(txtPath.Text.Trim(), FileMode.OpenOrCreate); XSSFWorkbook xssfWorkBook = new XSSFWorkbook(fs); fo ...
.net页面生命周期 (1)Page_Init();---初始化对象 这一过程主要是初始化包括页面本身的所有控件,每次的页面载入就会执行一次初试过程,而在这里面访问到的也是控件的初始值。还有就是可以通过OnInit()来重载初试化事件 (2) LoadViewState---导入Viewstate数据 在初试化事件后,在loadvireState事件中所有控件将获得他们的第一个属性ViewState属性,这个属性最终将被返回给服务器以判断这个页面是已经被用户访问完毕还是仍然在被 用户所访问。也可重载loadvireState事件对相应的控件进行值设定。 (3) Load Post ...
EF的增删改查: using System; using System.Collections.Generic; using System.Data.Entity.Infrastructure; using System.Linq; using System.Linq.Expressions; using System.Text; using System.Threading.Tasks; namespace Dal { publicclassStudentsDal { zzEntities zzDB = new zzEntities(); pu ...
using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Linq; using System.Web; namespace WebApplication { publicclassSqlHelper { publicstaticstringstrConn = "server=.\\SqlExpress;database=zz;uid=sa;pwd=;"; publicstati ...
存储过程中的事务: --传入一个金额,自动的从转到,写成存储过程 CREATE PROC usp_ZZ @mon INT =0 AS BEGIN DECLARE @sumerr INT =0---默认值必须加 BEGIN TRANSACTION UPDATE dbo.bank SET balance =balance-@mon WHERE cId='0001' SET @sumerr=@sumerr+@@ERROR UPDATE dbo
高效分页语句: 1,row_number() select * from ( select *,ROW_NUMBER() over(order by rpId) as row from Ou_RolePermission)as t where t.row>0 andt.row<=10 2,--top 分页查询 select top 10 * from Ou_RolePermission whererpId not in(select top 10 rpId from
简介 CSipsimple的核心在PJSIP(JNI中),而Java代码只是实现了PJSIP的管理和界面的展示。 本篇将对CSipsimple进行重新封装,把项目封装成jar,简单的说是重新封装了如何使用PJSIP,方便其它项目直接使用。 项目 先看效果图: 支持多个帐户,效果图如上。 通话效果如图,支持多个帐户、多个电话。
IAR 编译的时候遇到Fatal Error[e72]: Segment INTRAMEND_REMAP must be defined in a segment definition option (-Z, -b or -P) 解决方法:工程-选项-linker-Config-勾选linker command file并选择电脑中已经保存的at91SAM7X256_FLASH.xcl文件。对于其他芯片请选择对应芯片的flash.xcl文件。
IAR用jink下载程序的时候提示received 0xffffffff as core id, no communication with core,原来是jink驱动没有安装。可是记得原来安装过还下载过啊。
在Android平台中,Voip客户端的开源项目有Sipdroid、IMSdroid、CSipSimple、Linphone等,现对它们做一个比较,如下: 关系 \ 客户端 Sipdroid IMSdroid CSipSimple Linphone 协议 sip 3GPP IMS pjsip osip 工具语言 Java(架构) C++(编码) Java(UI) C++(架构,编码) Java(UI) C++(架构,编码) Java C++
简介 CSipSimple是一款可以在android手机上使用的支持sip的网络电话软件,可以在上面设置使用callda网络电话。连接使用方式最好是使用wifi,或者3g这样上网速度快,打起电话来效果才好。下面简单分析一下其。 功能介绍 1、注册流程 用户首先选择使用哪国哪个类型,这是由com.csipsimple.wizards.impl包下完成的。该包下实现接口WizardIface,接口方法中有 SipProfile buildAccount(SipProfile account);产生一个帐号文件。 然后在BasePrefsWizard类下保存帐号,代码如下: /** ...
http://wiki.winehq.org/WineOn64bit#head-4047e6e3184d6aba1b1d67a8d993f986d7f444b2
Debugging WOW64 Applications running under WOW64 can be debugged two ways: Use an x86-hosted debugger such as NTSD, WinDbg, or Visual Studio. The 32-bit NTSD is installed to %systemroot%\syswow64 on retail installations. Note that x86 debuggers can be used to debug x86 code, but cannot be ...
执行 select * from tb where createtime >= '2014-02-13' and createtime < '2014-02-14' limit 10; 报下列错误: Error during job, obtaining debugging information... Job Tracking URL: http://192-168-102-155:50030/jobdetails.jsp?jobid=job_201309041025_117599 Examining task ID: task_201309041025_1175 ...
nginx绑定多个域名可又把多个域名规则写一个配置文件里,也可又分别建立多个域名配置文件,我一般为了管理方便,每个域名建一个文件,有些同类域名也可又写在一个总的配置文件里。一、每个域名一个文件的写法首先打开nginx域名配置文件存放目录:/usr/local/nginx/conf/servers ,如要绑定域名www.your-domain.com则在此目录建一个文件:www.your-domain.conf然后在此文件中写规则,如:server
Global site tag (gtag.js) - Google Analytics