[mono-vb] GridView/Npgsql, sorting & paging does not work

Rolf Bjarne Kvinge rolflists at ya.com
Mon Oct 20 05:34:11 EDT 2008



This isn't a vb-specific issue, so you'll be better off asking in a more
generic mailing list like mono-list instead mono-vb.




From: mono-vb-bounces at lists.ximian.com
[mailto:mono-vb-bounces at lists.ximian.com] On Behalf Of Johannes Drachenfels
Sent: lunes, 20 de octubre de 2008 10:31
To: mono-vb at lists.ximian.com
Subject: [mono-vb] GridView/Npgsql, sorting & paging does not work




i am develop a asp application for hybrid use on Linux and Microsoft. My
application can use both - from both platforms.


My problem is now that when I use the GridView control, paging and sorting
works fine with MSSQL but not with Postgres. Same with DataGrid. 


Is there maybe someone out who has experience with this?!



I use the following controls:


In web.config:



      <add name="postgres"


      description=".Net Framework Data Provider for PostgreSQL"

      type="Npgsql.NpgsqlFactory, Npgsql, Version=, Culture=neutral,
PublicKeyToken=5d8b90d52f46fda7" />

      <!-- other provider entries elided -->




In form.aspx:


<asp:SqlDataSource ID="SDS" runat="server"></asp:SqlDataSource>


In source code:


'GV.DataSourceID = "SDS"

SDS.ConnectionString =

SDS.ProviderName = "Npgsql"

SDS.SelectCommand = "Select * from mailboxes"




Thanks for help & Regards,



No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.173 / Virus Database: 270.8.1/1730 - Release Date: 19/10/2008

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-vb/attachments/20081020/45615fbd/attachment.html 

More information about the Mono-vb mailing list