且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在ASP.NET中打印多个页面的数据[C#]

更新时间:2023-12-01 23:07:46

hi ..

您可以将完整的数据存储到数据表中并将此数据表添加到查看状态。



ViewState [givename] = dt ;



,在第二页上重温时从这个数据表中获取数据。
hi..
you can store the complete data into data table and add this data table to view state.

ViewState["givename"] = dt;

and while retriving on second page get data from this data table.






您是否可以将此序列号存储在viewstate中?
Hi,

Is it possible for you to store this serial number in viewstate?