Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
622
Adding rows to a web grid
posted

Hi All,

How to add 100 rows to grid without using the below function 100 times?

  UltraWebGrid1.Rows.Add ()

Regards,

Abhi

Parents
No Data
Reply
  • 8680
    posted

    For I = 1 to 100
        Dim MyRow as new UltraGridRow(<whatever>) 'create your row
        UltraWebGrid1.Rows.Add(MyRow)
    Next I

    Actually, in most cases, you can create a datasource and then bind it to the grid.  But you need to tell us where you're getting the data you're going to use to populate these rows. 

     

Children
No Data