摘要: 客户端用javascript获得dropdownlist的值var ddl=document.getElementById("DropDownListID"); var a=ddl.options[ddl.selectedIndex].value; js字母大小写转换str = str.toUpperCase() //大写 str = str.toLowerCase() ... 阅读全文
posted @ 2008-06-08 21:35 Magicam 阅读(214) 评论(0) 推荐(0)
摘要: 一:判断存在及在数组的位子,使用Array.BinarySearch 方法 string item = "1,2,3,4,5"; string[] array = item.Split( new char[] { ',' } ); string a = "1"; int b = Array.BinarySearch( array, a ); ... 阅读全文
posted @ 2008-06-08 18:22 Magicam 阅读(6942) 评论(0) 推荐(0)