div  固定底部

div 固定底部

<style>.footViewStyle { /*底部视图*/ background-color: #F4F5F6; width: 100%; height: 60px; position: fixed; bottom: 0;}</style>调用<...

>>阅读全文
C#判断是否是数字

C#判断是否是数字

int n;string str=id.Text;if(int.TryParse(str,out n)){//为数字}else{this.Response.Redirect("index.html");}...

>>阅读全文
asp.net 输入框只能输入中文

asp.net 输入框只能输入中文

<input id='txt' onkeyup="value=value.replace(/[^\u4E00-\u9FA5]/g,'')" onbeforepaste="clipboardData.setData('text',clipboar...

>>阅读全文
C#html调用js文件 显示广告位的办法

C#html调用js文件 显示广告位的办法

第一:新建立一个html文件,在里面写入<script src="http://www.******.com/ad.js"></script>然后建立ad.jsString.prototype.escNone=function(){re...

>>阅读全文
点击图片出现大图遮罩层

点击图片出现大图遮罩层

<img class="img" src="<%=Get图集一()%>" width="70%" height="200px" alt="" style=&quo...

>>阅读全文
C#winform 图片批量调整大小工具 代码

C#winform 图片批量调整大小工具 代码

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using Syste...

>>阅读全文
C#winform dataGridView把一列记录 逗号分别读取出来后,横向读取出来

C#winform dataGridView把一列记录 逗号分别读取出来后,横向读取出来

dataGridView1.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; ; string database = "serv...

>>阅读全文
C#winform 多线程下载伪造来路(模拟来路Referer)

C#winform 多线程下载伪造来路(模拟来路Referer)

因为有很多网站 都做了限制 如果想下载文件 就必须来路是 它的网站 那么我们就需要伪造来路了 WebClient client = new WebClient(); client.Headers["Referer"] = "http:...

>>阅读全文
C#pictureBox1 打开本地图片的办法

C#pictureBox1 打开本地图片的办法

pictureBox1.Image = Image.FromFile(@"C://" + comboBox1.Text + "01.jpg");...

>>阅读全文
C#winform pictureBox1读取网络图片

C#winform pictureBox1读取网络图片

///////////////////////// 查询 每个ID 的库存 结果 SqlConnection conn = new SqlConnection("Server = .; Database = diaocha; User ID = s...

>>阅读全文
桂ICP备16004754号