Access the Current Row and Field value in Enterprise portal


Access the Current Row and  Field value in Enterprise portal

 private DataSetViewRow CurrentRow  
 {  
 get  
  {  
 try  
   {  
    DataSetView dsv = this.CustomersDS.GetDataSet().DataSetViews["EmplTable"];  
 return (dsv == null) ? null : dsv.GetCurrent();  
 }  
 priviate Test()  
 {  
 using (IAxaptaRecordAdapter EmplTable= this.CurrentRow.GetRecord())  
  {  
 customerName = custTable.GetField("EmplTable").ToString();  
  }  
 }