User Profile

Collapse

Profile Sidebar

Collapse
Nonki
Nonki
Last Activity: Feb 22 '10, 07:27 AM
Joined: Feb 17 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Nonki
    replied to GridView does not show updated data
    Hi Guys,

    I have changed my code as following and it updates nicely :)

    Code:
    OracleConnection oCon = new OracleConnection("Data Source=PSM1;User ID=MASTER;Password=MASTER");
    
    string unqNo = GridView1.DataKeys[e.RowIndex].Value.ToString();
    string salMod = ((TextBox)GridView1.Rows[e.RowIndex].Cells[7].Controls[0]).Text;
    string applGa20 = ((TextBox)GridView1.Rows[e.RowIndex].Cells[8].Controls[0]).Text;
    ...
    See more | Go to post

    Leave a comment:


  • Nonki
    replied to Gridview Rowupdating
    Hi,

    Thanks foe viewing my code but I have changed it completely, not using it anymore.
    See more | Go to post

    Leave a comment:


  • Nonki
    replied to GridView does not show updated data
    Hi Frinny,

    At first my parameter had an "@" symbol but when I executed my code, I got an error saying "illegal Variable name" only then I realized that Oracle does not like "@" sign used with with parameter name....
    See more | Go to post

    Leave a comment:


  • Nonki
    started a topic GridView does not show updated data

    GridView does not show updated data

    Hi,

    When I click the update button on my Gridview to update oracle database, it does not show the updated values.. I need help urgently

    Code:
    protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
    
            OracleConnection oCon = new OracleConnection("Data Source=PSM1;User ID=MASTER;Password=MASTER");
            OracleCommand oCom = new OracleCommand("UPDATE
    ...
    See more | Go to post
    Last edited by tlhintoq; Feb 17 '10, 02:32 PM.

  • Nonki
    started a topic Gridview Rowupdating

    Gridview Rowupdating

    Hi,

    Can someone help me to correct my code to make my Gidview update.

    Here is my code below:
    Code:
    protected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e)
        {
            string unqNo = GridView1.DataKeys[e.RowIndex].Value.ToString();
            string salMod = GridView1.Rows[e.RowIndex].Cells[6].Text;
            string applGa20 = GridView1.Rows[e.RowIndex].Cells[7].Text;
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 17 '10, 02:17 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Working...