Search found 2757 matches

by Alexey
Tue 28 Mar 2006 12:42
Forum: dotConnect for MySQL
Topic: SQL Reporting Services
Replies: 22
Views: 11555

We update products on our site every week. So that by the end of the week new beta version or release version should be available for downloading from our site.
by Alexey
Tue 28 Mar 2006 10:13
Forum: dotConnect for MySQL
Topic: Update command when using SqlDataSource control in combination with ASP.NET GridView control
Replies: 1
Views: 1869

You can do it as foollows:

Code: Select all

"
EnableCaching="True" SelectCommand="SELECT bstid, bstnam, bstgsl, bstadr, bsthnr, bstpcd, bstplt, bsttel FROM bestel" ProviderName="" UpdateCommand="UPDATE bestel SET bstnam = ?, bstgsl = ?, bstadr = ?, bsthnr = ?, bstpcd = ?, bstplt = ?, bsttel = ? WHERE bstid = ?"> 
    
        
        
        
        
        
        
        
        
    
 
This snippet was generated by "Configure Data Source..." wizard for SqlDataSource1 component. If you use it, on the second wizard window press "Advanced..." button and tick appropriate check box.
by Alexey
Tue 28 Mar 2006 06:12
Forum: dotConnect for MySQL
Topic: Select Problem or shall I say "S_utct" problem
Replies: 1
Views: 1403

Could you please provide us with your source code that raises this behaviour.
by Alexey
Mon 27 Mar 2006 09:37
Forum: dotConnect for Oracle
Topic: License not found
Replies: 6
Views: 3496

You need CoreLab.Oracle.licenses file to be added to your project. As a rule this file is added automatically during compilation. The question is why it wasn't added in your case. Please check whether your project is not read-only.
by Alexey
Mon 27 Mar 2006 09:24
Forum: dotConnect for MySQL
Topic: Updating a mysql database using a dataset - parameter use query.
Replies: 2
Views: 2001

When you use AcceptChanges() method before MySqlDataAdapter.Update() all changed rows obtain RowState = Unchanged. That's why Update() method doesn't update database (because nothing is to be updated).
by Alexey
Mon 27 Mar 2006 09:15
Forum: dotConnect for MySQL
Topic: SQL Reporting Services
Replies: 22
Views: 11555

It is fixed in 3.50 release version.
by Alexey
Fri 24 Mar 2006 12:12
Forum: dotConnect for MySQL
Topic: Expected Release Date ?
Replies: 1
Views: 1409

We update products on our site every week. So that next week new beta version or release version will be available for downloading from our site.
by Alexey
Fri 24 Mar 2006 11:00
Forum: dotConnect for MySQL
Topic: Attempt to access the method failed.
Replies: 3
Views: 3350

CoreLab.MySql assembly doesn't contain unsafe code, it contains AllowPartiallyTrustedCallers attribute, it is fully CLS compliant. These actions allow using MySQLDirect .NET on web servers.

We think the problem might be in your server configuration. Contact your ISP to configure the server to allow using of CoreLab.MySql assembly.
by Alexey
Fri 24 Mar 2006 10:36
Forum: dotConnect for Oracle
Topic: OraDirect .NET mobile trial version
Replies: 1
Views: 2328

You can download it from here:
http://www.crlab.com/oranet/download.html
by Alexey
Fri 24 Mar 2006 10:28
Forum: dotConnect for MySQL
Topic: Performance of MySqlDirect vs MySQL Connector/ODBC
Replies: 4
Views: 3755

According to our performance tests results MySQLDirect .NET exceeds OleDb, ODBC drivers and is no worse than Connector/NET provider from MySQL AB.
Our test code:

Code: Select all

    private static TimeSpan Chronometer(IDbConnection conn) {

      if (conn.State != ConnectionState.Open)
        conn.Open();

      DateTime start = DateTime.Now;

      try { 
        for (int i = 0; i < 100; ++i) {
          IDbCommand command = conn.CreateCommand();
          command.CommandText = "select * from cust";
          command.CommandType = CommandType.Text; 
          using (IDataReader reader = command.ExecuteReader());
            //while (reader.Read()) {}
        }
      }
      finally { 
        conn.Close();
      } 

      return DateTime.Now - start;
    }

    static void Main(string[] args)
    {
      System.Data.Odbc.OdbcConnection odbcConnection = new System.Data.Odbc.OdbcConnection();
      odbcConnection.ConnectionString = "DSN=mysource;user id=root;initial catalog=test;password=root;Port=3308";
      odbcConnection.Open(); 
      Console.WriteLine(Chronometer(odbcConnection).TotalMilliseconds);
      
      MySql.Data.MySqlClient.MySqlConnection netConnection = new MySql.Data.MySqlClient.MySqlConnection();
      netConnection.ConnectionString = "User Id=root;Database=test;Password=root;Port=3308;Host=server";
      netConnection.Open(); 
      Console.WriteLine(Chronometer(netConnection).TotalMilliseconds);      
      
      CoreLab.MySql.MySqlConnection mySqlConnection = new CoreLab.MySql.MySqlConnection();
      mySqlConnection.ConnectionString = "User Id=root;Database=test;Password=root;Port=3308;Host=server";
      mySqlConnection.Open(); 
      Console.WriteLine(Chronometer(mySqlConnection).TotalMilliseconds);
    }
If uncomment the string

Code: Select all

//while (reader.Read()) {}
MySQLDirect .NET superiority will become obvious.
by Alexey
Thu 23 Mar 2006 10:41
Forum: dotConnect for MySQL
Topic: VWD
Replies: 12
Views: 5569

Yes, you can only use the components in runtime.
For licensing you will need App_Licenses.dll. For more information about this read Licensing topic in MySQLDirect .NET documentation.
In release version 3.50 the licensing scheme won't need App_Licenses.dll, if MySQLDirect .NET is installed. If MySQLDirect .NET is not installed, you will need App_Licenses.dll.
by Alexey
Thu 23 Mar 2006 08:20
Forum: dotConnect for PostgreSQL
Topic: How can i escape value for sqlcommand text insertion ?
Replies: 1
Views: 2409

We don't have such public functions. Use parameters instead.
by Alexey
Thu 23 Mar 2006 07:49
Forum: dotConnect for MySQL
Topic: VWD
Replies: 12
Views: 5569

Right-click on the "*.aspx" file in Solution Explorer and choose "View Designer Component" menu item. (To see "Solution Explorer" press Ctrl+W,S)

Regards
by Alexey
Tue 21 Mar 2006 14:53
Forum: dotConnect for MySQL
Topic: How to connect to MySQL DB via Proxy Server?
Replies: 5
Views: 2190

It is not possible now. But we are planning to implement this feature in future.
by Alexey
Tue 21 Mar 2006 14:08
Forum: dotConnect for MySQL
Topic: developer tools beta ...
Replies: 5
Views: 2039

You do not need to go to a separate page for MySql Developer Tools. You should download it from the MySQLDirect .NET page.
It is better to use command builder object.
Regards