My setup: the user has a page where he performs some actions and data transformations.
I store these actions in a dataset (in a session).
Then, by clicking the button, I need to do some more conversion and call the user database function, which will insert every row from each datatable into the database. I have everything that worked, and it works very well.
However, now I need to change the button click event so that it does not start immediately, but put this action in the queue (this is a common queue for all users). Therefore, if user1 presses the button, then user2 presses the button, then we need to take the dataset user1 and run the method on it, and only after that take the dataset user2 and run the method. one turn for everyone.
private void btnclick()
{
DataSet ds = Session["test"] as DataSet;
PerformFinalTransformation(ds);
foreach (DataTable dt in ds.Tables)
{
foreach (DataRow dr in dt.Rows)
{
CallCustomSqlFunction(dr);
}
}
}
, , ( /). , asp.net/#. ( quartz.net -, ?). ? ? asp.net ? - ? , , . , DotNetNuke , -.