Author: dotNet_Student | Posted on: 6/6/2008 8:59:39 AM | Views : 658

In ASP.NET, is it possible to make non-ajax AsyncCallback to update records in a database? Here is what I am trying to do but I think it will be more efficiant if data is update Asynchornously.

  protected void ResolveData()
{
int rowsUpdated = 0;
int rowsEffected = 0;
StringBuilder sb = new StringBuilder();

List headerList = DataMapper.GetUnresolvedHeaderRecords();
try
{
foreach (NFHeader header in headerList)
{

List detailsList = DataMapper.GetDetailsAll(header.BatchNumber.ToString());

foreach (NFDetails details in detailsList)
{
...

Go to the complete details ...