Click here to Skip to main content
12,444,360 members (53,413 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: Gridview checkbox
i have three columns
1-Hotel Balance
2-Client Balance
3-Net (Hotel - Net )

how i can do it using grid view Specially when in Edit Mode

how can i collect rows values if i check this row in a grid view

can i doing it wizard or must programmatic

 id	Check	HotelBalance	ClientBalance	Net
1		1000	600	
2	@THIS	7000	6000	1000
3		5000	200	
4		10000	5000	
				
Total		7000	6000	1000

another Case
id	Check	HotelBalance	ClientBalance	Net
1	@THIS	1000	600	400
2		7000	6000	
3		5000	200	
4		10000	5000	
				
Total		1000	600	400

Check All Rows
id	Check	HotelBalance	ClientBalance	Net
	All			
1		1000	600	
2		7000	6000	
3		5000	200	
4		10000	5000	
				
Total		23000	11800	11200
Posted 28-Nov-13 3:07am
radals501
Updated 28-Nov-13 5:57am
Maciej Los225.3K
v2
Comments
Peter Leow 28-Nov-13 9:35am
   
Have you tried doing the coding yourself first?
Harsh Oswal 28-Nov-13 10:05am
   
we are not here to supply code but to help developers where they are stuck in. Sorry if the above language used is rude. But where are you stuck?
Maciej Los 28-Nov-13 11:58am
   
What's the source of data (sql or access database)?
What's technology: WebControls, Winforms, WPF?

1 solution

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160811.3 | Last Updated 28 Nov 2013
Copyright © CodeProject, 1999-2016
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