山本

导航

2013年5月20日 #

点击input输入框弹出选择层

摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm9.aspx.cs" Inherits="CSDNproject.测试.WebForm9" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quo 阅读全文

posted @ 2013-05-20 21:34 高级菜鸟 阅读(13128) 评论(0) 推荐(0) 编辑

图片上传(在textarea中显示)

摘要: protected void btnupload_Click(object sender, EventArgs e) { if (File1.PostedFile.ContentType.ToUpper().IndexOf("IMAGE") > -1) { System.Drawing.Image img = System.Drawing.Image.FromStream(File1.PostedFile.InputStream); int Width = img.Width; int Height = img.Height; if (Width > 60 || 阅读全文

posted @ 2013-05-20 21:32 高级菜鸟 阅读(2090) 评论(0) 推荐(0) 编辑