if(!string.IsNullOrEmpty(COURSEWARE_NAME.Text))
{
char[]c=COURSEWARE_NAME.Text.ToCharArray();
stringnameconditiob="";
for(inti=0;i<c.Length;i++)
{
if(i==0)
{
br.AppendFormat("andCOURSEWARE_NAMElike‘%{0}%‘",c[i].ToString());
}
else
{
br.AppendFormat("andC..
分类:
Web程序 时间:
2014-07-08 08:25:50
阅读次数:
242
常用类库学习.net就是学习它的无数个类库怎么用,先看两个简单的String 字符串,不可变特性。字符串可以看成字符数组属性 Length方法IsNullOrEmpty() 静态方法ToCharArray()ToLower()string不可变性ToUpper()Equals() 忽略大小写的比较J...
分类:
其他好文 时间:
2014-07-05 21:19:46
阅读次数:
259
static byte[] GetBytes(string str){ byte[] bytes = new byte[str.Length * sizeof(char)]; System.Buffer.BlockCopy(str.ToCharArray(), 0, bytes, 0, ...
分类:
其他好文 时间:
2014-06-24 14:15:24
阅读次数:
145
public static String[] split(String str, String limit) { List result = new ArrayList(); char[] chars = limit.toCharArray(); ...
分类:
其他好文 时间:
2014-06-18 16:01:29
阅读次数:
216