吳大師很成功 (在眾人的眼光),也很努力想持續充實,但是體制如果因人設事,說改就改,就令人匪夷所思。
在下沒有任何歧視學歷意思,那只是一個外在的文憑,我想吳大師也絕非是為了那張紙而想念EMBA的。
新加坡應該是有一套體制,是可以讓吳大師順利取得想要的,所以他們積極來爭取吳大師,我不大相信他們是立即地設了一個法,然後急著來搶人。
但是事實上台灣現在就是沒有這套體制,若覺得體制不恰當,可以好好改,而非急就章!
今天為某人破例,設某某條款,明天再為了一個國小畢業(沒有歧視的意思)但也很成功的人再破例,再設某某條款!?感覺就是亂七八糟。
就是要紅 發表在 痞客邦 留言(0) 人氣(34)
//import these css
<link rel="stylesheet" href="jq/themes/base/jquery.ui.all.css" />
<script type="text/javascript" src="jq/jquery-1.7.2.js"></script>
<script type="text/javascript" src="jq/ui/jquery.ui.core.js"></script>
<script type="text/javascript" src="jq/ui/jquery.ui.datepicker.js"></script>
//1.normal case
<script type="text/javascript">
$(function() {
$(".datepicker").datepicker({
showOn: "button",
buttonImage: "calendar.gif", //the image you want to show
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
dateFormat: 'yy/mm/dd' //the date format
就是要紅 發表在 痞客邦 留言(0) 人氣(179)
ref-->http://stackoverflow.com/questions/309035/asp-net-gridview-css-issue-when-sorting-turned-on
Add the attribute "CssClass" in the gridview where you want to design
就是要紅 發表在 痞客邦 留言(0) 人氣(57)
$(document).ready( $(function() {
$("input[id*=TextBox5]").datepicker({
showOn: "button",
buttonImage: "Photo/calendar.gif",
buttonImageOnly: true,
changeMonth: true,
changeYear: true
});
}));
就是要紅 發表在 痞客邦 留言(0) 人氣(96)
ref:http://www.eggheadcafe.com/community/asp-net/17/10397797/jquery-validation-with-aspnet-grid-view-textbox-and-other-controls.aspx
ref:http://yasserzaid.wordpress.com/2011/12/19/jquery-to-enable-and-disable-textbox-when-checkbox-is-checked-with-gridview/
$("table[id*=GridView1] input[id*=chkData]").click(
function() {
.....
就是要紅 發表在 痞客邦 留言(0) 人氣(65)
參考來源:http://forum.twbts.com/thread-732-1-1.html
Dim mystr
Set myrange = ActiveDocument.Content
就是要紅 發表在 痞客邦 留言(0) 人氣(260)
參考來源:http://www.blueshop.com.tw/board/show.asp?subcde=BRD20070122095530IPZ&fumcde=FUM200501271723350KG
所有的設定大部份軟體會預設,只要擷取想要自行設定的部份即可.
Dim WordObj
就是要紅 發表在 痞客邦 留言(0) 人氣(3,501)
Reference:http://www.dotblogs.com.tw/phoenix7765/archive/2008/11/14/5987.aspx
using System;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Web.UI;
就是要紅 發表在 痞客邦 留言(0) 人氣(671)
Sub Button_Click(ByVal filename As String, ByVal GV As Object)
HttpContext.Current.Response.Clear()
Dim style As String = "<style> .text { mso-number-format:\@; } </style> " 'CSS style
HttpContext.Current.Response.Write("<meta http-equiv=Content-Type content=text/html;charset=UTF-8>")
HttpContext.Current.Response.AppendHeader("content-disposition", "attachment;filename=" & HttpContext.Current.Server.UrlEncode(filename))
HttpContext.Current.Response.Charset = ""
HttpContext.Current.Response.ContentType = "application/vnd.ms-excel"
GV.EnableViewState = False
GV.AllowPaging = False
GV.AllowSorting = False
GV.DataBind()
Dim objStringWriter As System.IO.StringWriter = New System.IO.StringWriter()
Dim objHtmlTextWriter As HtmlTextWriter = New HtmlTextWriter(objStringWriter)
GV.RenderControl(objHtmlTextWriter)
HttpContext.Current.Response.Write(style)
HttpContext.Current.Response.Write(objStringWriter.ToString())
HttpContext.Current.Response.End()
HttpContext.Current.Response.Close()
GV.AllowPaging = True
GV.AllowSorting = True
GV.DataBind()
End Sub
Public Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)
'處理'GridView' 的控制項 'GridView' 必須置於有 runat=server 的表單標記之中
End Sub
Protected Sub DETAILVIEW_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles DETAILVIEW.RowDataBound
If (e.Row.RowType = DataControlRowType.DataRow) Then
e.Row.Cells(3).Attributes.Add("class", "text")
e.Row.Cells(7).Attributes.Add("class", "text")
e.Row.Cells(8).Attributes.Add("class", "text")
e.Row.Cells(9).Attributes.Add("class", "text")
End If
End Sub
[note]
mso-number-format:"0" No Decimals
mso-number-format:"0\.00" 2 Decimals
mso-number-format:"mm\/dd\/yy" Date format
mso-number-format:"m\/d\/yy\ h\:mm\ AM\/PM" D -T AMPM
mso-number-format:"Short Date" 05/06/-2008
mso-number-format:"Medium Date" 05-jan-2008
mso-number-format:"Short Time" 8:67
mso-number-format:"Medium Time" 8:67 am
mso-number-format:"Long Time" 8:67:25:00
mso-number-format:"Percent" Percent - two decimals
mso-number-format:"0\.E+00" Scientific Notation
mso-number-format:"\@" Text
mso-number-format:"\#\ ???\/???" Fractions - up to 3 digits (312/943)
mso-number-format:"\0022£\0022\#\,\#\#0\.00" £12.76
mso-number-format:"\#\,\#\#0\.00_ \;\[Red\]\-\#\,\#\#0\.00\ " 2 decimals, negative numbers in red and signed
就是要紅 發表在 痞客邦 留言(0) 人氣(205)
對於從原本資料庫中所儲存的檔案路徑 若要作存取動作,往往因為語系問題 中文部份會產生亂碼。
經由查詢網路上資料與許多前輩的經驗得知。
MSDN 的 說明文件內容有提到-->ASP.NET 在回應 HTTP 標頭的時候預設編碼是用 System.Text.UTF8Encoding 類別,但是 IE 瀏覽器無法正確解析 UTF-8 的 HTTP Header,因為 IE 瀏覽器在繁體中文的作業系統下可以支援的編碼是 Big5。但是設定了 Big5 編碼後,中國大陸簡體中文的用戶又無法下載了,或是下載後檔名一樣變成亂碼。
因此又再查詢了相關 HttpUtility類別後,採用其中的HtmlEncode方法,輔以將HyperLinkField轉換成TemplateField。在原始檔中加入以下文字,就正常顯示中文字了。HtmlEncode(Object):將物件的字串表示轉換為 HTML 編碼字串,並傳回編碼的字串。
<asp:TemplateField HeaderText="檔案名稱">
<ItemTemplate>
<a href='<%#HttpUtility.HtmlEncode(Eval("file_url"))%>'><%#Eval("file_name")%></a>
</ItemTemplate>
</asp:TemplateField>
就是要紅 發表在 痞客邦 留言(0) 人氣(3,078)