- 博客(9)
- 资源 (13)
- 收藏
- 关注
原创 WPF点击按钮怎样打开新窗口
private void button3_Click(object sender, RoutedEventArgs e) { NavigationWindow window = new NavigationWindow (); window.Source = new Uri ("Page1.xaml", UriKind.
2017-12-12 11:09:03
15908
2
原创 C# Post请求提示“其他信息: 请求被中止: 未能创建 SSL/TLS 安全通道”
/// /// 指定Post地址使用Get 方式获取全部字符串 /// /// 请求后台地址 /// public static string Post(string url, Dictionary dic) { #region 解决“其他
2017-12-07 16:12:23
4023
原创 ASP.NET上传图片时并产生预览
图片链接 缩略图 后台代码:string fullFileName=this.fileUpLoad.PostedFile.FileName; string fileName=fullFileName.Substring(fullFileName.LastInde
2008-07-29 16:32:00
456
转载 全选、全不选和反选
网页特效代码|ffasp.com|---复选框全选、全不选和反选的效果实现function checkAll() {for (var j = 1; j box = eval("document.checkboxform.C" + j); if (box.checked == false) box.checked = true; }}function uncheckAll() {
2008-07-29 13:21:00
466
原创 用户注册(检测用户名是否存在)
private bool UserValild() { SqlConnection con = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettings["sjk"]); con.Open(); //查询用户输入的用户名是否存在 string sq
2008-07-27 17:38:00
1600
原创 上传图片
使用控件:file,button,image;上传按钮的代码:string fullfilename=this.File1 .PostedFile .FileName ;取得本地文件的全路径如c:/windows//ba.bmpstring filename=fullfilename.Substring (fullfilename.LastIndexOf ("//")+1); 截取文件名:ba.
2008-07-27 12:55:00
272
原创 简单的用户登录
using System.Data.SqlClient; protected void Button1_Click(object sender, EventArgs e) { SqlConnection con = new SqlConnection(System.Configuration.ConfigurationSettings.AppSettin
2008-07-27 12:53:00
329
原创 [DropDownList控件]两个控件,数据间的关联
protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //绑定DropDownList1 SqlConnection con = new SqlConnection(System.Configuration.Conf
2008-07-27 12:02:00
637
原创 [存储过程]添加
存储过程:create procedure AddAdmin(@type varchar(50),@username varchar(50),@password varchar(50))asdeclare @exeSql varchar(500)if @type=RegisteEnteInfobegin set @exeSql=insert into admin values(
2008-07-27 11:16:00
354
jquery.page分页控件02.zip
2020-03-01
jquery.page分页控件.zip
2020-03-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人