06 2006 档案
摘要:Forms 身份验证通常指这样一个系统,在该系统中使用 HTTP 客户端重定向将未经身份验证的请求重定向到 HTML 窗体。如果应用程序需要在登录时通过 HTML 窗体收集自己的用户凭据,那么选择 Forms 身份验证就很好。用户提供凭据并提交该窗体。如果应用程序对请求进行身份验证,系统会发出一个 Cookie,在其中包含用于重新获取标识的凭据或密钥。随后发出在请求头中具有该 Cookie 的请求...
阅读全文
摘要:Page_Load#region Page_Load private void Page_Load(object sender, System.EventArgs e) { // 在此处放置用户代码以初始化页面 if(! IsPostBack) { strin...
阅读全文
摘要:创建表 CREATE TABLE [FileTable] ( [FileID] [int] IDENTITY (1, 1) NOT NULL , [FileData] [image], [FileContentType] [varchar] (50) , [FileDescription] [varchar] (200) , [FileSize] [int] NULL...
阅读全文
摘要:private DataTable dtStore; private System.Windows.Forms.TextBox txtID; private System.Windows.Forms.TextBox txtName; private System.Windows.Forms.BindingManagerBase Bindin...
阅读全文
摘要:SQL语句 SELECT CASE GROUPING(o.customerid) WHEN 0 THEN o.customerid ELSE '(Total)' END AS MyCustomerID, CASE GROUPING(od.orderid) WHEN 0 THEN od.orderid ELSE -1 END AS MyOrderID, SUM(od.quantity*o...
阅读全文
摘要:重写DataGridTextBoxColumn类 Imports SystemImports System.Windows.FormsImports System.DrawingImports System.DataImports System.Collections'/ '/ Summary description for DataGridImageCell.'/ Public Class Da...
阅读全文
摘要:重DataGridTextBoxColumn类 using System;using System.Windows.Forms;using System.Drawing;using System.Data;using System.Collections;namespace ImageCellInDataGrid{ /**//// /// Summary description fo...
阅读全文
摘要:有2种方法:一种是在客户端判断,另一是在服务端判断在客户端判断(1)脚本 ...
阅读全文
摘要:实现方法有2种,客户端实现和服务端实现客户端实现(1)脚本 ...
阅读全文

浙公网安备 33010602011771号