This is a discussion on "Datagrid and update command" within the ASP.NET Forum section. This forum, and the thread "Datagrid and update command are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
Datagrid and update command
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Datagrid and update command
Hi I need your help with this please :brrr:
I am retreiving items from Access Database to a datagrid and this works fine :tntworth: ... I have and edit options where I want the user to be able to edit the status only! (MS ACCESS and ASP.NET) I did the coding but it doesnt work ..
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index Source Error: Line 63: Line 64: Dim ItemNo As TextBox Line 65: ItemNo = Me.DataGrid1.DataKeys(E.Item.ItemIndex) Line 66: Line 67: Dim strUpdateStmt As String :chomp: Help please |
|
|
![]() |
| Tags |
| datagrid, update, command |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using Asp to execute a command in a .exe file | Andrew1986 | Classic ASP | 7 | Jan 11th, 2008 09:44 |
| problem running php from the command line | edwarrj1 | PHP Forum | 2 | Dec 5th, 2006 18:06 |
| Need help with document.write command | MojoP | JavaScript Forum | 0 | Aug 15th, 2005 18:15 |
| VB: Datagrid Update Query - Data Dissapering | DJ1UK | ASP.NET Forum | 2 | Aug 8th, 2005 12:36 |
| VS.NET, TextBox, overlay, DataGrid | Smokie | ASP.NET Forum | 10 | Jul 27th, 2004 12:17 |