Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internal connection error
Message
De
19/11/2006 11:24:58
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Titre:
Internal connection error
Divers
Thread ID:
01171061
Message ID:
01171061
Vues:
49
I got an error during fill in dataset when the sql statment return over 2000 records.
I don't know how to solve the problem??
I need to fill in dataset and export to excel.
If i use sql analzyer to select the data, it just use less than 1 minus.


dsExcelExport.Clear()
daExcelExport.SelectCommand = New SqlCommand
daExcelExport.SelectCommand.Connection =dtsclass.DatabaseConnection.GetDbConnection("ACCOUNT")
daExcelExport.SelectCommand.CommandText = "select invno,number,amount , xxx from invheader"
daExcelExport.Fill(dsExcelExport) <---
Répondre
Fil
Voir

Click here to load this message in the networking platform