Click here to Skip to main content
15,916,842 members
Home / Discussions / C#
   

C#

 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger9-Aug-05 2:55
Kir Birger9-Aug-05 2:55 
GeneralRe: .net applications in .jpg files? Pin
DavidNohejl7-Aug-05 4:37
DavidNohejl7-Aug-05 4:37 
GeneralRe: .net applications in .jpg files? Pin
Kir Birger8-Aug-05 6:52
Kir Birger8-Aug-05 6:52 
GeneralCould you... Pin
KORCARI5-Aug-05 18:44
KORCARI5-Aug-05 18:44 
GeneralRe: Could you... Pin
tatchung5-Aug-05 21:12
tatchung5-Aug-05 21:12 
QuestionCan't convert to Format8bppIndexed with LockBits, Why? Pin
s2l5-Aug-05 14:07
s2l5-Aug-05 14:07 
GeneralCombobox in listview Pin
Rob Tomson5-Aug-05 13:54
Rob Tomson5-Aug-05 13:54 
GeneralBindingManagerBase, Datagrid, Sort Problem Pin
Lash205-Aug-05 12:04
Lash205-Aug-05 12:04 
Hi:

I'm using a datagrid in my project to display data from a dataset. The dataset is bound to the datagrid and several textBoxes. //this.datagrid.DataSource = this.dataSet; this.tbFamily.DataBindings.Add("Text",this.dataSet,"Table.Family");

I assigned the bound dataset to a bindingManager because I need to show the currently selected data from the datagrid in textboxes. //BindingManagerBase manager = this.BindingContext[this.ds, "Table"];

I use //this.manager.Position = this.datagrid.CurrentRowIndex; within a CurrentCellChanged event to control the position of the manager each time the user selects a new row in the datagrid..

This works fine until the datagrid is sorted by clicking on the Columnheader because the "sorted" data doesn't seem to "remember" its index prior to sorting...thereby displaying the wrong data in the textboxes

Can someone please show some code that I can use to make sure that sorted data remembers the pre-sorted index?

Thank you.
GeneralRe: BindingManagerBase, Datagrid, Sort Problem Pin
Ming Luo5-Aug-05 23:38
Ming Luo5-Aug-05 23:38 
GeneralRe: BindingManagerBase, Datagrid, Sort Problem Pin
Lash209-Aug-05 7:56
Lash209-Aug-05 7:56 
GeneralOnly allow one call to a function at a time Pin
Dwayner795-Aug-05 10:32
Dwayner795-Aug-05 10:32 
GeneralRe: Only allow one call to a function at a time Pin
Peter Vertes5-Aug-05 10:52
Peter Vertes5-Aug-05 10:52 
GeneralRe: Only allow one call to a function at a time Pin
Dwayner795-Aug-05 11:01
Dwayner795-Aug-05 11:01 
GeneralRe: Only allow one call to a function at a time Pin
Peter Vertes5-Aug-05 11:06
Peter Vertes5-Aug-05 11:06 
GeneralRe: Only allow one call to a function at a time Pin
jan larsen8-Aug-05 22:00
jan larsen8-Aug-05 22:00 
GeneralAnimated Gif Pin
nc3b5-Aug-05 10:17
nc3b5-Aug-05 10:17 
GeneralGetting Values Out from a CheckedListBox Pin
Peter Vertes5-Aug-05 9:46
Peter Vertes5-Aug-05 9:46 
GeneralRe: Getting Values Out from a CheckedListBox Pin
Mohamad Al Husseiny5-Aug-05 22:10
Mohamad Al Husseiny5-Aug-05 22:10 
GeneralIrDA communication pocket/palm Pin
wiler5-Aug-05 9:28
wiler5-Aug-05 9:28 
GeneralInvalidating an ActiveX Browser Control to allow Painting... Pin
rcurrie5-Aug-05 7:28
rcurrie5-Aug-05 7:28 
GeneralC# and VTK Pin
patgo5-Aug-05 5:39
patgo5-Aug-05 5:39 
GeneralRe: C# and VTK Pin
ganeshraju22-Jun-10 14:38
ganeshraju22-Jun-10 14:38 
GeneralRe: C# and VTK Pin
patgo22-Jun-10 23:37
patgo22-Jun-10 23:37 
GeneralRe: C# and VTK Pin
macengineer11-Jun-12 21:25
macengineer11-Jun-12 21:25 
Generalcrystal reports Pin
magnifique5-Aug-05 5:14
magnifique5-Aug-05 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.