Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
I have a gridview1 which shows employee data, and "employment_info_id" as datakey. Last column of the grid contains checkbox, i want to check only one row at a time, in other words if i check another check box the checkbox i checked before should be unchecked and also i get the datakey value.
 
Thankful
Usama Javed
Posted 3-Dec-12 1:49am
Comments
pree_kh at 3-Dec-12 7:04am
   
can you post what you have done so far.

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

use radio button list, becase check box list have property of multiple selection
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 587
1 Sergey Alexandrovich Kryukov 479
2 Maciej Los 305
3 Mathew Soji 195
4 BillWoodruff 170
0 OriginalGriff 7,356
1 Sergey Alexandrovich Kryukov 6,777
2 DamithSL 5,461
3 Manas Bhardwaj 4,916
4 Maciej Los 4,475


Advertise | Privacy | Mobile
Web04 | 2.8.1411023.1 | Last Updated 3 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100