View Full Version : grid and remote data
techno_adi
09-27-2006, 10:43 AM
Hi,
Can any one provide a basic example of how to bind the grid to sql server using .net as code-behind. it could be basic retrive and save of data from database. the example at http://www.rodrigodiniz.qsh.eu/YahooGrid.aspx doesnt seem to help me understand.
Animal
09-27-2006, 01:43 PM
Are you tied to .NET?
Because Java offers lots of ways. 8)
You could provide XML via an XSL transformation of the output of a SAX parser which uses a JDBC ResultSet as its input source.
Or you could use DWR (RPC type access to selected objects on the server) to make calls directly to your own objects to return data.
It may be possible to create an analog of DWR for C#. The languages are fairly close.
Take a look at http://getahead.ltd.uk/dwr/
rodiniz
09-27-2006, 02:41 PM
Hi..what is you question?
My sample is pretty basic...You don't bind the grid directly to the database.(in any server language).I can see why this is strange to .net developers.
My code makes a query to the database transforms the result into XML and the XML is what the grid loads.
techno_adi
09-28-2006, 12:32 AM
Hi..what is you question?
My sample is pretty basic...You don't bind the grid directly to the database.(in any server language).I can see why this is strange to .net developers.
My code makes a query to the database transforms the result into XML and the XML is what the grid loads.
My question was not meant to disregard you :) . sorry if you fealt it that way..
i think the explanations lacks in the code..there are not enough comments to make a novice like me understand how is that happening.
could you please make up an simple example of just retirve and save to database and post it.
thanks for the pain
Animal,
yes i am tied to .net.
thanks a lot
rodiniz
09-28-2006, 07:51 AM
I will repost the source code in my site with more comments.
I have to repost it anyway...since its a little different now that I am using version .32 of the yui-ext.
You can post any questions in my blog.(the link is on my page ) or here.
I will make a sample also showing how to do something similar with Atlas and the GridView.
techno_adi
09-28-2006, 09:02 AM
When is the update expected... please have it as soon as possible
thanks
rodiniz
09-28-2006, 09:37 AM
Hi the source is updated ...if you need more help you can contact me directly on my e-mail ( is on my site homepage).I also made available the source of the file that saves the data.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.