Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DataGrid Problem

Reply
Thread Tools

DataGrid Problem

 
 
Ingeborg
Guest
Posts: n/a
 
      06-28-2003
Hi.

I have a DataGrid, and it works fine, but when I push the
edit button for a common edit command, like this:

private void institutionGrid_EditCommand(object source,
System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
anyGrid.EditItemIndex = e.Item.ItemIndex;
anyGrid.DataBind();
}

the DataGrid looses all rows, event if the dataset hasn't
changed and is (supposed to be) stored in the session
object and re-read at Page_Load.

I really need some help with this.

Thanks in advance,
Ingeborg


PS: For those of you reading the aspnet forum too, sorry
for posting this in the wrong place...
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem in nesting datagrid in to a nested datagrid sajvargs ASP .Net 0 02-20-2005 12:17 AM
problema ultima pagina datagrid asp.net/problem last page datagrid roberto ASP .Net Datagrid Control 1 02-17-2005 07:50 AM
DataGrid edited values problem and autogenerated columns in DataGrid problem John Walsch ASP .Net Web Controls 0 07-09-2004 03:03 PM
Call Datagrid Command column outside datagrid Dave ASP .Net 0 11-20-2003 11:11 AM
To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible? Andreas Klemt ASP .Net Datagrid Control 0 10-08-2003 01:19 AM



Advertisments