Solved

ASP GridView DataSource DataTable Connectivity For GetChanges?

Posted on 2012-03-28
3
407 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

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…
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now