troubleshooting Question

pop up window in winforms

Avatar of Sha1395
Sha1395 asked on
C#
7 Comments2 Solutions243 ViewsLast Modified:
Okie finally i have a code for my hyperlink column in my datagridview

  void ErrGrid_CellClick(object sender, DataGridViewCellEventArgs e)
        {
               
            // Ignore clicks that are not on button cells. 
            if (e.RowIndex < 0 || e.ColumnIndex != ErrGrid.Columns["MessageId"].Index) return;
                            
            //// Retrieve the Row Index
            string RowId = ErrGrid[0, e.RowIndex].Value.ToString();
            //// convert string to Interger
             int RowIndex;
             int.TryParse(RowId, out RowIndex);
            //Retrive the Error Queue Message for that particular Row Index
             string MesId = ErrGrid.Rows[RowIndex].Cells["Queue"].Value.ToString();
             MessageBox.Show(MesId);
           
        }  
I need small help here,rather than using messagebox here is this anyway i can open new window (pop up) to display the message
showdialog().
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 2 Answers and 7 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 7 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros