Menu Demo

http://development.tobypitman.com/css/menu.html#

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

jQuery File Upload Demo

jQuery Select Date

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

前端:a href="WebForm5.aspx?keyword=T-shirt"

後端:Label1.Text = Context.Request.QueryString["keyword"];

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

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)
{

if (e.CommandName == "imagelike")
{

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

if (!IsPostBack)
{
ViewState["pageindex"] = "0";
BindData();

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

protected void Page_Load(object sender, EventArgs e)
{
SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");
conn.Open();
/*

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

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

後端:

protected void mygDB()
{
SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");

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

前端:

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
Width="844px" AllowPaging="True" DataKeyNames="Item_ID"
OnPageIndexChanging ="GridView1_PageIndexChanging" OnRowCommand="GridView1_RowCommand" >

<ItemTemplate>

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

推這篇囉: http://blog.xuite.net/juice0708/life/31239364

<script type="text/javascript">
 function Check(oCheckbox)
     {
       var GridView1 = document.getElementById("<%=GridView1.ClientID %>");

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

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

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

感謝這位網友!!!!

原始檔:

<asp:DataList ID="DataList1" runat="server" RepeatColumns="3">

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

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

<asp:Label ID="Label1" runat="server" ForeColor="Blue" Text=""><%#DataBinder.Eval(Container.DataItem,"Item_Name")%></asp:Label>

後端程式碼

SqlConnection conn = new SqlConnection("Data Source=.;Initial Catalog=mydata;User Id=sa;Password=1234");
conn.Open();

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

protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
mygDB(); 

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

1 2
Blog Stats
⚠️

成人內容提醒

本部落格內容僅限年滿十八歲者瀏覽。
若您未滿十八歲,請立即離開。

已滿十八歲者,亦請勿將內容提供給未成年人士。