Welcome, Guest. Please login or register.
September 06, 2010, 08:43:31 AM
Home Help Search Calendar Login Register
News: Send your large files easy and free using Mailabit!

+  Support Forum
|-+  Utilities and Services
| |-+  CAPTCHA asp.net component
| | |-+  ASP.NET Essentials
| | | |-+  Accessing and Updating Data in ASP.NET: Filtering Data Using a CheckBoxList
« previous next »
Pages: [1] Go Down Print
Author Topic: Accessing and Updating Data in ASP.NET: Filtering Data Using a CheckBoxList  (Read 69 times)
Bender
Legend
*****

Karma: 0
Offline Offline

Posts: 4605



« on: March 10, 2010, 07:34:03 AM »

Accessing and Updating Data in ASP.NET: Filtering Data Using a CheckBoxList

With a little bit of effort it is possible to filter data based on the end user's selections in a CheckBoxList control. This article starts with a look at how to get SQL to filter data based on a user-supplied, comma-delimited list of values. Next, it shows how to programmatically construct a comma-delimited list that represents the selected CheckBoxList values and pass that list into the SQL query. Finally, we'll explore creating a custom parameter control to handle this logic declaratively.

http://www.4guysfromrolla.com/articles/012010-1.aspx
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!