Click here to Skip to main content
15,914,350 members

Comments by tolgasenol (Top 8 by date)

tolgasenol 18-Feb-13 7:35am View    
There should be a SQL Database table created. Right?
You have to insert or update this SQL Database with SQL command.

Check this out;
http://msdn.microsoft.com/en-US/library/8hwekas8%28v=vs.80%29.aspx
tolgasenol 18-Feb-13 7:21am View    
sorry?
tolgasenol 23-Sep-12 1:32am View    
thanks to your reply. but i tried a button inside the tabPage it worked.
tolgasenol 23-Sep-12 1:31am View    
button1 is outside of the tabs but in the same form. i tried MessageBox.Show for each tabPage it worked. Also i made a button control inside the second tab with same code it is working.

What do you mean buttons attached to correct event? if you need i can paste all code for button1. thanks to all of you for your reply.

Lets make this way.
There are three buttons and a tabcontrol with three tabpages in a form. buttons are outside of the tabcontrol. i want button1 is visible when tabpage1 selected, button2 visible when tabpage2 selected and button3 visible when tabpage3 selected.

if (tabControl1.SelectedTab == tabPage1)
{
button1.Visible = true;
}
else if (tabControl1.SelectedTab == tabPage2)
{
button2.Visible = false;
}
else if (tabControl1.SelectedTab == tabPage3)
{
button3.Visible = false;
}

that isnt working too.
tolgasenol 11-Jan-12 9:51am View    
Scubapro i pasted the code below. thank you very much!