All I want to do is get the data from a filtered data view in a string. See the last two lines of code. Thats what Im trying but propertyStr="Value". "Value" is the name of the column whos data I want. propertyStr should be something from my dataview, not just the title of the column. Whats the correct syntax to accomplish this.Code:DataSet ds = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); DataView dv = new DataView(); da.SelectCommand = propertiesCmd; da.Fill(ds, "Solution Properties"); dv = ds.Tables["Solution Properties"].DefaultView; dv.RowFilter = "[type key] = '-1689071302'"; String propertyStr = dv.Table.Columns["Value"].ToString();




Reply With Quote