private string FocusedSeqNum() { if (DetailGridview.VisibleRowCount > 0 && DetailGridview.FocusedRowIndex > -1) { return(DetailGridview.GetRowValues(DetailGridview.FocusedRowIndex, "ATA_Seq_#").ToString()); } else { return(""); } }
//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); }