Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a Form with a 2 columns DataGriView, and a 3 Tabpage TabControl,
Datasource of the DataGriView, is a result of Query.

By default, the first record in the DataGriView, with its corresponding informations is the values in the textboxes inside the tabpages(TabControl), and changes when I select a record from my DataGriView... But everytime i click on the other tabpages, record on the DataGriView incements, that if i click the tab pages 6 times, the record count on the DataGriView increments by 6 times.

i dont know what to do??? :(
Posted
Comments
Herman<T>.Instance 11-Aug-11 4:21am    
please show us your code

1 solution

I am not sure why so many people post to tell us what is wrong with their code, but don't post any code so we can't help at all.
 
Share this answer
 
Comments
Herman<T>.Instance 11-Aug-11 4:28am    
but by reading his question you know what he does wrong...
when clickng a tab a postback is done and in his postback is is not checking the active tab......
Karwa_Vivek 11-Aug-11 5:49am    
you want us to Post our error Code
but when asked for help
you don't write us any Code
u give links or ur Theories on the error.
Don't mind .
Herman<T>.Instance 11-Aug-11 7:15am    
well as a developer you should have a curious nature to find the solution. So why need code if the theory or examples will give more insights (so you start learning about your issue). If you want me to write your code a bill will be send too...
Maciej Los 11-Aug-11 12:57pm    
Use "Add comment" to ask a question to OP or to send comments on his question.

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