Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Handling huge datasets on web could be as easy and responsive as handling them on desktop

Handling large amounts of data is always challenging. Even more so when working with AJAX since one
has to work on seamlessly updating the local data cache as the user scrolls through the list.
Visual WebGui’s list controls do just that. Visual WebGui unleashes the full power of lists and
combos enabling them to handle enormous datasets using a simple drag & drop WinForms
development paradigm.

All you have to do is drag and drop the list control (a Combo Box in this sample) to the design surface
and bind it  to whatever data source you desire.

With the client virtual list you can scroll through large amounts of records, rendering only the visible
items on the client. The end result is a smooth scrolling, responsive list that can handle very large
datasets without any  performance issues. In addition the control supports auto-complete features
and all of the popular WinForms control behaviors.

In this sample we’ll use a Microsoft access database, binding this database’s records to the combo
box is done  as follows:

        private void MainForm_Load(object sender, EventArgs e)
       
{
            
BindComboBox();
       
}

        private void BindComboBox()
        {
            this.mobjComboBox.Items.Clear();
            mobjDatabaseData = new DatabaseData();
            mobjDatabaseData.LoadCustomers();

            this.mobjComboBox.DataSource = mobjDatabaseData.Tables[0];
            this.mobjComboBox.DisplayMember = "CompanyName";
            this.mobjComboBox.SelectedIndex = 0;
        }

clip_image002

Find out more about this example and other unique features in the Visual WebGui community website at: www.visualwebgui.com

 

 

 

 

 

 

No Comments