![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
binghe_0126
这个作者很懒,什么都没留下…
展开
-
委托和匿名方法
class Program { public static void Main(string[] args) { test test = new test(); //委托 deadd d2 = test.add; //匿名方法 deadd de = delegate(int a,int b) { ...原创 2020-10-19 15:29:13 · 102 阅读 · 0 评论 -
.net发邮件html模板
*{ padding:0; margin:0; font-family:”Microsoft YaHei”; list-style:none;} .main{text-align:center;font-size:18px;}a { color: #004f7c; }a:hover { color: #23a30d; }.img2{vertical-align:middle;mar原创 2015-12-26 17:35:50 · 589 阅读 · 1 评论 -
.net发邮件类
using System;using System.Collections.Generic;using System.Linq;using System.Net.Mail;using System.Text;using System.Web;namespace sentmail{ public class Email { ///原创 2015-12-26 17:38:50 · 308 阅读 · 0 评论 -
C# 页面跳转 点击确认后 传值
int id =10; int code=1026; string name = "head"; Response.Redirect("<script>alert('确认成功');location.href='jieshou.aspx?id="+ id+"&code="+code+"&name="+name+" '</script>");页面跳转 确原创 2017-02-22 13:19:13 · 1080 阅读 · 0 评论 -
C# excel导出
/// /// 导出数据 /// /// /// protected void btnprint_Click(object sender, EventArgs e) { string sql = “”; if (txtKey.Text == “”) sql = “sele原创 2017-02-22 15:22:05 · 263 阅读 · 0 评论