iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
Anyone ever tried this & have a working example?
Just to confirm... I'd like to late bind the a datasource to a webgrid (pass in parameters from a seach to funtion that returned a dataset, and bind that dataset to the grid, but at the same time taking advantage of client side binding)
Not sure of a correct way to go about this, but cant seem to get it to work. grid shows up with results, but also pops up error messages.
regards,
Ash
You could use WebService to return the filtered data. However, WebGrid will only accept LINQ object or ISDataTable object as the return value.
The provide client binding sample with WebService has shown how to use WebService and LINQ object.
Here is the WebService method snippet using ISDataTable, the snippet will convert DataTable object into ISDataTable :
[WebMethod]public Object GetData(DataSourceSelectArguments selectArguments){ SqlCommand retrieveComm = new SqlCommand(); retrieveComm.Connection = new SqlConnection(ConfigurationManager.ConnectionStrings["SqlNorthwindConnectionString"].ConnectionString); retrieveComm.CommandText = "SELECT * FROM [Products]"; SqlDataAdapter da = new SqlDataAdapter(); da.SelectCommand = retrieveComm; DataTable dtTemp = new DataTable(); da.Fill(dtTemp); ISDataTable isTable = DataTableConverter.ConvertFrom(dtTemp); return isTable; throw new InvalidOperationException("Unsupported operation type!");}
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname