Asp net gridview rowupdating new values empty

Two things: | | 1) I think this needs to be documented better. not-for-mail | Xref: TK2MSFTNGXA02gbl microsoft.public.dotnet.framework.aspnet:372922 | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet | | Steven, | | Thanx for confirming the limitation.For a while now I’m trying to figure out why my method, triggered by the Grid View.

hello my problem was that my gridview editable controls heep their old values. this is due to the grid view binding in the page_load method after every post back.

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?

Which means I won’t make my 70% code reduction Microsoft has always promised me.

Please help me with writing a Row Updating function in C#, I don't know how to grab the current field's value and also get the old value for one of keys (which is Project Name for editing) of the selected row. the idea wa to don't allow binding the grid view after a post back.

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. Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base. Get String("Grid View_Unhandled Even t", new object[] { this. (This posting is provided "AS IS", with no warranties, and confers no rights.) -------------------- | NNTP-Posting-Date: Thu, -0600 | From: Mark Olbert | Newsgroups: microsoft.public.dotnet.framework.aspnet | Subject: Grid View: Empty Old Values, New Values | Date: Thu, -0800 | Organization: Olbert & Mc Hugh, LLC | Reply-To: ma**@| Message-ID: | X-Newsreader: Forte Agent 3.1/32.783 | MIME-Version: 1.0 | Content-Type: text/plain; charset=us-ascii | Content-Transfer-Encoding: 7bit | Lines: 11 | X-Trace: sv3-Wkra Mt184x GJ5k Ku M MN7j XAQ3s JZ047p A4gc7d Sp Ek9As0t2A 6r Yev/3ngn BCYGg IVo Ysh Z Q/6LIx G! Regards, Steven Cheng Microsoft Online Support Get Secure! /hu Ep Qj ZU2s9w5B2In L9xgs Gc Fvt8Bccxygjub QCb FGN8te4y JQ 886hq/wd Xn Iv PGe IV Mg== | X-Complaints-To: ab***@| X-DMCA-Notifications: X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers | X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly | X-Postfilter: 1.3.32 | Path: TK2MSFTNGXA02gbl! (This posting is provided "AS IS", with no warranties, and confers no rights.) -------------------- | NNTP-Posting-Date: Fri, -0600 | From: Mark Olbert | Newsgroups: microsoft.public.dotnet.framework.aspnet | Subject: Re: Grid View: Empty Old Values, New Values | Date: Fri, -0800 | Organization: Olbert & Mc Hugh, LLC | Reply-To: ma**@| Message-ID: | X-Newsreader: Forte Agent 3.1/32.783 | MIME-Version: 1.0 | Content-Type: text/plain; charset=us-ascii | Content-Transfer-Encoding: 7bit | Lines: 32 | X-Trace: sv3-LAZYmd Bol Yhx k Jp Amo BOGULDT2Ia Ot8mm0XAd S3/H8Wolx8Xkj G2Ejqy INMBt07V7v W05b7 BZLOji S! 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.

Tags: , ,