Hi I have a bound datagrid in my page. I want to hide rows where there is no data, is this possible. Example - Row 1: Name | TestNameValue Row 2: Address | Row 3: Phone | 08322232 Row 4: FAX | Would be displayed as Row 1: Name | TestNameValue Row 2: Phone | 08322232 (although the next 'page' would display address if it contained a value!) Thanks in advance, Ben.
Handle RowDataBound event. In the event detect empty-data rows and set for them Visible=false. -- Eliyahu Goldin, Software Developer Microsoft MVP [ASP.NET] http://msmvps.com/blogs/egoldin http://usableasp.net "Ben." wrote in message news:372D8A3D-D90C-41C5-8760-C3B5D58C256B@microsoft.com... > Hi > > I have a bound datagrid in my page. I want to hide rows where there is no > data, is this possible. > > Example - > > Row 1: Name | TestNameValue > Row 2: Address | > Row 3: Phone | 08322232 > Row 4: FAX | > > Would be displayed as > > Row 1: Name | TestNameValue > Row 2: Phone | 08322232 > > (although the next 'page' would display address if it contained a value!) > > Thanks in advance, > > Ben. >