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/
 


Reply via email to