C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Revenue Sharing | Talk to Us |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Queue Status in C#


Posted Date: 24 Mar 2008      Total Responses: 2

Posted By: Ashref Khan       Member Level: Bronze     Points: 2


Queue Status in C#
how can you write a method to find the status of Queue in C#?

Thanks
Ashref
magic_majid@yahoo.com





Responses

Author: DurgaprasadCh    25 Mar 2008Member Level: SilverRating:     Points: 2
hey Ashref,

What status you would like to know? size, I believe only way is convert to array using ToArray method and get the length.

-Durga.


Author: Ashref Khan    27 Mar 2008Member Level: BronzeRating:     Points: 2
Thanks Durga,
let me explain more what i have :
I'm doing right now a method to get the Status of a Job Queue table in SQL server that holds the jobs to be executed this is a snapshot of the table structure:
// Job queue table (main):
CREATE TABLE [dbo].[ProcessingQueue] (
[ID] [int] IDENTITY (1, 1) NOT NULL ,
[Priority] [int] NULL ,
[ProcessingType] [char] (1) NOT NULL ,
[TimeSubmitted] [datetime] NOT NULL ,
[Status] [char] (1) NULL ,
[LastUpdated] [datetime] NOT NULL
what i want is to write a method to get the Status of the Job Queue given the Job ID ? and thats from an Ajax enabled website .. i was thinking of writting a StoredProcedure to return the Status value .. i'm not sure if this is the right solution ? can you help me here


Thanks
Ashref


Post Reply
You must Sign In to post a response.
Next : Fill dropDownlist?
Previous : how to save textbox data into log file or txt file and send a file to email id on button click.
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



Read TATA Nano reviews.
dotNet Slackers   BizTalk Adaptors    Web Design   Scripts
Are you waiting for engineering entrance result? Watch here for engineering entrance results.
UK Conference calling Company

Contact Us    Privacy Policy    Terms Of Use