473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

asp.net datagrid - Multiple row update

Hi everybody,
I am an asp.net datagrid that have all the rows editable. An user can update
any column from datagrid. I'm trying to find a way to update only the rows
that were updated. How can I handle this? Is there any possibility to get
data row behind datagrid row?

Thank you in advance!

uiranejeb

Nov 18 '05 #1
7 3514
DataSet.GetChanges()
http://msdn.microsoft.com/library/de...angestopic.asp

DataTable.GetChanges()
http://msdn.microsoft.com/library/de...angestopic.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Hi everybody,
I am an asp.net datagrid that have all the rows editable. An user can
update
any column from datagrid. I'm trying to find a way to update only the rows
that were updated. How can I handle this? Is there any possibility to get
data row behind datagrid row?

Thank you in advance!

uiranejeb

Nov 18 '05 #2
Hi HD,

Thany for replaying me. The question I ask for was how to get changes from
an asp.net datagrid? I need this changes for updating behind-data set.

I don't know exactly the correct behavior. If I modify data in datagrid,
then I must modify data in dataset? Is it true?
Thank you.
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:uA**************@TK2MSFTNGP09.phx.gbl...
DataSet.GetChanges()
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatasetclassgetchangestopic.asp
DataTable.GetChanges()
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatatableclassgetchangestopic.asp
--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Hi everybody,
I am an asp.net datagrid that have all the rows editable. An user can
update
any column from datagrid. I'm trying to find a way to update only the rows that were updated. How can I handle this? Is there any possibility to get data row behind datagrid row?

Thank you in advance!

uiranejeb


Nov 18 '05 #3
not a big fan of access but this article will get you started... you have to
use a similar approach
http://msdn.microsoft.com/library/de...wtaccessdb.asp

similar article but a more generic one
http://msdn.microsoft.com/library/de...dWriteData.asp

hope this helps

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:ub**************@TK2MSFTNGP11.phx.gbl...
Hi HD,

Thany for replaying me. The question I ask for was how to get changes from
an asp.net datagrid? I need this changes for updating behind-data set.

I don't know exactly the correct behavior. If I modify data in datagrid,
then I must modify data in dataset? Is it true?
Thank you.
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:uA**************@TK2MSFTNGP09.phx.gbl...
DataSet.GetChanges()

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatasetclassgetchangestopic.asp

DataTable.GetChanges()

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatatableclassgetchangestopic.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
> Hi everybody,
>
>
> I am an asp.net datagrid that have all the rows editable. An user can
> update
> any column from datagrid. I'm trying to find a way to update only the rows > that were updated. How can I handle this? Is there any possibility to get > data row behind datagrid row?
>
>
>
> Thank you in advance!
>
> uiranejeb
>
>
>



Nov 18 '05 #4
Let me explain more detailed: I have an asp.net data grid that have all rows
editable. I edit some of the rows. Then I want to get a list of rows changed
and transfer them to dataset.

How can I do this? Thank you!
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:ur**************@TK2MSFTNGP10.phx.gbl...
not a big fan of access but this article will get you started... you have to use a similar approach
http://msdn.microsoft.com/library/de...us/dnadonet/ht
ml/adon_wtaccessdb.asp
similar article but a more generic one
http://msdn.microsoft.com/library/de...us/vbcon/html/
vbwlkWalkthroughUsingDataGridWebControlToReadWrite Data.asp
hope this helps

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:ub**************@TK2MSFTNGP11.phx.gbl...
Hi HD,

Thany for replaying me. The question I ask for was how to get changes from an asp.net datagrid? I need this changes for updating behind-data set.

I don't know exactly the correct behavior. If I modify data in datagrid,
then I must modify data in dataset? Is it true?
Thank you.
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message news:uA**************@TK2MSFTNGP09.phx.gbl...
DataSet.GetChanges()

http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemdatadatasetclassgetchangestopic.asp

DataTable.GetChanges()

http://msdn.microsoft.com/library/de...us/cpref/html/ frlrfsystemdatadatatableclassgetchangestopic.asp

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
> Hi everybody,
>
>
> I am an asp.net datagrid that have all the rows editable. An user can
> update
> any column from datagrid. I'm trying to find a way to update only the

rows
> that were updated. How can I handle this? Is there any possibility to

get
> data row behind datagrid row?
>
>
>
> Thank you in advance!
>
> uiranejeb
>
>
>



Nov 18 '05 #5
I just found a sample.
http://www.dotnetjohn.com/runtime/MultiLineEdit.aspx

Thank you anyway.
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Hi everybody,
I am an asp.net datagrid that have all the rows editable. An user can update any column from datagrid. I'm trying to find a way to update only the rows
that were updated. How can I handle this? Is there any possibility to get
data row behind datagrid row?

Thank you in advance!

uiranejeb

Nov 18 '05 #6
I actually havent tried inplace editing. (i prefer a seperate page for
add/edit)
The articles which i asked you to look at show you how to get started with
inplace editing of one row at a time.
unfortunately you will have to hunt on msdn or google.

