示例#1
0
 private void gvInfo_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     //if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
     //{
     //    if (gvInfo.Rows[e.RowIndex].Cells[2].Value == null)
     //        return;
     //    string url = "http://kjcx.yundasys.com/kjcx/dbdb.php?dbtxm=" + gvInfo.Rows[e.RowIndex].Cells[2].Value.ToString();
     //    System.Diagnostics.Process.Start(url);
     //}
     if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
     {
         string orderno = gvInfo.Rows[e.RowIndex].Cells[2].Value.ToString();
         pageProcess.RedirectUrl(orderno);
     }
 }
 private void gvInfo_CellContentDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.RowIndex >= 0 && e.ColumnIndex >= 0)
     {
         string orderno = gvInfo.Rows[e.RowIndex].Cells[2].Value.ToString();
         pageProcess.RedirectUrl(orderno);
     }
 }