index > .NET Framework Data Access and Storage > is it possible to interrupt fill method of the data adapter?

is it possible to interrupt fill method of the data adapter?

Hi all,

is it possible to interrupt fill method of the data adapter?

Case :

Suppose while filling the dataset using data adapter , say i have a button which says

"Pause Loading" , it will pause the data loading and whatever data is loaded is saved into the dataset again i have resume loading button which will again rsume loading of the data from the point where adapter has been interrupted?

is it possible to do in .net ? without using looping on the dataset becoz i have a lot of data to work with

thanks

Saurabh

saurabh1531
Since this is more of a general ado.net question than one specific to the new ado.net CTP, moving to the appropriate forum.


This posting is provided "AS IS" with no warranties, and confers no rights.
Daniel Simmons - MSFT
There are methods in which you can sequential read data and stop and resume...but I'm not sure you are going to be able to do that with the fill method of the adapter. You can try using a seperate thread to fill the dataset and when you want to pause...put the thread to sleep...and the wake the thread on resume...


MSDN Technical Forums Moderator - Happy Coding :)
DMan1
reply 3

You can use google to search for other answers

 

More Articles

• Data Relation Causing a Performance Hit???
• How to retrieve value from UDT column written using CLR Integrati...
• Changes made to multiple tables
• Dinamically adding columns
• Reference to a field after record search
• HELP!! writing sql in vb.net (ado.net)
• How to get the max length of text field in a DataSet?
• Data Adapter Error VB.NET 2003 SQL 2005
• So Many ADO Data Providers Which Should I Use?
• Save and retrieve RTF Text from MSSQL DB
Bookmark and Share
Welcome to Bokebb   New Update  
 

New Articles

• SQL Server 2005 JDBC Driver and x64 sys
• Problem with calculated column - does no
• Regional Settings, depending of the form
• Reference to a field after record search
• Sql server 2005 ==> 1000 times slowe
• Update unable to find TableMapping error
• Bug with DeriveParameters?
• poor oracleclient performance (System.Da
• Finding orphans among two datatables
• Combo Boxes and RecordSet
• Using a Thread in a Web Application to A
• SQL select with variable or an object
• Interesting behavior causing: "Ther
• Control.DoDragDrop and Exceptions
• sqldatareader?

Hot Articles

• Using DataSet to create database
• Build connection string like COM?
• Should I reinstall?
• Requesting a list of datasources in vs 2
• VB.Net Data Storage
• Reading an OLE Object field in a MS Acce
• Memory leak when using ODP.NET from http
• problem copying table from one database
• Microsoft Oracle .NET Data Provider Perf
• Enterprise Library Data Types
• Trying to insert non-latin characters in
• DataSet or DataReader
• Iframe & SqlDataSource
• Can't figure out this error message
• Importing An Excel Sheet In SQL SERVER 2

Recommend Articles

• Personalization & Integrated Security
• Serializing an Object into a database Co
• Enterprise Library Data Types
• Connecting to SQL Database using Enterpr
• Referencing DLL's in the GAC
• Mapping Xsd element attributes to DataSet
• i need help with passing parameters in t
• after publish the program, if i wanna ch
• Inserting a row duplicates this row
• HELP!! writing sql in vb.net (ado.net)
• What is the List<OdbcParameter>.En
• DataTable Table name
• Update issue vb.net2005 express - SQLSer
• How to validate data against schema and
• DataSet thread safety