Ejemplo n.º 1
0
 private void StructTab_OnRowChanged(object sender, DataRowChangeEventArgs e)
 {
     try
     {
         if (LastTabName != (string)e.Row["Tables"])
         {
             LastTabName = (string)e.Row["Tables"];
             string Fields = UserReq.GetTableFields(LastTabName);
             e.Row["Fields"] = Fields;
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(this, ex.Message, "Connection Error", MessageBoxButtons.OK,
                         MessageBoxIcon.Error);
     }
 }