c# and mysql datetime

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



currently i'm writing a ADO.Net program using C3 and mysql. i am using
crystal reports by running a mysql query into a DataSet and then using the
DataSet.WriteXMLSchema() function. The problem i'm having is that when i
write the xml schema the mysql datetime column shows up as:

<xs:element name="datesold" msdata:DataType="MySql.Data.Types.MySqlDateTime,
MySql.Data, Version=1.0.4.29851, Culture=neutral, PublicKeyToken=null"
type="xs:string" minOccurs="0" />

and crystal reports does not recognize it in the schema. Is there a way to
change the column?

i tried changing the column type in the dataset but can't change the type
after it's filled. i know i could copy all the data into a datatable, but
there are going to be about 20,000 records in the dataset, so i don't want to
dump the xml or have to run a loop to import it into a datatable.

thanks in advance for any help,
scott
.



Relevant Pages

  • Re: Fixed-length text file to database script
    ... I need to pull this data into a database (MySQL ... most likely) so that I can access it with Crystal Reports to create ... I need to know how to write a script that will DAILY pull this text ...
    (comp.lang.python)
  • Re: mysql and crystal reports
    ... Do NOT pass a dataset to Crystal Reports, ... compatibility to CR 8.5 rpt using .ttx approach. ... > is there a way of integrating mysql databases into the .net crystal ... > in the report wizard i have options for sql databases, ...
    (microsoft.public.dotnet.general)
  • Re: Fixed-length text file to database script
    ... I need to pull this data into a database (MySQL ... most likely) so that I can access it with Crystal Reports to create ... I need to know how to write a script that will DAILY pull this text ...
    (comp.lang.python)
  • mysql and crystal reports
    ... is there a way of integrating mysql databases into the .net crystal reports? ... in the report wizard i have options for sql databases, ... just new to crystal reports. ...
    (microsoft.public.dotnet.general)
  • Jr. Programmer needed, Cobol necessary.
    ... C+, MySQL, crystal reports a plus. ... to add new parts to it like HTML reports. ... FHP Manufacturing ...
    (comp.os.vms)