We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to bind to an sqldatasource with parameters

Thread ID:

Created:

Updated:

Platform:

Replies:

54203 Jan 3,2007 08:25 PM UTC Jan 5,2007 03:53 PM UTC ASP.NET Web Forms (Classic) 4
loading
Tags: GridGroupingControl
Jahmai
Asked On January 3, 2007 08:25 PM UTC

Is it possible to bind the grid to an sqldatasource that has parameters which are based on the values of controls, say a dropdownlistbox?

Gokul B [Syncfusion]
Replied On January 4, 2007 12:27 AM UTC

Hi Jahmai,

Yes we do support to bind the GridGroup to an SqlDatasource based on the values of controls. We started creating a sample as per your requirements. So we will get back to you with sample later tommorrow.

Let us know if have any other queries.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B


Gokul B [Syncfusion]
Replied On January 5, 2007 01:39 AM UTC

Hi Jahmai,

To Bind the GridGroup to an .Net DataSource control with parameters which are based on the values of Controls, please have a look at our attached sample.

Forum_54203.zip

Here is the Description of my sample

*I have bind the grid using AccessDatasource with some SelectParameters(i.e Column name "Country" in my sample). you can use either any .Net datasource control
*I have placed the Grid inside the CallBackPanel. since Grid should be refreshed when values in the dropdownlist is get selected/Changed.
* In my sample, I bind the Grid based on values selected in DropDownList(i.e According to the country name "USA" or "UK")

Before compile our sample, make sure that your installed version number is registered properly using register tag in .aspx file. Here we assumed that you are using 4.402.0.50 version.

Let us know if this helps.

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B



Jahmai
Replied On January 5, 2007 03:20 PM UTC

That solves my problem.

Thank you.

Gokul B [Syncfusion]
Replied On January 5, 2007 03:53 PM UTC

Hi Jahmai,

We are Glad that your Problem solved. Kindly Let us know if you need any other help?

Thanks for using Syncfusion products.

Regards,
Gokulkumar.B

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;