DataGrid Problem

I

Ingeborg

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top