Shqiptar
Shqiptar

Reputation: 65

get products by id in asp.net?

my problem is: how to get product by ProductCategoryID?

enter image description here

Upvotes: 0

Views: 512

Answers (1)

Pravin Kumar Mishra
Pravin Kumar Mishra

Reputation: 87

First pass 'Hardware' category Id to click function and then Use that in your Sql statement as parameter. In Sql statement-

Select * from Products where ProductCategoryID=@PassedCategoryID

See Image

Upvotes: 1

Related Questions