会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
赤心
博客园
首页
新随笔
联系
订阅
管理
2014年4月17日
邮件发送
摘要: using System.Net;using System.Text;using System.Net.Mail;protected void LinkButton2_Click(object sender, EventArgs e) { SmtpClient smtp = ne...
阅读全文
posted @ 2014-04-17 16:57 新娃互联
阅读(130)
评论(0)
推荐(0)
2014年3月18日
Gridview整行链接
摘要: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { //整行连接 if (e.Row.RowType == DataControlRowType.DataRow) { e.Row.Attributes.Add("onmouseover", "currentcolor=this.style.backgroundColor;this.style.backgroundColor='#...
阅读全文
posted @ 2014-03-18 09:11 新娃互联
阅读(122)
评论(0)
推荐(0)
2014年3月14日
参数化SQL查询
摘要: using System;using System.Collections.Generic;using System.Text;using System.Data;using System.Data.SqlClient;namespace DAL{ public class UserDal { /// /// 验证用户登陆 /// /// 用户信息 /// 返回整数,大于0有数据 public static int UserLogin(MODEL.users users) ...
阅读全文
posted @ 2014-03-14 15:15 新娃互联
阅读(396)
评论(0)
推荐(0)
2014年2月21日
Ajax验证用户是否存在
摘要: 用户: 密码: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using CnxinwaDll;public partial class ajax_checkuser : System.Web.UI.Pag...
阅读全文
posted @ 2014-02-21 09:56 新娃互联
阅读(249)
评论(0)
推荐(0)
2014年1月21日
PHP_GLOBAL
摘要:
阅读全文
posted @ 2014-01-21 16:28 新娃互联
阅读(316)
评论(0)
推荐(0)
PHP连接数据库
摘要: "; //} $row=mysql_fetch_assoc($result); //echo "用户名:". $row["username"] ."密码:" . $row["password"]; ?>
阅读全文
posted @ 2014-01-21 16:27 新娃互联
阅读(195)
评论(0)
推荐(0)
PHP数据库配置
摘要:
阅读全文
posted @ 2014-01-21 16:26 新娃互联
阅读(442)
评论(0)
推荐(0)
2014年1月14日
.net 4种添加Cookie方法
摘要: //第一种添加Cookie方法 HttpCookie myCookie = new HttpCookie("userrole"); myCookie.Values["a"] = "a"; myCookie.Values[""] = "b"; myCookie.Expires.AddDays(1); Response.Cookies.Add(myCookie); //Response.AppendCookie(mycookie);这个也可以添加 //第一种获取Cookie方法 Res...
阅读全文
posted @ 2014-01-14 14:34 新娃互联
阅读(452)
评论(0)
推荐(0)
2014年1月10日
上传图片代码
摘要: 无标题页 客户案例添加 客户名称: 演示地址: 详细地址: 客户图像: 上传 添加 ...
阅读全文
posted @ 2014-01-10 01:29 新娃互联
阅读(796)
评论(0)
推荐(0)
2014年1月9日
WebService代码
摘要: Imports System.WebImports System.Web.ServicesImports System.Web.Services.ProtocolsImports System.DataImports System.Data.OleDb _ _ _Public Class Service Inherits System.Web.Services.WebService ' _ 'Public Function HelloWorld() As String ' Return "Hello World" 'End Function
阅读全文
posted @ 2014-01-09 13:26 新娃互联
阅读(298)
评论(0)
推荐(0)
下一页
公告