求教jquery datatables 插件如何生成一列序号列

2025-01-24 19:07:51
推荐回答(1个)
回答1:

代码:
public static void Alert(string message)
{
Page page = HttpContext.Current.Handler as Page;
Guid gid = new Guid();
string jsblock = "js" + gid.ToString();
page.ClientScript.RegisterStartupScript(page.GetType(), jsblock, string.Format("", message));
}