摘要: 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 新娃互联 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 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 新娃互联 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 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 新娃互联 阅读(387) 评论(0) 推荐(0) 编辑
摘要: 用户: 密码: 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 新娃互联 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-01-21 16:28 新娃互联 阅读(310) 评论(0) 推荐(0) 编辑
摘要: "; //} $row=mysql_fetch_assoc($result); //echo "用户名:". $row["username"] ."密码:" . $row["password"]; ?> 阅读全文
posted @ 2014-01-21 16:27 新娃互联 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-01-21 16:26 新娃互联 阅读(436) 评论(0) 推荐(0) 编辑
摘要: //第一种添加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 新娃互联 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 无标题页 客户案例添加 客户名称: 演示地址: 详细地址: 客户图像: 上传 添加 ... 阅读全文
posted @ 2014-01-10 01:29 新娃互联 阅读(788) 评论(0) 推荐(0) 编辑
摘要: 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 新娃互联 阅读(289) 评论(0) 推荐(0) 编辑