0
在Web應用程序中,我使用的數據視圖中的RowFilter我使用像算子的,但它給錯誤:Asp.net中的Data Rowfilter?
dv.RowFilter = "FirstName like '%" + txtSearch.Text + "%'";
error is : could not find the column [Firstname]
在Web應用程序中,我使用的數據視圖中的RowFilter我使用像算子的,但它給錯誤:Asp.net中的Data Rowfilter?
dv.RowFilter = "FirstName like '%" + txtSearch.Text + "%'";
error is : could not find the column [Firstname]
錯誤「找不到列」是告訴你,用名字「名字沒有列「存在於你的DataView中。檢查你的DataView並添加列。
或者,發佈一些代碼,顯示如何填充DataView,以便我們可以更好地爲您提供幫助。