- 博客(8)
- 资源 (15)
- 收藏
- 关注
原创 Winform 客户端向服务端发送http请求
string strURL = "http://localhost:6884/Mwinform/account/AccountLoginCheck.aspx?Account=" + Account + "&&Password=" + Password + "&&GameID=" + GameID +"&&lan="+lan+"";//创建一个地址 System.Net.H
2015-07-16 16:30:55 955
原创 asp.net 生成验证码
首先定义这样一个页面:2:在这个页面里面后台取写这样的方法去生成验证码,这个页面的名字就叫做ValidateCode1.aspx" private string GenerateCheckCode() { int number; char code; string chec
2015-07-16 16:09:02 391
原创 asp.net 点击刷新按钮,只刷新验证码,不刷新整个页面
刷新对应的刷新按钮js里面写这样一个方法即可 function fGetCode() { document.getElementById("ContentPlaceHolder1_ImgCode").src = "/ValidateCode1.aspx?" + Math.random(); }
2015-07-16 16:05:29 3316
原创 使用了scriptmanager,同时用了CheckBoxList,实现CheckBoxList单选
首页,页面这样写定义Checkboxlist的onclick事件,在js里面来写这个事件 function getclick(sender) { var inputs = sender.lastChild.childNodes; for (var i = 0; i if ((inputs[i]
2015-07-16 15:53:32 405
原创 asp.net 用了scriptmanager之后,后台弹框,走前台事件
ScriptManager.RegisterClientScriptBlock(UpdatePanel2, this.GetType(), "click", "alert('Operation is successful, two seconds after landing pages will enter the game')", true);//用了scriptManager后台弹框Updat
2015-07-16 15:38:11 1614
原创 动态生成xml文贱,并动态添加节点,每次追加
public void AddLog(string Account, string url,string pwd)//url为文件地址,即文件路径 { StringBuilder xmlAccount = new StringBuilder(); if (!File.Exists(url))//判断是否存在,创建xml文档
2015-07-16 15:20:41 1842
原创 asp.net 后台弹框,过一定时间跳到另外一个页面
Response.Write("alert('恭喜你修改密码成功。注意:5秒钟后页面将自动跳转到您的登陆页面!');"); Response.Write("");
2015-07-03 10:52:38 500
原创 asp.net给邮箱发送邮件
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Net.Mail;using System.IO;namespace Portal_Utility.Email{ public class SendEmai
2015-07-03 10:35:07 653
Windows phone8.0实现文本框前面有图标,同时有PlaceholderText功能
2015-10-21
Winform通过一个窗体的时间打开另外一个窗体,并执行一个事件,返回结果到第一个窗体
2015-09-17
Winform无边框移动,修改窗体大小,并且等比缩放
2015-07-22
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人