473,385 Members | 2,028 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,385 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 5814
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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...

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.