Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

ASP GridView DataSource DataTable Connectivity For GetChanges?

Posted on 2012-03-28
3
Medium Priority
?
436 Views
Last Modified: 2012-06-21
I'm reading conflicting comments on the Internet concerning the connectivity of a DataTable to a GridView.

Q. Does a text change in a Gridview Textbox imediately reflect in it's datasource datatable?

I thought using the DataTable.GetChanges would be a nice way to get only changed textboxes in a GridView. Some say I need to iterate through each GridView row because it's datasouce datatable is only used for intial loading the Gridview.

We're using Oracle 11 which to my knowledge does not play nice with Visual Studio GridViews.

I generally use MSSSQL and can easily get Gridview changes back to the DB by using da.Update.
0
Comment
Question by:pointeman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
rajvja earned 2000 total points
ID: 37776474
Try this, it might be useful

http://forums.asp.net/t/1380021.aspx/1
0
 

Author Comment

by:pointeman
ID: 37780455
Nice link. I'm still unsure if typing text into a gridview textbox is actually being saved to the data set or just part of the screen GUI. At what point is the data IN the data set?
0
 

Author Comment

by:pointeman
ID: 37780492
I must explain that we are using Oracle which does not have nice SqlDataAdapter like MSSQL. We are only using Template columns with Item fields and not Edit fields, so the gridview never uses Edit- mode. I've found that working with Oracle and Visual Studio 2010 is like stepping back IN time 10 years IN technology having to hardcode every database insert and update statement. I just thought it would be a little more efficient if I could at least get only the modified dataset/table rows.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question