Click here to Skip to main content
15,909,503 members
Home / Discussions / C#
   

C#

 
AnswerRe: Transferring Focus to Multiple Buttons Pin
Rod Kemp3-Mar-10 17:28
Rod Kemp3-Mar-10 17:28 
QuestionRegex.Split help Pin
Aljaz1113-Mar-10 10:24
Aljaz1113-Mar-10 10:24 
AnswerRe: Regex.Split help Pin
Kristian Sixhøj3-Mar-10 10:39
Kristian Sixhøj3-Mar-10 10:39 
AnswerRe: Regex.Split help Pin
Luc Pattyn3-Mar-10 10:40
sitebuilderLuc Pattyn3-Mar-10 10:40 
GeneralRe: Regex.Split help Pin
Aljaz1113-Mar-10 10:46
Aljaz1113-Mar-10 10:46 
GeneralRe: Regex.Split help Pin
Luc Pattyn3-Mar-10 10:53
sitebuilderLuc Pattyn3-Mar-10 10:53 
AnswerRe: Regex.Split help Pin
April Fans3-Mar-10 23:37
April Fans3-Mar-10 23:37 
QuestionCreating and Manipulating Zip Files Pin
Richard Andrew x643-Mar-10 8:17
professionalRichard Andrew x643-Mar-10 8:17 
AnswerRe: Creating and Manipulating Zip Files Pin
Kristian Sixhøj3-Mar-10 8:32
Kristian Sixhøj3-Mar-10 8:32 
GeneralRe: Creating and Manipulating Zip Files Pin
Richard Andrew x643-Mar-10 8:39
professionalRichard Andrew x643-Mar-10 8:39 
GeneralRe: Creating and Manipulating Zip Files Pin
harold aptroot3-Mar-10 8:43
harold aptroot3-Mar-10 8:43 
GeneralRe: Creating and Manipulating Zip Files Pin
Richard Andrew x643-Mar-10 8:46
professionalRichard Andrew x643-Mar-10 8:46 
GeneralRe: Creating and Manipulating Zip Files Pin
Dave Kreskowiak3-Mar-10 8:43
mveDave Kreskowiak3-Mar-10 8:43 
GeneralRe: Creating and Manipulating Zip Files Pin
Richard Andrew x643-Mar-10 8:46
professionalRichard Andrew x643-Mar-10 8:46 
GeneralRe: Creating and Manipulating Zip Files Pin
Kristian Sixhøj3-Mar-10 8:44
Kristian Sixhøj3-Mar-10 8:44 
GeneralRe: Creating and Manipulating Zip Files Pin
Richard Andrew x643-Mar-10 8:48
professionalRichard Andrew x643-Mar-10 8:48 
AnswerRe: Creating and Manipulating Zip Files Pin
Kythen3-Mar-10 12:06
Kythen3-Mar-10 12:06 
AnswerRe: Creating and Manipulating Zip Files Pin
FyreWyrm3-Mar-10 14:13
FyreWyrm3-Mar-10 14:13 
QuestionLoad a new Tab Page Automatically from a Method Call Pin
PDTUM3-Mar-10 7:17
PDTUM3-Mar-10 7:17 
Gentleman,

I have an application that stacks a series of tab pages. On one tabbed page that has a Data Grid, I have a select link that extracts data from the Grid View and uses it to run an SQL query and then loads the information into a form that is in another tabbed page. To view this page automatically, I am using the following code:

string thisItem = string.Empty;

	   //This information is derived from the Data Grid on tabControlA
            //Get the Row Number from the Grid View
            int row = this.dataGridView1.CurrentCell.RowIndex;

            //Get the Value from the Id column, check for null, create parameter
            if (this.dataGridView1["Id", row].Value.ToString() != "")
            {
                thisItem = this.dataGridView1["Id", row].Value.ToString();
            }           

            //Run SQL query to get the data
            MethodA(thisItem);

            //View the information on a different Tabbed Page
            tabControlB.BringToFront();
            tabControlB.SelectTab(1);


It seems I used this code before, but now I cannot get control tabControl B to load on top. I have tried loading the tabControl from both inside and outside (pictured) the Method. I have done a line by line debug and there are no errors.....just no results...any ideas? Thank you, Pat
AnswerRe: Load a new Tab Page Automatically from a Method Call Pin
#realJSOP3-Mar-10 9:35
professional#realJSOP3-Mar-10 9:35 
GeneralRe: Load a new Tab Page Automatically from a Method Call Pin
PDTUM3-Mar-10 9:51
PDTUM3-Mar-10 9:51 
GeneralRe: Load a new Tab Page Automatically from a Method Call Pin
#realJSOP3-Mar-10 11:55
professional#realJSOP3-Mar-10 11:55 
GeneralRe: Load a new Tab Page Automatically from a Method Call Pin
PDTUM3-Mar-10 12:17
PDTUM3-Mar-10 12:17 
AnswerRe: Load a new Tab Page Automatically from a Method Call Pin
Rod Kemp3-Mar-10 17:20
Rod Kemp3-Mar-10 17:20 
AnswerRe: Load a new Tab Page Automatically from a Method Call Pin
PDTUM3-Mar-10 17:50
PDTUM3-Mar-10 17:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.