|
|
|
อยากถามเรื่องการ Edit Form ของ CommandColumn ใน Gridview ค่ะ |
|
|
|
|
|
|
|
Code (C#)
private void myGridView_RowDataBound(object sender, GridViewRowEventArgs e)
{
//*** hplHyperLink ***'
Label hplHyperLink = (HyperLink)e.Row.FindControl("hplHyperLink");
if ((hplHyperLink != null)) {
hplHyperLink.NavigateUrl = "#";
hplHyperLink.Attributes.Add("Onclick", "javascript::openPopup('item_detail.aspx?id=" + e.Row.DataItem("CustomerID") + "&name=" + e.Row.DataItem("Name") + "');");
}
}
|
|
|
|
|
Date :
2011-08-21 08:28:00 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|