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

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

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

Please submit your question and answer.