DataGridVIew Size Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mianghous
    New Member
    • Feb 2008
    • 2

    #1

    DataGridVIew Size Problem

    hi I have a little problem
    i m using a datagridview on ma aspx page and
    problem is that its size does not remain same...
    mean if i fecth 10 records it will show 10 and size will expand of the control and if i fetch 2 record it will decrese the size of datagridview to two records....
    ...what i want
    that its size must remain same like for 10 record even if there is no record
    and if more record the show the remaining on next page of datagridview...

    and one more thing..
    if no record present jst show the labels or columns headers...and empty datagridview...
Working...