随笔分类 - ASP.NET
摘要:There is the data to send in current page <asp:TextBox ID="DataToSendTextBox" runat="server" Text="Hello World!"></asp:TextBox> 1.Use Query String cur
阅读全文
摘要:Could not load file or assembly 'AjaxControlToolkit' or one of its dependencies. API 调用退出异常。 (Exception from HRESULT: 0x800300FA (STG_E_ABNORMALAPIEXI
阅读全文
摘要:一、HttpRequest的作用 HttpRequest的作用是令到Asp.net能够读取客户端发送HTTP值。比如表单、URL、Cookie传递过来的参数。 返回字符串的那些值就不说了,那些基本上都是与HTTP请求报文相关的东西。 现在看看返回NameValueCollection对象的东东,这个
阅读全文
摘要: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
阅读全文
摘要:经常有这样的需求,一个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号