Sunday, 9 March 2014

getting checked list box values in asp.net

HERE WE CAN SEPERATE WITH ","

 var selected = ChkBoxList.Items.Cast<ListItem>().Where(x => x.Selected);
            foreach (var chkItem in selected)
            {
                string str += chkItem.Value + ",";
            }

No comments:

Post a Comment

Extracting Nupkg files using command line

Rename it to zip first then extract files as below 1.     Rename-Item -Path A_Package.nupkg -NewName A_Package.zip 2.     Make sure to repla...