?
Solved

ASP GridView DataSource DataTable Connectivity For GetChanges?

Posted on 2012-03-28
3
Medium Priority
?
425 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

One of the pain points with developing AJAX, JavaScript, JQuery, and other client-side behaviors is that JavaScript doesn’t allow for cross domain request for pulling content. For example, JavaScript code on www.johnchapman.name could not pull conte…
In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

770 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