Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 25064

Checkboxlist databinding with SPlist

$
0
0
Hi,
 I am having an issue with Checkboxlist databinding with custom SPList in MOSS 2007.
 I am having items in SPList and one of the column names is LocatioNname: which takes values like:

 NY;CINCINATI;
 WASHINGTON;SEAttle
 LA;Boston;Redmond
 California;

(ie,  semilcolon separated ).
now i wanna  populate the  checkbox list in the web part with selected values:
like if the selected values are  NY;CINCINATI  i need to check these items  in the checkboxlist.
Can anybody tell me the approach / sample code?
Should I create SPdatatsource, with datatextfield, databvalue field  set as "Locationname"   . if this is the case , how can i filter the values? should i use caml query for this for fetching the locationname column alone???

and am  also having another checkbox list which is  dependent upon this parent chkboxlist.i wnat to bind that child  chbolist also)

any help is highly  apprecaited.

thnx
prasadwt
 

Can anybody throw some light int this ???


prasadpp

Viewing all articles
Browse latest Browse all 25064

Trending Articles