且构网

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

Datagridview数据表作为数据源的问题

更新时间:2022-11-28 21:05:14

你有RowFilter设置到数据集以根据ID过滤掉数据。删除过滤器并检查您的显示器。



检查源代码中的这行代码。

You have RowFilter set to the dataset to filter out the data based on ID. remove the filter and check your display.

Check this line of code in your source.
dataset.Tables["BillLinesDt"].DefaultView.RowFilter = "ID = " + id;