随笔分类 - 学习
摘要:前置要求:有百度账号,实名认证以及开发者认证,创建应用并获取到关键凭证:Appid、Appkey、Secretkeyk和Signkey 平台上入门十分清楚,直接对着逐步操作即可,个人开发者审核也很快 百度网盘开放平台地址如下:https://pan.baidu.com/union/doc/nksg0
阅读全文
摘要:1.查询包含某关键词的存储过程名 select distinct a.name from sysobjects a,syscomments b where a.id=b.id and a.type='p' and charindex('最大批次号',b.text)>0 2.常用排序 select R
阅读全文
摘要:public bool IsPalindrome(int x) { bool flag=false; string str=x.ToString(); char[] strCharArr = str.ToCharArray(); char[] strCharArr2=new char[strChar
阅读全文
摘要:力扣做题记录 给定一个整数数组 nums 和一个目标值 target,请你在该数组中找出和为目标值的那 两个 整数,并返回他们的数组下标。 设每种输入只会对应一个答案。但是,数组中同一个元素不能使用两遍。 给定 nums = [2, 7, 11, 15], target = 9 或者 nums =
阅读全文
摘要:<script type="text/javascript"> $(function () { $("#checkAll").click(function () {//点击全选 var allLength = $(":checkbox[id!='checkAll']").length; //复选框的
阅读全文
摘要://获取选中的下拉框 $('#someElement').find('option:selected'); $('#someElement option:selected'); //返回头部滑动动画 <script type="text/javascript">$(function () { jQu
阅读全文
摘要:<input id="txt" class="text1" type="text" /> <script src="js/jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(function () { $("input.t
阅读全文
摘要:public string GetUrl_Path() { string url = "http://" + HttpContext.Current.Request.Url.Host; string url_sub = HttpContext.Current.Request.ApplicationP
阅读全文
摘要:<script> $(function () { var SelectVal = $("input[name='rblGJS']:checked").val(); if (SelectVal == 1) { $("#gjsbh").show(); } $("#<%=rblGJS.ClientID %
阅读全文
摘要:public void Get_Word(string gjbh) { try { DataSet ds = OperaterBase.GetDsBySql("select diffTableName from public_Data where gjbh='" + gjbh + "'"); str
阅读全文
摘要:得到选中项的value值并拼接成一个字符串返回 public string GetChecked(CheckBoxList checkList, string separator) { string str = ""; for (int i = 0; i < checkList.Items.Coun
阅读全文