HI , I m working with Background worker class . I am trying to load data and while loading it takes time to process data . I am trying to get a progress bar showing the data getting processed in the grid on other thread that is loading that data in the form .I am able to design a forming that shows progress bar loading and then data getting processed. I m just calling the form while loading data but it doesn't process the data it runs its own thread to show progress bar loading. May I know how I can do that.
rocky811
Posts
-
background worker ..not able to process data while loading progress bar -
Loading status bar for data in other form !!I have some forms tht load data in grid in background. As its huge data, until it gets loaded I want progress bar form to show the load status... how can I do that?
-
Progress bar [loading progress bar for background data load ]hi, I am doing similar thing.. but I have some forms tht loads in grid in background. As its huge data, until it gets loaded I want this progress bar form show the status... how can I do that and call this? Please Help me out
-
Problem with populating data from one grid into otherHi, I am trying to populate data into one grid name Grid1 using the row selected in Grid2. Grid1 and Grid2 have a common ID called ColorID . For a row with ColorID selected in Grid2 I want the data corresposding to that ColorID and also I have few combo boxes in the same grid2 selecting on which data to be populated in Grid1 Can someone help me with this or providing some link from which I might look and try to work on !! Thanks a lot !!
-
login page problemya its fine !!! but just like i want to display a text message .. when u enter wrong details !!!
-
login page problemi have a login page wid login check up loop as if (userType.Equals("Administrator")) { Response.Redirect("successPage.aspx"); } else if (!userType.Equals("Administrator")) { errMessage.Text = " Login Incorrect!! " ; } login works well with correct details as needed ..but if i enter wrong details.. it displays nothing.. i want to display text above... how to do this ??
-
error message in login pagei have a login page wid login check up loop as if (userType.Equals("Administrator")) { Response.Redirect("successPage.aspx"); } else if (!userType.Equals("Administrator")) { errMessage.Text = " Login Incorrect!! " ; } login works well..but if i click wrong details.. it displays nothing.. i want to display text above... how to do this ??
-
disable button on one webform from otherhey thanx a lot thats working !!!
-
disable button on one webform from otherthanks for reply ..but i want both to happen i.e. if user clicks the "New" button, i wanna enable the "Save" button and disable "Update" button on WebForm2. and when user clicks EDIT button , i wanna enable Update button and disable Save button .. few errors i got for previous reply 1)Operator '!=' cannot be applied to operands of type 'bool' and 'object' 2)Cannot implicitly convert type 'object' to 'bool'. An explicit conversion exists (are you missing a cast?) 3)Only assignment, call, increment, decrement, and new object expressions can be used as a statement
-
disable button on one webform from otherI have 2 webforms form1.aspx and form2.aspx. on form1 i have 2 buttons EDIT and NEW and on form2 i have SAVE and UPDATE .... I want to disable UPDATE button on form2 when i click NEW buttton on form1 and similarily i want to disable SAVE button when i click EDIT button in form1 . as EDIT buttton only should enable UPDATE and NEW should enable only SAVE please ..Its Urgent !!
-
disable button on one webform from otherI have 2 webforms form1.aspx and form2.aspx. on form1 i have 2 buttons EDIT and NEW and on form2 i have SAVE and UPDATE .... I want to disable UPDATE button on form2 when i click NEW buttton on form1 and similarily i want to disable SAVE button when i click EDIT button in form1 . as EDIT buttton only should enable UPDATE and NEW should enable only SAVE please ..Its Urgent !!
-
data grid ..edit n update !!can u explain in detail how to do that.. i am not able to do it still
-
data grid ..edit n update !!hi , I have created a data grid and also connected to database ( in sql server) . my data grid table consists of few rows and columns . my each row shud be updated by modfying the row creating a edit box there in the page displayed when u click the edit button!! i want to edit each row and then update existing record of the table .. i am working in VS 2005 and using sql server manager for my database .. can somebody explain me each step clearly how to do this !!! thank you
-
how to update a row in data grid ??ya i know its really using OledbDataadaptor but my database is not in MS Access but in Sql Server... so everything i need to write is using sql commands .. can u help me with that ?
-
how to update a row in data grid ?? [modified]sorry !! i mistyped it !!! i actually wanted to update a row in table.. i have a data grid with few columns in it . I want to edit each row and update it . when i try to click edit button it shows an exception (Invalid Operation) . Hope u got it now..
-
how to update a row in data grid ?? [modified]can u help me with the above code please ?
-
how to update a row in data grid ??I am trying to update row in sql database but unable to do it .. this is what i have done so far .. protected void UpdateCommand(object source, DataGridCommandEventArgs e) { Response.Write("testing"); SqlConnection conn = new SqlConnection(connectionString); try { conn.Open(); string database1 = "Level1"; TextBox UserName = (TextBox)(e.Item.Cells[2].Controls[0]); TextBox MacAddr = (TextBox)(e.Item.Cells[3].Controls[0]); DataSet ds = new DataSet(); SqlCommand myCommand = new SqlCommand("UPDATE " + database1 + " SET UserName = '" + UserName + "', MacAddr = '" + MacAddr+" ' ", conn); myCommand.Connection = conn; myCommand.ExecuteNonQuery(); } catch (Exception ex) { Response.Write(ex.Message); Response.End(); if (conn != null) conn.Close(); return; } finally { Response.Redirect((string)Session["PreviousURL"]); } conn.Close(); DataGrid1.EditItemIndex = -1; can someone help me how to update after we clik edit button in each textbox in a row ?? Thanx !!
-
how to update a row in data grid ?? [modified]i am trying to update row in table (data grid ) but unable to do it .. this is what i have done so far .. protected void UpdateCommand(object source, DataGridCommandEventArgs e) { Response.Write("testing"); SqlConnection conn = new SqlConnection(connectionString); try { conn.Open(); string database1 = "Level1"; TextBox UserName = (TextBox)(e.Item.Cells[2].Controls[0]); TextBox MacAddr = (TextBox)(e.Item.Cells[3].Controls[0]); DataSet ds = new DataSet(); SqlCommand myCommand = new SqlCommand("UPDATE " + database1 + " SET UserName = '" + UserName + "', MacAddr = '" + MacAddr+" ' ", conn); myCommand.Connection = conn; myCommand.ExecuteNonQuery(); } catch (Exception ex) { Response.Write(ex.Message); Response.End(); if (conn != null) conn.Close(); return; } finally { Response.Redirect((string)Session["PreviousURL"]); } conn.Close(); DataGrid1.EditItemIndex = -1; can someone help me how to update after we clik edit button in each textbox in a row ?? Thanx !! -- modified at 11:39 Tuesday 6th November, 2007