0

I have an asp.net checkboxlist which keeps my numbers

01
02
03
04
05
.
.
.

And I have a number field in my sql server database table, which can contain the values above. So when above fields checked in my checkboxlist, I want my stored procedure to filter the table with the checked values.

what is the proper way to achieve this?

HOY
  • 1,067
  • 10
  • 42
  • 85

1 Answers1

0

There is a way by which you can pass the DataTable to store procedure.
Here is a link for the same
http://www.codeproject.com/Articles/412802/Sending-a-DataTable-to-a-Stored-Procedure
How to pass table value parameters to stored procedure from .net code

Community
  • 1
  • 1
शेखर
  • 17,412
  • 13
  • 61
  • 117