when usin below code I get following error msg:<BR><BR>Exception Details: System.Data.EvaluateException: Cannot perform '<=' operation on System.Int32 and System.String<BR>PS: when using a data field all works fine<BR>??? how needs "Component_ID = 'CID'" to look like ?? how do I need to convert the Key / CID????<BR>Thanks ed<BR><BR>Private Sub DDProducts_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles DDProducts.SelectedIndexChanged<BR> Dim CID As Integer<BR><BR> ' select appropriate Components from ProductComponent Table (SQL DB requirement)<BR> SqlProductComponent.SelectCommand.Parameters("@Key_ProductID").Value = http://aspmessageboard.com/archive/index.php/DDProducts.SelectedItem.Value<BR> SqlProductComponent.Fill(DataSet11, "ProductComponent")<BR> CID = DataSet11.Tables("ProductComponent").Rows(0).Item(1)<BR> Response.Write(DDProducts.SelectedItem.Value)<BR> Response.Write(CID)<BR> ' Select all 'Component_ID=CID', sorted by 'Component, AddOnPrice'', get 'CurrentRows' <BR><BR> SqlComponents.Fill(DataSet11, "Components")<BR> Dim myDataView As DataView = New DataView(DataSet11.Tables("Components"), "Component_ID ='CID'", "Component, AddOnPrice", DataViewRowState.CurrentRows)<BR> GridComponent.DataSource = myDataView<BR> GridComponent.DataBind()<BR> 'DataSet11.Tables("ProductComponent").Rows(e.Item.ItemIndex).Item(I)<BR> <BR> End Sub