Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

rocky811

@rocky811
About
Posts
18
Topics
10
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • background worker ..not able to process data while loading progress bar
    R rocky811

    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.

    C# css design

  • Loading status bar for data in other form !!
    R rocky811

    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?

    C# question css

  • Progress bar [loading progress bar for background data load ]
    R rocky811

    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

    C# csharp css help tutorial

  • Problem with populating data from one grid into other
    R rocky811

    Hi, 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 !!

    C# help css

  • login page problem
    R rocky811

    ya its fine !!! but just like i want to display a text message .. when u enter wrong details !!!

    C# help tutorial question

  • login page problem
    R rocky811

    i 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 ??

    C# help tutorial question

  • error message in login page
    R rocky811

    i 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 ??

    ASP.NET help tutorial question

  • disable button on one webform from other
    R rocky811

    hey thanx a lot thats working !!!

    ASP.NET announcement

  • disable button on one webform from other
    R rocky811

    thanks 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

    ASP.NET announcement

  • disable button on one webform from other
    R rocky811

    I 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 !!

    C# announcement

  • disable button on one webform from other
    R rocky811

    I 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 !!

    ASP.NET announcement

  • data grid ..edit n update !!
    R rocky811

    can u explain in detail how to do that.. i am not able to do it still

    ASP.NET database css sql-server visual-studio sysadmin

  • data grid ..edit n update !!
    R rocky811

    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

    ASP.NET database css sql-server visual-studio sysadmin

  • how to update a row in data grid ??
    R rocky811

    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 ?

    C# database css testing beta-testing help

  • how to update a row in data grid ?? [modified]
    R rocky811

    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..

    ASP.NET css testing beta-testing help tutorial

  • how to update a row in data grid ?? [modified]
    R rocky811

    can u help me with the above code please ?

    ASP.NET css testing beta-testing help tutorial

  • how to update a row in data grid ??
    R rocky811

    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 !!

    C# database css testing beta-testing help

  • how to update a row in data grid ?? [modified]
    R rocky811

    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

    ASP.NET css testing beta-testing help tutorial
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups