Asp net gridview rowupdating oldvalues Free online nude chat on ipod

Rated 4.22/5 based on 691 customer reviews

Check out what I’m trying to do, maybe you can help?

First, I load up some data: After that, I’m doing some work to make my Grid View look beautifull, adding all columns by hand.

A friend asked me to help him out on this and frankly it has me completely stumped as well.

I have a Grid View control and use old style manual binding with a Data Source property and invoke the Data Bind() method.

I found that simple data binding of my Drop Down List in my Grid View to my Sql Data Source was not going to be enough.

Relevant code: Relevant Codeprivate void Load Data() void gv SMRUnplanned_Row Editing(object sender, C1. So what you need to do is store the data source (maybe in Session) and only bind rebind the data when you absolutely need to (Like during the Is Not Post Back) Do you understand? Please post the code for your Page_Load method and the that handles your Update (your C# code) so we can have a better look at what's going on. Please give some references and/or details of how to. This wipes out the data provided by the user during editing (editing happens after the page load).But as I noted in the comments in that method, some collections that should contain the columns (names, old values and new values) are always empty. And the Row Updated method is never even touched!!! NET Forums that I need to use a Data Source control.For example a Sql Data Source, which is automatically added to your Web Form if you drag-n-drop your way around Visual Studio 2005.

Leave a Reply