﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - Data Bind problem with the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>Data Bind problem with the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid/</link><pubDate>Fri, 18 Feb 2011 08:13:33 GMT</pubDate><dc:creator>handy@intersoftpt.com</dc:creator><description>&lt;p&gt;Hello Murthy,&lt;/p&gt;&lt;p&gt;Have you tried to bind in InitializeDataSource event? For more information, please open our WebTutorial&amp;gt;&amp;gt;V3.1&amp;gt;&amp;gt;BindingFlat.aspx.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Handy&lt;/p&gt;</description></item><item><title>Data Bind problem with the grid</title><link>http://www.intersoftsolutions.com/Community/WebGrid/Grid/</link><pubDate>Thu, 17 Feb 2011 17:13:56 GMT</pubDate><dc:creator>murthy_mar</dc:creator><description>&lt;span style="font-size: 13px"&gt;&lt;p&gt;Data not binded even though 10 rows are returned in the dataset. There is no exception thrown or caught. Attached are the screen shot of datatable and grid after bind with code below.&lt;/p&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: 13px; color: #008080"&gt;&lt;span style="font-size: 13px; color: #008080"&gt;String&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; FilterText = &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.GetFilterCriteria(grid); grid.DataSource = getdata(&lt;/span&gt;&lt;/p&gt;&lt;span style="font-size: 13px; color: #800000"&gt;&lt;span style="font-size: 13px; color: #800000"&gt;"12003"&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;, &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;string&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;.IsNullOrEmpty(FilterText) ? &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; : &lt;/span&gt;&lt;span style="font-size: 13px; color: #800000"&gt;&lt;span style="font-size: 13px; color: #800000"&gt;"and "&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt; &amp;#43; FilterText, &lt;/span&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;&lt;span style="font-size: 13px; color: #0000ff"&gt;null&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: 13px"&gt;); &lt;p&gt;grid.DataBind();&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;&lt;p&gt;Murthy Marella &lt;/p&gt;&lt;/span&gt;</description></item></channel></rss>