backgroundworker - how to check string value and refresh the page in asp.net -


i have static string in static class, getting value desktop application,

on asp.net have check null or have value, if has value , want to

show on label (on aspx page) , have put backgroud worker in global.asax,

public static backgroundworker worker = new backgroundworker();         public static int id = 0;       //  public static list<person> personlist = new list<person>();         public static string personlist;         public static bool stopworker = false;         void application_start(object sender, eventargs e)         {             worker.dowork += new doworkeventhandler(dowork);             worker.workerreportsprogress = true;             worker.workersupportscancellation = true;             worker.runworkercompleted += new runworkercompletedeventhandler(workercompleted);             // calling dowork method asynchronously             worker.runworkerasync();        private static void dowork(object sender, doworkeventargs e)     {         //foreach (person p in personlist)         //{         personlist = class1.getdatafromdesktop;         //}     } 

its checking value time time, unable show response on label on aspx page , do, there other process or can using global.asax


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -