Click here to Skip to main content
15,884,472 members
Home / Discussions / C#
   

C#

 
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
mve#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
mve#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 
QuestionBitmap Image to Binary Image (Black & White) [modified] Pin
ant-damage3-Mar-10 5:47
ant-damage3-Mar-10 5:47 
AnswerRe: Bitmap Image to Binary Image (Black & White) Pin
OriginalGriff3-Mar-10 6:05
mveOriginalGriff3-Mar-10 6:05 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
ant-damage3-Mar-10 6:08
ant-damage3-Mar-10 6:08 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
OriginalGriff3-Mar-10 6:27
mveOriginalGriff3-Mar-10 6:27 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
ant-damage4-Mar-10 10:31
ant-damage4-Mar-10 10:31 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
OriginalGriff4-Mar-10 22:07
mveOriginalGriff4-Mar-10 22:07 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
ant-damage23-Mar-10 3:13
ant-damage23-Mar-10 3:13 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
ant-damage17-Apr-10 12:54
ant-damage17-Apr-10 12:54 
AnswerRe: Bitmap Image to Binary Image (Black & White) Pin
Ennis Ray Lynch, Jr.3-Mar-10 6:31
Ennis Ray Lynch, Jr.3-Mar-10 6:31 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
Luc Pattyn3-Mar-10 6:43
sitebuilderLuc Pattyn3-Mar-10 6:43 
GeneralRe: Bitmap Image to Binary Image (Black & White) Pin
Ennis Ray Lynch, Jr.3-Mar-10 8:00
Ennis Ray Lynch, Jr.3-Mar-10 8:00 

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.