title: can there be two different columns of type link in datagridview?
body: <p>If so how do we handle cellcontentclick event of each separately?  I am adding columns dynamically. Heres my code:-<br>
  <code>dataGridViewShow.Columns.Add(new DataGridViewTextBoxColumn { HeaderText = "Date", DataPropertyName = "Date", CellTemplate = new DataGridViewTextBoxCell() });</code>  </p>
  
  <pre><code>DataGridViewLinkColumn toComputer = new DataGridViewLinkColumn();
          toComputer.HeaderText = "Status";
          toComputer.Name = "link1";
          toComputer.UseColumnTextForLinkValue = true;
          toComputer.Text = "Save to File";
          toComputer.ActiveLinkColor = Color.White;
          toComputer.LinkColor = Color.Blue;
          toComputer.TrackVisitedState = true;
          toComputer.VisitedLinkColor = Color.Green;
          dataGridViewShow.Columns.Add(toComputer);
          dataGridViewShow.CellContentClick += (SaveFileType_click);  
  
  DataGridViewLinkColumn toNet = new DataGridViewLinkColumn();
          toLinx.HeaderText = " ";
          toLinx.Name = "link2";
          toLinx.UseColumnTextForLinkValue = true;
          toLinx.Text = "Send to Net";
          toLinx.ActiveLinkColor = Color.White;
          toLinx.LinkColor = Color.Blue;
          toLinx.TrackVisitedState = true;
          toLinx.VisitedLinkColor = Color.Green;            
          dataGridViewShow.Columns.Add(toNet);
          dataGridViewShow.CellContentClick += ("Don't know how this gets handled");  
  </code></pre>
  
  <p>The above code does display two different columns of link type, however I can't figure out how do I handle each event separately?</p>
  
  <pre><code>private void SaveFileType_click(object sender, DataGridViewCellEventArgs e)
      {
          selectedRow = e.RowIndex;
  
          if (e.ColumnIndex == 0)
          {
              //some code goes here
          }if (e.ColumnIndex == 1 &amp;&amp; (string)dataGridViewShow[e.ColumnIndex, e.RowIndex].Value != "Complete")
          {
              //some code goes here
          }
      }
  </code></pre>