码迷,mamicode.com
首页 >  
搜索关键字:Forms    ( 2772个结果
两系统用asp.net forms 身份验证方式实现跨域登录信息共享
1.两个系统的 web.config 都配置为 forms 验证方式( system.web—>authentication 节点)2.在两个系统的Web.config里配置相同的 system.web —> machineKey 节点(节点生成:http://www.aspnetresources...
分类:Web程序   时间:2014-09-24 15:21:06    阅读次数:193
C#与Excel的交互示例
//这里加添加一个Excel对象的包装器。就是添加一个引用using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms;namespa...
分类:其他好文   时间:2014-09-24 11:51:46    阅读次数:291
asp.net 常用的3中身份验证
1. windows验证: IIS根据应用程序的设置来进行身份验证,要使用这中验证方式,必须禁止使用匿名用户登录。2. Forms验证: 通过Cookies来保存用户凭证,对未登录的用户 重定向到自定义的登录界面。此种方式最常用。3. PassPort验证: 同过Microsoft的集中身份验...
分类:Web程序   时间:2014-09-18 23:46:04    阅读次数:209
使用Shell32.dll中的图标资源
uses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms,shellapi,Dialogs; type TForm1 = class(TForm) procedure FormCreate(Sender:...
分类:其他好文   时间:2014-09-18 00:44:02    阅读次数:214
动态载入DLL
unit MainForm;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TDLLDemo = function(x...
分类:其他好文   时间:2014-09-18 00:32:42    阅读次数:262
用Tchromium替代webbrowser提交网页表单有关问题
用Tchromium替代webbrowser提交网页表单有关问题提交表单时,使用js脚本,然后用 chrm.browser.Frame['ff'].ExecuteJavaScript 提交就可以。我测试对百度主页提交数据进行搜索,strTemp := 'document.forms[0].wd.v....
分类:Web程序   时间:2014-09-17 10:11:01    阅读次数:936
ASP.NET Web Forms 4.5的新特性
作者:Parry出处:http://www.cnblogs.com/parry/一、强类型数据控件在出现强类型数据控件前,我们绑定数据控件时,前台一般使用Eval或者DataBinder.Eval(Container.DataItem,"FieldName")的形式。12而在ASP.NET Web ...
分类:Web程序   时间:2014-09-17 00:54:11    阅读次数:418
IE11下,用forms身份验证有问题了,好像是保存不了cookie
问题: 在IE10+MozillaFirefox都正常,升级到IE11的电脑都登陆不了了。。。奇怪好像是IE11保存不了COOKIE啊解决:在web.config中的forms中增加cookieless="UseCookies"属性即可。
分类:其他好文   时间:2014-09-16 12:14:30    阅读次数:185
POJ 1273 最大流 Dinic
Drainage Ditches Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 56802 Accepted: 21824 Description Every time it rains on Farmer John's fields, a pond forms over Bessie's favorite clo...
分类:其他好文   时间:2014-09-16 10:50:00    阅读次数:253
调用codesoft,打印条码,批量连续打印,变量打印
调用codeSoft的模板,实现批量连续打印。Code:制作标签1.lab.添加两个变量var0,var1。using LabelManager2; string strFile = System.Windows.Forms.Application.StartupPath.ToString() + ...
分类:其他好文   时间:2014-09-15 21:15:39    阅读次数:251
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!