It is unclear that u use rpt..Is it report document object or report viewer object. In Either case it is not possible to have control on the sections in code behind.
We can write formulae for the sections in the report design itself.
Suppressing a section is of two types
1.Drill Down(hidden under a group title but expanded when clicked)
2.No Drill Down(Hidden fully)
Report Header--whichever fields that Occurs only once at the top for the entire report those shud come under this section.
Page Header--put those that have to appear at the top of every page(eg:Logo of company)
Details Section--put those that appears any no of times basd on the no of records in the database..
Page Footer--similar to page header but appears at bottom of every page eg:page no, Page Total
Report Footer-- put those that shud occur only once at the end of the report Eg:Grand Total
Hope this meets u well.