Click here to Skip to main content
15,911,896 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: XHTML Strict Pin
Paul Watson26-Jul-02 3:29
sitebuilderPaul Watson26-Jul-02 3:29 
GeneralRe: XHTML Strict Pin
Domenic Denicola27-Jul-02 5:11
Domenic Denicola27-Jul-02 5:11 
GeneralRe: XHTML Strict Pin
Paul Watson27-Jul-02 5:37
sitebuilderPaul Watson27-Jul-02 5:37 
GeneralRe: XHTML Strict Pin
Domenic Denicola27-Jul-02 8:42
Domenic Denicola27-Jul-02 8:42 
GeneralGo to anchor Pin
Hans Ruck23-Jul-02 7:17
Hans Ruck23-Jul-02 7:17 
GeneralRe: Go to anchor Pin
Jeremy Falcon23-Jul-02 7:38
professionalJeremy Falcon23-Jul-02 7:38 
GeneralRe: Go to anchor Pin
Hans Ruck23-Jul-02 7:52
Hans Ruck23-Jul-02 7:52 
GeneralDataGrid Editing doesn't update Pin
Steve Severance23-Jul-02 5:42
Steve Severance23-Jul-02 5:42 
I am trying to get a datagrid to update. Everything else
in it works. However when I try to retrieve the new value
it passes me the original value. Any Ideas? Thanks.

public void UpdateGrid(object sender, DataGridCommandEventArgs e)
{
UpdateVendor.Connection = Global.sqlConnection;
UpdateVendor.Parameters[0].Value = dgVendors.DataKeys[(int)e.Item.ItemIndex];

UpdateVendor.Parameters[1].Value = ((TextBox)e.Item.Cells[3].Controls[0]).Text;
UpdateVendor.Parameters[2].Value = ((TextBox)e.Item.Cells[4].Controls[0]).Text;
UpdateVendor.Parameters[3].Value = ((TextBox)e.Item.Cells[5].Controls[0]).Text;
UpdateVendor.Parameters[4].Value = ((TextBox)e.Item.Cells[6].Controls[0]).Text;

UpdateVendor.ExecuteNonQuery();

dgVendors.EditItemIndex = -1;
dgVendors.DataBind();

Response.Redirect("ManageVendors.aspx");
}


Steve

Not all who wander are lost...
GeneralRe: DataGrid Editing doesn't update Pin
Not Active23-Jul-02 8:28
mentorNot Active23-Jul-02 8:28 
GeneralRe: DataGrid Editing doesn't update Pin
Steve Severance24-Jul-02 8:23
Steve Severance24-Jul-02 8:23 
GeneralRe: DataGrid Editing doesn't update Pin
mgriffith24-Jul-02 8:33
mgriffith24-Jul-02 8:33 
GeneralCreating a menu list Pin
Gregory22-Jul-02 23:41
Gregory22-Jul-02 23:41 
GeneralRe: Creating a menu list Pin
benjymous23-Jul-02 2:54
benjymous23-Jul-02 2:54 
GeneralRe: Creating a menu list Pin
Nick Parker23-Jul-02 4:27
protectorNick Parker23-Jul-02 4:27 
GeneralRe: Creating a menu list Pin
Suolan23-Jul-02 18:05
Suolan23-Jul-02 18:05 
GeneralDifferent actions from one form. Pin
David Fleming22-Jul-02 11:32
David Fleming22-Jul-02 11:32 
GeneralRe: Different actions from one form. Pin
Jeremy Falcon22-Jul-02 11:44
professionalJeremy Falcon22-Jul-02 11:44 
GeneralRe: Different actions from one form. Pin
David Fleming22-Jul-02 12:24
David Fleming22-Jul-02 12:24 
GeneralRe: Different actions from one form. Pin
Paul Watson23-Jul-02 7:09
sitebuilderPaul Watson23-Jul-02 7:09 
GeneralRe: Different actions from one form. Pin
David Fleming23-Jul-02 17:37
David Fleming23-Jul-02 17:37 
GeneralRe: Different actions from one form. Pin
Chris Maunder23-Jul-02 18:17
cofounderChris Maunder23-Jul-02 18:17 
GeneralRe: Different actions from one form. Pin
David Fleming24-Jul-02 22:46
David Fleming24-Jul-02 22:46 
GeneralRe: Different actions from one form. Pin
Chris Maunder24-Jul-02 22:54
cofounderChris Maunder24-Jul-02 22:54 
Generaldetecting carrige returns Pin
Nnamdi Onyeyiri22-Jul-02 9:58
Nnamdi Onyeyiri22-Jul-02 9:58 
GeneralRe: detecting carrige returns Pin
Nnamdi Onyeyiri22-Jul-02 10:12
Nnamdi Onyeyiri22-Jul-02 10:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.