How to pass parameter?

How can i pass the parameter into my “class” then to select different criteria for my Sql statement ?


Dear Patrick,

Thanks for your consideration.

Are you evaluating the latest release of Aspose.Excel?

Would you like to elaborate your question?

Dear Sir,

When the user select different value from the combo box on my aspx, then I want to pass the parameter into my SQL statement, then output the different result.
Below is my example.

Me.oleDbSelectCommand1.CommandText = "select top 220 cname, cid, seq from table_c where cname = c_para"


How to pass parameter “c_para” into my “class” ?

Regards, Patrickc.


Dear Patrick,

Please explain your “class”.