tag:blogger.com,1999:blog-1400278338614647416.post3245265272165043081..comments2023-06-18T04:04:37.178-07:00Comments on DevInfra-US: AgDatagrid and Silverlight Datagrid : how to build a dynamic datasource ?Antoine Haberthttp://www.blogger.com/profile/03426367508787117862noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-1400278338614647416.post-45945946023561252922009-09-14T20:01:00.372-07:002009-09-14T20:01:00.372-07:00Best information about AgDatagrid and Silverlight ...Best information about AgDatagrid and Silverlight Datagrid <a href="http://www.spadeworx.com/flex_development.html" rel="nofollow">Flex Development</a> I found one company called SpadeWorx and they claim that they are leading Flex Development Company in India.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1400278338614647416.post-8226854369356775882009-01-12T09:18:00.000-08:002009-01-12T09:18:00.000-08:00How to get dynamic data from ASMX web service ?I t...How to get dynamic data from ASMX web service ?<BR/><BR/>I tried code below but in this case web service call does not return any properties.<BR/><BR/>How to fix ?<BR/><BR/>Andrus.<BR/><BR/>[WebService]<BR/>public sealed class StockService {<BR/><BR/>[WebMethod]<BR/>public object[] GetProductList(string table, int pageNumber, int itemsPerPage, string filter, string sortBy, out int totalCount)<BR/> {<BR/> using (var db = new Database())<BR/> {<BR/><BR/> swithch (Table) {<BR/> case "Customer":<BR/> totalCount = db.Customer.Count();<BR/><BR/> var l = db.Customer.Skip(pageNumber*itemsPerPage).Take(itemsPerPage ).<BR/> Select((c) => new { c.Id, c.Name}).ToArray();<BR/> return l;<BR/><BR/> case "Product":<BR/> totalCount = db.Product.Count();<BR/> var l = db.Product.Skip(pageNumber*itemsPerPage).Take(itemsPerPage ).<BR/> Select((p) => new { p.Id, p.Name, p.Address}).ToArray();<BR/> return l;<BR/> }<BR/> }<BR/>}<BR/>}Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1400278338614647416.post-16302840665420867372008-10-16T19:55:00.000-07:002008-10-16T19:55:00.000-07:00Hi, have you tried this with the released version ...Hi, have you tried this with the released version of Silverlight 2? After I updated to the released version, this no longer works for me.Anonymousnoreply@blogger.com