Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Updated 28-Nov-13 5:57am
v2
Comments
Peter Leow 28-Nov-13 9:35am    
Have you tried doing the coding yourself first?
agent_kruger 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900