473,405 Members | 2,262 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.

Current Row in DataView

Hi

I bind my TextBox to the dataView and bind DataGrid to the dataView
also. When I change current row in grid my control TextBox also change
current value on value in row which is selected in grid. How my TextBox
know which row is current ?
I bind controls to the my own DataObject (IDataBinding ) and also it
work then where is a information about current (selected ) object in my
ListObject. I don't know how it work.

Thank's
Boniek

Nov 16 '05 #1
2 5819
a dataview is a window into the existing datarows. underneath, you are
really look at the same row although from the top it appears to be different
objects.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Boniek" <mo****@poczta.onet.pl> wrote in message
news:40********@news.home.net.pl...
Hi

I bind my TextBox to the dataView and bind DataGrid to the dataView
also. When I change current row in grid my control TextBox also change
current value on value in row which is selected in grid. How my TextBox
know which row is current ?
I bind controls to the my own DataObject (IDataBinding ) and also it
work then where is a information about current (selected ) object in my
ListObject. I don't know how it work.

Thank's
Boniek

Nov 16 '05 #2
a dataview is a window into the existing datarows. underneath, you are
really look at the same row although from the top it appears to be different
objects.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Boniek" <mo****@poczta.onet.pl> wrote in message
news:40********@news.home.net.pl...
Hi

I bind my TextBox to the dataView and bind DataGrid to the dataView
also. When I change current row in grid my control TextBox also change
current value on value in row which is selected in grid. How my TextBox
know which row is current ?
I bind controls to the my own DataObject (IDataBinding ) and also it
work then where is a information about current (selected ) object in my
ListObject. I don't know how it work.

Thank's
Boniek

Nov 16 '05 #3

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

Similar topics

13
by: Craig | last post by:
How do you set the current row of a dataset? I want to bind a control to a field from the 5th row in a dataset. I fill the dataset, then I want to set the row to the 5th row and then do the...
1
by: amber | last post by:
I have a datagrid, based on a dataview (filled with dataset data from SQL server). The dataview contains an ID field, but this field isn't in the datagrid. How can I get the ID associated with...
0
by: Boniek | last post by:
> a dataview is a window into the existing datarows. underneath, you are > really look at the same row although from the top it appears to be different > objects. I don't understand to end. How...
2
by: Boniek | last post by:
Hi I bind my TextBox to the dataView and bind DataGrid to the dataView also. When I change current row in grid my control TextBox also change current value on value in row which is selected in...
6
by: aaa | last post by:
Hi I am trying to create a read-only DataGrid that would always have current row selected. Currently, I am using method: public void SelectDataGridRow(DataGrid dg) { if (dg.CurrentRowIndex >...
1
by: Ubi | last post by:
Hello, i have a table. a dataView and a DataGrid. I'm using the dataView to filter the table. When the user double clicks on the DataGrid i want to get the data of the first col from the row...
0
by: Rodusa | last post by:
I am trying to replace cookies with the new "Asp.net 2.0 profiles" in my shopping cart application, but I am having trouble to access profile properties using HttpContext.Current.Profile. I can...
5
by: David Wender | last post by:
I want to create a dataview with a sort on multiple columns. However, when I use FindRows, I only want to search some of the columns, not all. Is this possible? I have not been able to make it...
0
by: Pravin Pujari | last post by:
Hi All, I am using .net framework 1.1 and c#. I have one problem regarding dataview. I have one dataview to which sorting may be applied or may not be applied. I have one UI component where I...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
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.