Jump to content
Software FX Community

Binding GridFX from a dropDownList


Recommended Posts

Looking at the example on the RealEstate webProject. I'm following how the DataBind_GetData.aspx is binding the grid depending on the selection made on the dropdown. However, when I make my selection the grid dosnt get updated. Any help is appreciated.

Link to comment
Share on other sites

  • 2 weeks later...

Hi Kenia

I have created a simple Project, using Visual Studio 2008 and C# (I am attaching it as a zip file).  Also, I have created a simple table with only 2 rows, in order to demonstrate the selection of the data based on the databinding from a ComboBox.

Following, you will find the script for the datatable creation and data insertion:

create table KeniaTest(   id   numeric,   firstName nvarchar(20),   lastName   nvarchar(20),   country nvarchar(20),)

insert into KeniaTestvalues(1, 'Kenia', 'Aleman-Osorio', 'USA')

insert into KeniaTestvalues(2, 'Carlos', 'Chaves', 'Costa Rica')

Please create this datatable in your database and try the sample project I am attaching.

Carlos Chaves


Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...