I am facing a problem and don't know how to do it.I am unable to find any related solution. I have two relational table from where i fetch the related data using category which seems like below
Now the Main thing what i am unable to do that bind this fetched data into a checklist in asp.net webform.I know how to bind data from database in checklist box but here I want to bind it category wise from the above given picture table Which will be like the below image
where the category will be the header and related product will be in the checklist.
You can create an SQL Case which returns true or false based on your query conditions. Return type must be Boolean because Checkbox works with Boolean values.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.