473,320 Members | 1,861 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,320 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 5804
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: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.