Thanks you guys, thanks for your help. But this is not the case, The dataset.select() should not contain a WHERE clause, if I run the statement with out a WHERE I get the right filtered record.
But I get all other sorts of information such as RowState, HasErrors, RowError, TableName along with the other datas in the record. The DataRow is assigned to a grid as a datasource. Please help me to solve this. --- In [email protected], Mark E <[EMAIL PROTECTED]> wrote: > Try: ListBox1.SelectedValue.ToString() > > Mark > --- asadeen <[EMAIL PROTECTED]> wrote: > > I get the following error when I use .Text() after > > ListBox1.SelectedValue > > > > 'string' does not contain a definition for 'Text' > > > > > > --- In [email protected], > > Charles Carroll > > <[EMAIL PROTECTED]> wrote: > > > dataSet11.NPX_CONRATES.Select("WHERE > > > ListID='"+ this.ListBox1.SelectedValue.Text() > > +"'"); > > > > > > On 5/14/05, asadeen <[EMAIL PROTECTED]> wrote: > > > > dataSet11.NPX_CONRATES.Select("WHERE > > > > ListID='"+this.ListBox1.SelectedValue+"'"); > > > > > > > > I get an error > > > > > > > > "System.Data.SyntaxErrorException: Syntax > > error: Missing > > > > operand > > > > after 'ListID' operator." > > > > > > > > for the above dataset filter statement. > > > > > > > > Please help me to solve this. > > > > > > > > Thanks > > > > Deen > > > > > > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
