control.style["max-height"]="212px";
目前分類:ASP.NET C# (136)
- Sep 09 Tue 2014 16:12
ASP.NET C# 控制項加CSS
- Sep 09 Tue 2014 16:10
ASP.NET C# 取圖片大小
System.Drawing.Image img=System.Drawing.Image.FromFile(@"D:\xxx\xxx.jpg");
int width=img.width;
- Sep 05 Fri 2014 17:10
(尚未設定標題)
- Sep 01 Mon 2014 10:09
取圖片長、寬
System.Drawing.Image objImage = System.Drawing.Image.FromFile("C:\imagename.gif");
width = objImage.Width;
height = objImage.Height;
- Aug 29 Fri 2014 17:00
asp.net c# codebehind open new window
- Aug 29 Fri 2014 09:15
C#修改圖片大小
http://endlesslive.blogspot.tw/2007/07/cnet.html
今天我老大問我.Net 可不可以修改圖檔,我回答不知道沒有用過~
我後來找了一下資料在 topcat姍舞之間的極度凝聚這個網站找到VB的範例
- Aug 28 Thu 2014 11:13
http://www.ironforum.com.tw/js/editor/ajaxupload.js
<script type="text/javascript">
tinymce.init({
- Aug 27 Wed 2014 10:06
C#常用驗證 http://blog.xuite.net/isonic/MS/16190804
日期驗證 ^\d{4}-((0\d)|(1[012]))-(([012]\d)|3[01])$
#region "驗証輸入的字串======================================================================================================================"
///
- Aug 25 Mon 2014 16:44
c#移除HTML Tag
string news = HttpUtility.HtmlDecode(dr["新聞內容"].ToString()); news = Regex.Replace(news, "<.*?>", string.Empty); navLNContent.InnerText = news;
- Aug 25 Mon 2014 13:34
刪除資料夾SESSION遺失
- Aug 13 Wed 2014 18:07
Have a div in your aspx page with runat attribute value set to "server"
<div id="divLinks" runat="server"></div>
and in your code behind, you may loop thru the items and create as many links
- Aug 08 Fri 2014 09:29
Remove Html Tag
- Aug 01 Fri 2014 15:25
ASP.NET C# 抓 HTML Tag
string s=Request.Form["textarea"];
- Jul 24 Thu 2014 18:07
panel background image no repeat
Panel2.Attributes.Add("style", "background-repeat:no-repeat");
- Jun 17 Tue 2014 17:48
Remove HTML Tag
using System.Net; using System.Text; using System.Text.RegularExpressions; content = Regex.Replace(dr["內容"].ToString(), "<.*?>", string.Empty); content_list[i] = content.Trim();
- Jun 09 Mon 2014 10:00
亂數抽獎
Random rd = new Random(); //亂數種子
int[] Prob = { 0, 1, 21, 121, 1121, 2121, 3121, 4121, 5121 }; //8個區間:頭獎0,二獎1,三獎2,沒中3~7
- May 26 Mon 2014 13:35
Dynamically create DataTable and bind to GridView in ASP.Net
HTML Markup
- May 23 Fri 2014 18:05
C# Table
- May 23 Fri 2014 17:16
Accessing Google Spreadsheets with C# using Google Data API
- May 22 Thu 2014 11:05
C# 日期時間比較 (活動結束用)