How to pass parameter?


#1

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


#2


Dear Patrick,

Thanks for your consideration.

Are you evaluating the latest release of Aspose.Excel?

Would you like to elaborate your question?


#3

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.


#4


Dear Patrick,

Please explain your “class”.