Parameter to a DataSource

How can I pass a parameter to a DataSource

I'd like to get a dataset from my DB

something like "select name from database where myparameter=true"

Can someone help

Thanks



Answer this question

Parameter to a DataSource

  • kimo

    Hi,

    Can you please elaborate on the question Maybe a pseudo-code on what you intend to do. In this way, the people here in the forums could easily answer your question.

     

    cheers,

    Paul June A. Domag



  • GAHarlan

    What type of database are you working with Are you using a SQL string or a stored procedure

  • Dave#

    Thanks for your attention.
    I've found the answer by myself.

    Method FillBy was the answer... I'm learning VB... sorry for my newbies questions :-)


  • Parameter to a DataSource