guys, i have this function:
Public Function GetDataSource(ByVal dataItem As Object) As DataTable
Dim intNo As String = DataBinder.Eval(dataItem, "Item_No")
Dim blahdt As DataTable = tempdt
'blahdt.DefaultView.RowFilter = "Item_No='" & intNo & "'"
'blahdt.Select("Item_No='" & intNo & "'")
Return blahdt
End Function
i want to filter my datatable, i tried both the colored lines...the second one did not work...the first one worked but it did not retain the changes i made to my datatable...it gave the default view of the datatable...
any suggestions...
thanks