摘要:
public static void SendMailUseGmail(string gmailAddress, string gmailPwd, string name, string toAddress, string info, string title) { System.Net.Mail.MailMessage msg = new System.Net.Mail.MailMessage(); msg.To.Add(toAddress); msg.From = new MailAddress(toAddress, name, System.Text.Encoding.UTF8); m 阅读全文
摘要:
%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Reg.aspx.cs" Inherits="YXShop.Web.Reg" %%@ Register Src="UserControls/NavControl.ascx" TagName="NavControl" TagPrefix="ucNav" %%@ Register Src="UserControls/LeftSeriesControl.ascx" TagName="LeftSeriesControl" TagPrefix="ucLeft" %!DOCTYP 阅读全文
摘要:
--用指定的字符拆分一个字符串,并传入一个字符串判断传入的这个字符串是否存在于拆分以后的字符串数组中create function SplitString(@expression varchar(500),@char varchar(10),@str varchar(50)) returns bit as begin --如果传进来的字符串是null则返回0 if(isnull(@expression,' ')=' ') return 0declare @beginIndex int,@endIndex int --截取子串的起始索引和结束索引 declare @Count int --记录循 阅读全文