//get rows from db
foreach(DataRow r in rows)
{
//connect to some other database
//update some record in datatable
//insert record into datatable
//etc...
//...
}
複数のスレッドメカニズムを使用して上記のコードを書き直す方法は、複数のサーバーから利益を得ることができますか?
//get rows from db
foreach(DataRow r in rows)
{
//connect to some other database
//update some record in datatable
//insert record into datatable
//etc...
//...
}
複数のスレッドメカニズムを使用して上記のコードを書き直す方法は、複数のサーバーから利益を得ることができますか?