Browse by Tags

Browse by Tags

> All Tags > gridview > tableadapter
  • Re: Edit Datagrid Via Another Control

    Thanks Holger. My code now looks like the following (sanitized): BindingSource bsrc = (BindingSource)gridControl.DataSource; int rowNumber = gridView1.FocusedRowHandle; ((System.Data.DataRowView)bsrc.List[rowNumber]).DataView[rowNumber].Row[1] = txtBox.Text.Trim(); } This combined with DataTable dtch...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/16/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
  • Re: Edit Datagrid Via Another Control

    Thank you for your reply Holger. Unfortunately it doesn't seem to be working. Perhaps I wasn't explaining myself properly. Please see the following code sample. It has been sanitized, so if anything is unclear, please feel free to ask. // Begin Proposed change int[] selectedRows = gridView1.GetSelectedRows...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/15/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
  • Edit Datagrid Via Another Control

    DX7.2.2 What is the best way to edit data in other controls and have the changes reflect on the datagrid/gridview? Something along the lines of: DataRow row = gridView1.GetDataRow(gridView1.GetSelectedRows()[0]); row.ItemArray[4] = txtBox.Text.Trim(); gridView1.GetDataRow(gridView1.GetSelectedRows()...
    Posted to XtraGrid (Forum) by AndrewJacksonZA on 1/14/2008
    Filed under: xtragrid, gridview, practice, bindingsource, tableadapter, correct, bestpractice, dataset, edit, datarow, control, way, best, editing
LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, Silverlight, ASP.NET, WinForms, HTML5 or Windows 8, DevExpress tools help you build and deliver your best in the shortest time possible.

Your Privacy - Legal Statements

Copyright © 1998-2013 Developer Express Inc.
ALL RIGHTS RESERVED
All trademarks or registered trademarks
are property of their respective owners