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

DataRowView isedit

hi all, i want to know how the isedit works ???
i have fill a datatable a bind a few controls
and when i see in the currencymanager the current row is allways in edit =
true
even when without a change. :( damm...
i have tried to force is to isedit = false doing
currencymanager.endcurrentedit.
and it works, but when i navigate (currencymanager.position +=1 ) it
changes again to isedit =true

can some one help me ???

thks
JSB
Jul 21 '05 #1
1 2609
"João Santa Bárbara" <jo****@i24portugal.com> wrote in message news:<#Y**************@tk2msftngp13.phx.gbl>...
hi all, i want to know how the isedit works ???
i have fill a datatable a bind a few controls
and when i see in the currencymanager the current row is allways in edit =
true
even when without a change. :( damm...
i have tried to force is to isedit = false doing
currencymanager.endcurrentedit.
and it works, but when i navigate (currencymanager.position +=1 ) it
changes again to isedit =true

can some one help me ???

thks
JSB


Hi

If you do not need to edit anything, use a DataView with AllowEdit=false.

Alon.
Jul 21 '05 #2

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

Similar topics

3
by: John Hoge | last post by:
I have a datagrid that needs to display information from a related table, and I have use a template column to pass the Container.DataItem object to a method called ShowPub as follows: ...
1
by: VMI | last post by:
I have a field in my DataRowView that's read-only because it's a "join" of several other fields of the same DataRowView. For example, the field "Input" concatenates fields "Addr1", "City", "St",...
5
by: karim | last post by:
I am getting the error below when I try to use DataRowView in my aspx page. I am using the System.Data in my code behind. I even tried importing system.Data in the aspx. I have to qualify it with...
1
by: Guoqi Zheng | last post by:
Dear Sir, I need to access the datasource of a repeater control. I used CType(e.Item.DataItem, DataRowView), but obviously it does not work. Can some one tell me what I did wrong? See my...
7
by: Able | last post by:
Dear friends I am using FindRows methods of the DataView to select multiple rows as this: Dim custView As DataView = New DataView(custDS.Tables("Customers"), "", _ "CompanyName, ContactName",...
2
by: Geoff Jones | last post by:
Hi Suppose I have a loop such as: For Each x As DataRowView In dataViewObj ' Some calculations go here Next Suppose we to access within the loop not only the current row but the next one...
1
by: João Santa Bárbara | last post by:
hi all, i want to know how the isedit works ??? i have fill a datatable a bind a few controls and when i see in the currencymanager the current row is allways in edit = true even when without a...
2
by: Joe | last post by:
Hello All: How have you used the DataRowView. I am familiar w/ DataRow (of course!), but haven't had the need to use the DataRowView. When would you use it? Thanks. Joe
3
by: needin4mation | last post by:
In this code: protected void GridView1_RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView rowView =...
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: 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
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...

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.