📌  相关文章
📜  在javascript代码示例中计算选定的gridview行

📅  最后修改于: 2022-03-11 15:02:55.152000             🧑  作者: Mango

代码示例1
protected void Page_Load(object sender, EventArgs e)
    {
        var list = (new[] { new { ItemID = 1 }, new { ItemID = 2 }, new { ItemID = 3 }, new { ItemID = 4 }, new { ItemID = 5 }, new { ItemID = 6 }, new { ItemID = 7 }, new { ItemID = 8 } }).ToList();
        gvPurchaseOrderDetails.DataSource = list;
        gvPurchaseOrderDetails.DataBind();
    }