Webforms problem

  • 18 years ago

    Hi


    I am doing my first .NET project and already running into problems.


    I have made a simple editable datagrid. The first column of the grid is a edit/update/cancel column that would put the grid in the edit mode, giving the functionality to edit texts in the grid.


    After editing the text, I want to click for a update. This event will trig an event that reads the texts in the grid, generating an SQL statement that will do the update.


    The problem seems to be that the text that is read from the grid, is the original text (before it was editied). Apparantly this seems to be caused of a page re-load that occurs at some point.


    I have tried to use the Viewstate property, without any luck.


    As I am new to this environment, I guess that this should be easy to figure out. Any ideas, anyone? Thanks

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“There's no test like production” - Anon