473,405 Members | 2,141 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,405 software developers and data experts.

Is there a simple way to select a row which has been just inserted in a dataset binded to a datagrid?


Any help or advice is very welcome.

Thanks,
Juan.
Jul 21 '05 #1
3 1551
Juan,

You mean the datatable rowchange event?

http://msdn.microsoft.com/library/de...angedtopic.asp

The added row is forever
dataset.tables(x).rows(dataset.tables(x).rows.coun t - 1)

and when that is more than the previous there is one added.

I hope this helps?

Cor

"Juan" <ju*****************@ANTISPAMhotmail.com>

Any help or advice is very welcome.

Thanks,
Juan.

Jul 21 '05 #2
Thanks, after i insert a row in the dataset binded to the datagrid i want
that row to be selected in the datagrid, it displays the inserted row but
dosn't select it. I created a loop that search for the inserted row in the
datagrid and the selects it...

Regards,
Juan.

"Cor Ligthert" <no************@planet.nl> escribió en el mensaje
news:Ol*************@TK2MSFTNGP11.phx.gbl...
Juan,

You mean the datatable rowchange event?

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatatableclassrowchangedtopic.asp
The added row is forever
dataset.tables(x).rows(dataset.tables(x).rows.coun t - 1)

and when that is more than the previous there is one added.

I hope this helps?

Cor

"Juan" <ju*****************@ANTISPAMhotmail.com>

Any help or advice is very welcome.

Thanks,
Juan.


Jul 21 '05 #3
Excelent documentation
http://www.akadia.com/services/dotnet_databinding.html

"Cor Ligthert" <no************@planet.nl> escribió en el mensaje
news:Ol*************@TK2MSFTNGP11.phx.gbl...
Juan,

You mean the datatable rowchange event?

http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemdatadatatableclassrowchangedtopic.asp
The added row is forever
dataset.tables(x).rows(dataset.tables(x).rows.coun t - 1)

and when that is more than the previous there is one added.

I hope this helps?

Cor

"Juan" <ju*****************@ANTISPAMhotmail.com>

Any help or advice is very welcome.

Thanks,
Juan.


Jul 21 '05 #4

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

Similar topics

0
by: Juan | last post by:
Do i have to loop trough a datagrid in order to find and select a row just being inserted in the dataset connected to the data grid? is there any event i can capture in the datagrid to obtain the...
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...
0
by: Tal Sharfi | last post by:
Hi everyone I recently had the need for StringGrid object same as the one that Delphi has. An object that helps show lists of other objects in a simple grid. I searched the news groups and...
2
by: Juan | last post by:
Do i have to loop trough a datagrid in order to find and select a row just being inserted? is there any event i can capture in the datagrid to obtain the inserted row? I need to obtain its position...
5
by: Stephanie_Stowe | last post by:
Hi. I am trying to get used to AS.NET. I have been doing ASP classic for years, and am now in a position to do ASP.NET. I am in the stumbling around until I get my bearings phase. I hope you will...
2
by: Rich Wallace | last post by:
I know datasets have been beaten to death in here, I have what is hopefully a simple question about the integrity of a dataset when used in an application. Scenario: User A and User B are...
13
by: Saber | last post by:
I did a lot of searches and read something about datagrids. But I couldn't find the answer of my simple question, how can I show only my desired columns of a table? for example I wrote this sql...
1
by: None | last post by:
Hi, I have developed webshop application using asp.net 1.1. I'm using DataGrid in one of the pages of my site. During the page load the DataGrid will be binded by around 7500 products(rows). At...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.