[Mono-aspnet-list] Column Display problem: GridView/databind of strongly typed dataset (XSD)

jellibean cle2530 at yahoo.com
Sat Mar 13 10:44:55 EST 2010


Hi,

I have a web app that connects to a MS SQL Server 2008 database.  In the
.NET environment, I used an XSD.  Due to some assemblies not yet available
in Mono, I converted the XSD to a .CS class file.  

Once I move my app onto Mono, everything works nicely, *except* for the
display of the GridView.  When I bind the data to the GridView, two
additional columns get displayed: "HasErrors" and "RowError." Also, my
column names are renamed (spaces are converted to underscores, even though
my columns contain spaces, I qualify the names with quotes, etc. as
necessary).

For example, in my windows environment, my columns get displayed as: [First
Name][Last Name].  However, Mono displays the gridview columns as:  
[First_Name][Last_Name][HasErrors][RowError].

The underscores in the name are less of a nuisance, however, I can't figure
out how to prevent the "HasErrors" and "RowError" columns from displaying. 
I've tried setting those columns visibility to false, but that doesn't work
either.  Any assistance would be greatly appreciated!!
-- 
View this message in context: http://n4.nabble.com/Column-Display-problem-GridView-databind-of-strongly-typed-dataset-XSD-tp1591715p1591715.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list