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

Johannes Drachenfels johannes at drachenfels.de
Mon Oct 20 04:30:50 EDT 2008



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


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,



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

More information about the Mono-vb mailing list