Click here to Skip to main content
15,906,081 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've added two DateTimePicker form (from / to). One button. One label. Datagridview filters when I click on the Buttons. But you have to click twice to show the total in the label. I'm asking with Google translation. :)

What I have tried:

I tried button click event. But it did not.
Posted
Updated 2-May-17 23:32pm
v3
Comments
OriginalGriff 3-May-17 1:08am    
Show us the button Click handler code.
fatih(ankara) 3-May-17 5:30am    
Thank you. I use google translation because my English is not good. But I can write the evening codes here today

1 solution

 
Share this answer
 
Comments
fatih(ankara) 3-May-17 4:17am    
@Ralf Meier thank you so much for solution
Ralf Meier 3-May-17 4:27am    
You are welcome ...
Was it that what you are looking for ?
If Yes - would you please accept the solution as your answer ?
fatih(ankara) 3-May-17 4:54am    
Actually, that's not the answer. Because I misrepresented the question. I use google translation because my English is not good. Here's what I want to say:
I'm click to button. The code is working. But when I click for the first time, the label does not have the total amount I want. I have to press the button for the second time. I can not send my codes because I do not have a computer right now. Thank you again. For your help.
Ralf Meier 3-May-17 5:05am    
OK ... for this it is absoultely necessary to see your code ...
fatih(ankara) 3-May-17 5:10am    
I understand. I can write the evening codes here today

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