Advertisement
Guest User

Untitled

a guest
Feb 14th, 2020
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. if (gridView1.SelectedRowsCount==1)
  2. {
  3.  
  4. string Referencia_Id = gridView1.GetRowCellValue(gridView1.GetFocusedDataSourceRowIndex(), "REFERENCIA").ToString();
  5. string Referencia_des = gridView1.GetRowCellValue(gridView1.GetFocusedDataSourceRowIndex(), "DES_REFERENCIA").ToString();
  6. string Referencia_precio = gridView1.GetRowCellValue(gridView1.GetFocusedDataSourceRowIndex(), "PRECIO").ToString();
  7. string Referencia_fecha = gridView1.GetRowCellValue(gridView1.GetFocusedDataSourceRowIndex(), "F_CREACION").ToString();
  8. string Referencia_imagen = gridView1.GetRowCellValue(gridView1.GetFocusedDataSourceRowIndex(), "IMAGEN").ToString();
  9.  
  10.  
  11. using (Referencias_Edit FormularioInicio = new Referencias_Edit(Referencia_Id, Referencia_des, Referencia_precio,Referencia_fecha, Referencia_imagen))
  12. {
  13. FormularioInicio.ShowDialog();
  14. }
  15.  
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement