I have a DataView where I use the Rowfilter property. How do I set the value of a variable to the value that I get by using the rowfilter?
As you can see I've tried ToString, but this only retures System.Data.DatViewCode:.... Dim objAdapter As OleDbDataAdapter = New OleDbDataAdapter( _ "SELECT Dimension,Pris FROM [dbi$]", objConnection) Dim objDS As DataSet Dim objDV As DataView objDS = New DataSet() objAdapter.Fill(objDS, "pris") objDV = New DataView(objDS.Tables("pris")) objDV.RowFilter = "Dimension=26" Dim hpny As String hpny = objDV.ToString Response.Write(hpny)


Reply With Quote