随笔分类 -  c#

关于c#方面的一些资料的整理包括原创的一些东西和转载的
摘要:1、进入支付宝去申请appid和密钥 https://open.alipay.com/platform/home.htm 支付宝开放平台 2、下载sdk根据自己是啥开发语言下载啥 3、开始写代码 后台请求参数和方式 /// <summary> /// 支付宝支付 /// </summary> /// 阅读全文
posted @ 2018-08-14 13:54 小A爱吧 阅读(3481) 评论(0) 推荐(0)
摘要:aspx <div class="tab-content" style="display:none"> <dl> <dt>资料名称</dt> <dd> <asp:TextBox ID="txtBname" runat="server" CssClass="input normal" datatype 阅读全文
posted @ 2016-07-08 10:32 小A爱吧 阅读(171) 评论(0) 推荐(0)
摘要:头条 动态 讲座 资料 ... 阅读全文
posted @ 2015-12-04 09:51 小A爱吧 阅读(183) 评论(0) 推荐(0)
摘要:public static string ReplaceHtmlTag(string html) { string strText = System.Text.RegularExpressions.Regex.Replace(html, "", ""); strText =... 阅读全文
posted @ 2015-09-21 13:10 小A爱吧 阅读(1030) 评论(0) 推荐(0)
摘要:HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://XXX/service/Service.ashx?token={A50F6425-D6E7-458D-992A-AB61B3F8CF9B}&action=planco... 阅读全文
posted @ 2015-09-11 10:11 小A爱吧 阅读(238) 评论(0) 推荐(0)
摘要:分配委托(将命名方法分配给其委托)using System;public class GenericFunc{ public static void Main() { // Instantiate delegate to reference UppercaseString meth... 阅读全文
posted @ 2014-11-23 15:05 小A爱吧 阅读(221) 评论(0) 推荐(0)
摘要:首先要确定好XML文件的位置,最好是放在程序的debug文件中,放在其他地方也可以,要写上绝对路径using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Sys... 阅读全文
posted @ 2014-11-19 15:50 小A爱吧 阅读(170) 评论(0) 推荐(0)
摘要:student类必须标记序列化using System;using System.Collections.Generic;using System.Text;namespace TextFile{ [Serializable] class Student { public string ... 阅读全文
posted @ 2014-11-19 15:00 小A爱吧 阅读(176) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Window... 阅读全文
posted @ 2014-11-19 11:01 小A爱吧 阅读(137) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u... 阅读全文
posted @ 2014-11-19 10:27 小A爱吧 阅读(138) 评论(0) 推荐(0)
摘要:首先定义一个排序的类:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace Demo{ //年龄升序排列 class AgeASC : IComparer { ... 阅读全文
posted @ 2014-11-18 13:28 小A爱吧 阅读(207) 评论(0) 推荐(0)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Web;using MyBlog.Linq;using System.Configuration;using MyBlog.BLL;namespa... 阅读全文
posted @ 2014-11-14 15:45 小A爱吧 阅读(141) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks;namespace a { pub... 阅读全文
posted @ 2014-11-14 15:31 小A爱吧 阅读(376) 评论(0) 推荐(0)