1
我正在使用這些代碼爲每行寫入標籤。如何按行中的自定義標籤對gridview進行排序
protected void grd_HtmlRowCreated(object sender, ASPxGridViewTableRowEventArgs e)
{
ASPxLabel lblPoint = grd.FindRowCellTemplateControl(e.VisibleIndex, grdBildiriler.Columns["cTotalValue"] as GridViewDataColumn, "lblPoint") as ASPxLabel;
lblPoint.text = "a value different for each row"
}
我的問題是:我怎樣才能使排序爲列[ 「cTotalValue」]使用lblPoint.Text?