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
Solved

ASP GridView DataSource DataTable Connectivity For GetChanges?

Posted on 2012-03-28
3
411 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
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
rajvja earned 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
performance issue in asp web 5 37
insert value of checklistbox checked 4 32
How can I run RAW complex query's with Entity Framework Core 1 37
IEnumerable<T> to a List<T> 8 37
Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

856 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