目前分類:ASP.NET (10)

瀏覽方式: 標題列表 簡短摘要

asp:ImageButton ID="ImageButton9" runat="server"  ImageUrl='<%#"ImageHandler.ashx?Item_ID="+Eval("Item_ID") %>' CommandName="imagelike" CommandArgument='<%#Eval("Item_ID") %>' />

protected void DataList1_ItemCommand(object sender, DataListCommandEventArgs e)

Kent 發表在 痞客邦 留言(0) 人氣()


if (!IsPostBack)

Kent 發表在 痞客邦 留言(0) 人氣()

 

protected void Page_Load(object sender, EventArgs e)

Kent 發表在 痞客邦 留言(0) 人氣()

資料來源:http://www.dotblogs.com.tw/nui_kni/archive/2008/12/15/6394.aspx#6459

後端:

Kent 發表在 痞客邦 留言(0) 人氣()

前端:

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"

Kent 發表在 痞客邦 留言(0) 人氣()

他的此文章转至http://www.tobrush.com/archives/617301(隋心所欲)

我的來源:http://www.cnblogs.com/benon/archive/2008/03/20/1114606.html

Kent 發表在 痞客邦 留言(0) 人氣()

 <img alt="" src='ImageHandler.ashx?Item_ID=<%# Eval("Item_ID") %>' height="128" width="128" style="float: none; text-align: center" />

 

Kent 發表在 痞客邦 留言(0) 人氣()

protected void Page_Load(object sender, EventArgs e)
{

Kent 發表在 痞客邦 留言(0) 人氣()

今天上 藍色小舖看到有位大哥的 BLOG http://blog.csdn.net/insus/article/details/2323323

直接說明了 如果要設定 defaultbutton 

Kent 發表在 痞客邦 留言(0) 人氣()

還記得前2.3個月開始看ASP .NET的書的時候 有看到if ispostback的用法

但是開始實作時卻因為不熟練,而忽略掉這重要的一塊

Kent 發表在 痞客邦 留言(0) 人氣()