Answered by:
Grid view to update records in one click of a button

Question
-
I want to save updated records in a grid view in a single click the of the save button , how can i do this, what i see here is a gridview which saves one record at a time, but we want to first capture data and save all records at once then click a save button to update the database
- Moved by Jack Zhai-MSFTMicrosoft contingent staff Wednesday, June 29, 2016 3:31 AM
Saturday, June 18, 2016 12:53 PM
Answers
-
Hello,
This should be asked in Microsoft's ASP.Net forums:
As Microsoft's ASP.Net forums are on a different platform, we cannot move the question for you.Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})- Proposed as answer by Dave PatrickMVP Friday, July 1, 2016 10:39 PM
- Marked as answer by Dave PatrickMVP Sunday, July 10, 2016 9:49 PM
Friday, July 1, 2016 10:04 PM -
Or if a desktop forms app maybe over here.
https://social.msdn.microsoft.com/Forums/windows/en-us/home?category=windowsforms
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Just Karl Saturday, July 2, 2016 3:08 PM
- Marked as answer by Dave PatrickMVP Sunday, July 10, 2016 9:49 PM
Friday, July 1, 2016 10:41 PM
All replies
-
Hi nkabirwaismail,
This forum is discuss Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
Please tell us what project type you are developing? We will find a applicable forum to let your problem get a better help.
According to your description, you want to update/save the records in GridView at once through a button click, is it right?
Please define a global list variable which used to store these records and bind this variable to the GridView. And when adding a new record in GridView, please also add the new record to the variable. Then in a button click to save the records in list variable to the database.
Best Regards,
WeiweiWe are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.Monday, June 20, 2016 7:39 AM -
Hello,
This should be asked in Microsoft's ASP.Net forums:
As Microsoft's ASP.Net forums are on a different platform, we cannot move the question for you.Karl
When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
My Blog: Unlock PowerShell
My Book: Windows PowerShell 2.0 Bible
My E-mail: -join('6D73646E5F6B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})- Proposed as answer by Dave PatrickMVP Friday, July 1, 2016 10:39 PM
- Marked as answer by Dave PatrickMVP Sunday, July 10, 2016 9:49 PM
Friday, July 1, 2016 10:04 PM -
Or if a desktop forms app maybe over here.
https://social.msdn.microsoft.com/Forums/windows/en-us/home?category=windowsforms
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Just Karl Saturday, July 2, 2016 3:08 PM
- Marked as answer by Dave PatrickMVP Sunday, July 10, 2016 9:49 PM
Friday, July 1, 2016 10:41 PM