Live Chat Icon For mobile
Live Chat Icon

How to pass argument to accessdatasourcecontrol selectcommand statement

Platform: ASP.NET| Category: Miscellaneous

VB.NET


AccessDataSourceControl1.SelectCommand = 'SELECT * FROM <tablename> WHERE <fieldname> = ' & Request('CustID')

C#


AccessDataSourceControl1.SelectCommand = 'SELECT * FROM <tablename> WHERE <fieldname> = '+ Request['CustID']

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.