Click here to Skip to main content
15,912,578 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionShow an X in a checkbox..... Pin
eyeseetee11-Jun-08 23:02
eyeseetee11-Jun-08 23:02 
AnswerRe: Show an X in a checkbox..... Pin
Imran Khan Pathan11-Jun-08 23:12
Imran Khan Pathan11-Jun-08 23:12 
GeneralRe: Show an X in a checkbox..... Pin
eyeseetee11-Jun-08 23:30
eyeseetee11-Jun-08 23:30 
QuestionAsynchronous paging Pin
joeyjaws11-Jun-08 22:32
joeyjaws11-Jun-08 22:32 
AnswerRe: Asynchronous paging Pin
eyeseetee11-Jun-08 22:39
eyeseetee11-Jun-08 22:39 
GeneralRe: Asynchronous paging Pin
joeyjaws11-Jun-08 22:55
joeyjaws11-Jun-08 22:55 
GeneralRe: Asynchronous paging Pin
eyeseetee11-Jun-08 23:02
eyeseetee11-Jun-08 23:02 
GeneralRe: Asynchronous paging Pin
joeyjaws11-Jun-08 23:18
joeyjaws11-Jun-08 23:18 
Oh, I already did that and it is also works fine. But I think the problem with that is although I am using asynchronous technique, the way my program is being called is not parallel because I am using a loop. If the
first task is not completed yet then the next task will have to wait until the first task is completed. I will show you my code:

For i = 0 To chkHallList.Items.Count - 1
If chkHallList.Items(i).Selected Then
strNewHallCon = "Server=" & chkHallList.Items(i).Value & ";" & strHallCon
Dim task As New AsyncTasks.Tasks()
Dim asyncTask As New PageAsyncTask(AddressOf task.OnBegin, _
AddressOf task.OnEnd, _
AddressOf task.OnTimeout, _
"AsyncTask", _
True)
Session("IpAddrs") = strNewHallCon
Page.RegisterAsyncTask(asyncTask)
Page.ExecuteRegisteredAsyncTasks()
If Not task.GetAsyncDatasetResults() Is Nothing Then
dsGetResults.Merge(task.GetAsyncDatasetResults())
End If
End If
Next

Above code are works fine, but as I have said the way my program being called is not parallel. Is there any other technique that should I consider? I think the only way is using dynamic call of procedure to run the sql query and merge it thru dataset. Is that possible? The code that runs the sql query is residing in task.OnBegin function.

Thanks in advance.
Questionddl text Pin
trilokharry11-Jun-08 22:10
trilokharry11-Jun-08 22:10 
AnswerRe: ddl text Pin
Venkatesh Mookkan11-Jun-08 22:33
Venkatesh Mookkan11-Jun-08 22:33 
GeneralRe: ddl text Pin
trilokharry11-Jun-08 22:41
trilokharry11-Jun-08 22:41 
GeneralRe: ddl text Pin
Venkatesh Mookkan11-Jun-08 22:44
Venkatesh Mookkan11-Jun-08 22:44 
GeneralRe: ddl text Pin
Imran Khan Pathan11-Jun-08 23:34
Imran Khan Pathan11-Jun-08 23:34 
AnswerRe: ddl text [modified] Pin
Imran Khan Pathan11-Jun-08 23:22
Imran Khan Pathan11-Jun-08 23:22 
QuestionCustomized setup icon. Pin
Dotnetkanna11-Jun-08 21:37
Dotnetkanna11-Jun-08 21:37 
AnswerRe: Customized setup icon. Pin
eyeseetee11-Jun-08 22:42
eyeseetee11-Jun-08 22:42 
GeneralRe: Customized setup icon. Pin
Dotnetkanna11-Jun-08 22:59
Dotnetkanna11-Jun-08 22:59 
GeneralRe: Customized setup icon. Pin
eyeseetee11-Jun-08 23:05
eyeseetee11-Jun-08 23:05 
GeneralRe: Customized setup icon. Pin
Dotnetkanna11-Jun-08 23:14
Dotnetkanna11-Jun-08 23:14 
GeneralRe: Customized setup icon. Pin
eyeseetee11-Jun-08 23:27
eyeseetee11-Jun-08 23:27 
Questionupdate panel Javascript probs Pin
Member 387988111-Jun-08 20:39
Member 387988111-Jun-08 20:39 
AnswerRe: update panel Javascript probs Pin
Venkatesh Mookkan11-Jun-08 22:43
Venkatesh Mookkan11-Jun-08 22:43 
Questionhow to persist grid values while post back ???? Pin
koolprasad200311-Jun-08 19:52
professionalkoolprasad200311-Jun-08 19:52 
AnswerRe: how to persist grid values while post back ???? Pin
N a v a n e e t h11-Jun-08 20:46
N a v a n e e t h11-Jun-08 20:46 
QuestionHow to migrate CFM to Asp.net Pin
please help11-Jun-08 19:47
please help11-Jun-08 19:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.