here's one such article i could find...
http://www.dotnetjohn.com/articles/articleid83.aspx

good luck..

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:OE**************@TK2MSFTNGP10.phx.gbl...
Let me explain more detailed: I have an asp.net data grid that have all
rows
editable. I edit some of the rows. Then I want to get a list of rows
changed
and transfer them to dataset.

How can I do this? Thank you!
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:ur**************@TK2MSFTNGP10.phx.gbl...
not a big fan of access but this article will get you started... you have

to
use a similar approach

http://msdn.microsoft.com/library/de...us/dnadonet/ht
ml/adon_wtaccessdb.asp

similar article but a more generic one

http://msdn.microsoft.com/library/de...us/vbcon/html/
vbwlkWalkthroughUsingDataGridWebControlToReadWrite Data.asp

hope this helps

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:ub**************@TK2MSFTNGP11.phx.gbl...
> Hi HD,
>
> Thany for replaying me. The question I ask for was how to get changes from > an asp.net datagrid? I need this changes for updating behind-data set.
>
> I don't know exactly the correct behavior. If I modify data in
> datagrid,
> then I must modify data in dataset? Is it true?
> Thank you.
>
>
> "Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message > news:uA**************@TK2MSFTNGP09.phx.gbl...
>> DataSet.GetChanges()
>>
> http://msdn.microsoft.com/library/de...us/cpref/html/ > frlrfsystemdatadatasetclassgetchangestopic.asp
>>
>> DataTable.GetChanges()
>>
> http://msdn.microsoft.com/library/de...us/cpref/html/ > frlrfsystemdatadatatableclassgetchangestopic.asp
>>
>> --
>> Regards,
>> HD
>> Once a Geek.... Always a Geek
>> "uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
>> news:eo**************@TK2MSFTNGP12.phx.gbl...
>> > Hi everybody,
>> >
>> >
>> > I am an asp.net datagrid that have all the rows editable. An user
>> > can
>> > update
>> > any column from datagrid. I'm trying to find a way to update only
>> > the
> rows
>> > that were updated. How can I handle this? Is there any possibility
>> > to
> get
>> > data row behind datagrid row?
>> >
>> >
>> >
>> > Thank you in advance!
>> >
>> > uiranejeb
>> >
>> >
>> >
>>
>>
>
>



Nov 18 '05 #7
just replied to you message with probably a link on the same site..

--
Regards,
HD
Once a Geek.... Always a Geek
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:ea**************@TK2MSFTNGP09.phx.gbl...
I just found a sample.
http://www.dotnetjohn.com/runtime/MultiLineEdit.aspx

Thank you anyway.
"uiranejeb" <mi*************@hotmail.comNO_SPAM> wrote in message
news:eo**************@TK2MSFTNGP12.phx.gbl...
Hi everybody,
I am an asp.net datagrid that have all the rows editable. An user can

update
any column from datagrid. I'm trying to find a way to update only the
rows
that were updated. How can I handle this? Is there any possibility to get
data row behind datagrid row?

Thank you in advance!

uiranejeb


Nov 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Bill Reynolds | last post by:
I'm trying to add functionality to a VB 6 application allowing customer service to add a customer number to a new customer. Customers are added to the database by sales personnel, and a...
2
by: Chris Plowman | last post by:
Hi all, I was wondering if anyone can help me with a really annoying problem I have been having. I made a derived datagrid class that will select the row when a user clicks anywhere on a cell...
1
by: Brian | last post by:
I have a dataset containing 2 tables. I need to fill a datagrid using data from both of these. If I could create a SQL Statement to fill the datagrid, it would look like this: SELECT...
12
by: James Norton-Jones | last post by:
Hi, Am I trying to hold the data of a DataGrid in a label so that when the form is reposted the DataGrid can be repopulated. The problem I am having is that I don't understand how to get the...
1
by: Andrew | last post by:
Hey all, I am very new to ASP.Net (and .Net in general), but that isn't stopping the boss from wanting to begin new projects in it. This latest project has me kinda stumped and after a couple...
1
by: Wolffang | last post by:
From: "Wolffang" <javid@techlite.co.uk> Subject: How to do a multiple select and update in a datagrid Date: 23 October 2004 21:28 Using Visual studio.net VB I have a datagrid that brings...
0
by: cwbp17 | last post by:
I'm having trouble updating individual datagrid cells. Have two tables car_master (columns include Car_ID, YEAR,VEHICLE) and car_detail (columns include Car_ID,PRICE,MILEAGE,and BODY);both tables...
6
by: shil | last post by:
Hi, I am writing a windows app in .net 2003. I have a datagrid which gets data from a storedprocedure. My question is how can I update the data in the datagrid? I want to call another...
4
by: Abby | last post by:
Hi all, I have a datagrid which i am using for updating the data to the database. It works fine for single row data however when i have multiple rows(records) associated with the same...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.