【发布时间】:2014-08-08 12:16:45
【问题描述】:
我在c#中有以下代码,
GridView grdViewOrders = (GridView)sender;
GridViewRow row = new GridViewRow(0, 0, DataControlRowType.DataRow, DataControlRowState.Insert);
TableCell cell = new TableCell();
cell.Text = "Customer Name : " + DataBinder.Eval(e.Row.DataItem, "CustomerName").ToString();
cell.ColumnSpan = 6;
cell.CssClass = "GroupHeaderStyle";
row.Cells.Add(cell);
grdViewOrders.Controls[0].Controls.AddAt(e.Row.RowIndex + intSubTotalIndex, row);
intSubTotalIndex++;
我需要一些关于这条线的解释
GridViewRow row = new GridViewRow(0, 0, DataControlRowType.DataRow, DataControlRowState.Insert);
GridViewRow的构造函数中第一个第二个和第四个参数是什么
谢谢
【问题讨论】: