Click or drag to resize

RemReportRepAttorney Method

Paperwork .Net Kütüphanesi
.....

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public rRepAttorney RepAttorney(
	int active,
	int begiRec,
	int endRec
)

Parameters

active
Type: SystemInt32
Activite
begiRec
Type: SystemInt32
Başlangıç (Minimum=1)
endRec
Type: SystemInt32
Bitiş (Max =1000)

Return Value

Type: rRepAttorney
Examples
C#
 public void RepAttorney(string state, int pageIndex)
{
 int beginRec = (PageSize * (pageIndex - 1));
int endRec = PageSize * (pageIndex);
this.PageIndex = pageIndex;
p.rReport.RepAttorney(Convert.ToInt32(state), beginRec, endRec, (s, e) =>
{
  foreach (rRepAttorneyItem row in e.Result.Items)
   Result.Add(new AttorneyResult()
 {
   LastDate = row.LastDate == null ? "" : Convert.ToDateTime(row.LastDate).ToString("dd'/'MM'/'yyyy").Equals("31/12/9999") ? "" : Convert.ToDateTime(row.LastDate).ToString("dd'/'MM'/'yyyy"),
 DelDate = row.DeleteDate
   });
 } 
}
See Also