greg
Mon Jul 14 18:46:00 CDT 2008
thank you
in forms A, I have one connection to the database sdf with 40000record
like this
Public ConnectionData As System.Data.SqlServerCe.SqlCeConnection
Public DataName As String
on load forms A
ConnectionBase = New System.Data.SqlServerCe.SqlCeConnection()
ConnectionBase.ConnectionString = "Data Source=\xxx.sdf"
ConnectionBase.Open()
function xxx
Dim COMMANDE As Data.SqlServerCe.SqlCeCommand = ConnectionBase.CreateCommand
Dim READER As Data.SqlServerCe.SqlCeDataReader
COMMANDE.CommandText = "SELECT * FROM xxx WHERE xxx LIKE '%" & VARIABLE &
"%'"
READER = COMMANDE.ExecuteReader
I open the forms B to enter the text of VARIABLE , when I clos forms B
in evenement Paint forms A, I call function to reader table, end enter
information in ListWiew
but forms B closed only after the result function, I cant use the progresBar
in forms A to see progression
end second question if exist one other data base more faster then .sdf
end have forms B to
"Simon Hart [MVP]" <srhartone@yahoo.com> a écrit dans le message de news:
1CE17F63-310A-4538-8457-DE59AD09D3DA@microsoft.com...
>I don't understand what you are asking. Can you be more specific.
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
>
http://simonrhart.blogspot.com
>
>
> "greg" wrote:
>
>> Hi,
>> I have 2 forms, A, B,
>> A is for open database, B is the request for A , I have buton in B with
>> code: Me.Hide end on evenement on focus A it's open de database, but B
>> form
>> is close only after result, I can't use ProgressBar in A
>> any solution?
>> Thanks all
>>
>>
>>
>>