12 2011 档案
摘要:1.DataGridView中的comboBox需要点击2次或多次才能弹出下拉itemfirst:Me.DataGridView1.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEntersecond: If e.ColumnIndex >= 0 AndAlso e.RowIndex >= 0 AndAlso DataGridView1(e.ColumnIndex, e.RowIndex) IsNot Nothing _ AndAlso Not DataGridView1(e.ColumnIndex, e.Ro
阅读全文
摘要:Microsoft Office Excel cannot access the file 'C:\inetpub\wwwroot\AminoScience\OutFiles\Diet_Report_6c0dd8c3-5864-4c8a-9181-48b0e67cea96.xls'. There are several possible reasons:• The file name or path does not exist.• The file is being used by another program.• The workbook you are trying t
阅读全文
摘要:1.如何将 Office 应用程序配置为在交互式用户帐户下运行2. add <identity impersonate="true" userName="machinename\administrator" password="admin password" /> in <system.web> section of web.config
阅读全文
摘要:经常有这样的需求,一个web application 公司内部域用户访问时自动登录,外部用户访问时需要提供用户名和密码用Form登录。1. 在web项目中新建 WinLogin.aspx, WebLogin.aspx,Redirect401.htm 在Redirect401.htm中添加javascript 代码将页面跳转到WebLogin.aspx上 2. 将web application的web.config配置成form登录 <authentication mode="Forms"> <forms loginUrl="Winlogin.as
阅读全文

浙公网安备 33010602011771号