How to get value in current cell of what is being edited in gridview in ASP.net?
-
I have a gridview and need to get whether or not a checkbox has been checked off and set a label with a complete date in the same gridview then finally allow the update to post back to Access (so checkbox true and complete date = now) How do I get values from the current cell I am editing and how do I set values in the current row I am editing before it is posted back to Access?
-
Answer:
You can use javscript to set your data on the client or loop through the rows and cells of the grid on the server before update something in Access. If you use map gridview directly to database through datasource object then you can utilize datsource's updating and inserting events onthe server. Both events running before the data post to database
Mr M at Yahoo! Answers Visit the source
Related Q & A:
- How can I allow user to create posts in website using ASP.NET?Best solution by Programmers
- How to Undo previous action in asp.net?Best solution by forums.asp.net
- What can Node.js do that ASP.NET cannot?Best solution by Stack Overflow
- How to get user's current location?Best solution by Stack Overflow
- What would be the best book to Help me learn web design in C# and asp.net?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.