Exemple #1
0
 private string FocusedSeqNum()
 {
     if (DetailGridview.VisibleRowCount > 0 && DetailGridview.FocusedRowIndex > -1)
     {
         return(DetailGridview.GetRowValues(DetailGridview.FocusedRowIndex, "ATA_Seq_#").ToString());
     }
     else
     {
         return("");
     }
 }
Exemple #2
0
 //how can I pass a second session to the data source
 protected void AllocationGrid_BeforePerformDataSelect(object sender, EventArgs e)
 {
     Session["Container_ID"] = DetailGridview.GetRowValues(DetailGridview.FocusedRowIndex, DetailGridview.KeyFieldName);
 }