Click here to Skip to main content
15,894,405 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Column Style (Windows Forms) Pin
Heath Stewart26-Jan-05 14:35
protectorHeath Stewart26-Jan-05 14:35 
GeneralProgramming crystal reportsss Pin
primomak26-Jan-05 9:39
primomak26-Jan-05 9:39 
GeneralAdding assemblies to the GAC Pin
thepersonof26-Jan-05 8:27
thepersonof26-Jan-05 8:27 
GeneralRe: Adding assemblies to the GAC Pin
Nick Parker26-Jan-05 10:15
protectorNick Parker26-Jan-05 10:15 
GeneralGeneral .Net question Pin
Yaakov Davis26-Jan-05 8:11
Yaakov Davis26-Jan-05 8:11 
GeneralRe: General .Net question Pin
Heath Stewart26-Jan-05 14:44
protectorHeath Stewart26-Jan-05 14:44 
GeneralBinding DB to Controls Pin
Eyal Carmi26-Jan-05 3:00
Eyal Carmi26-Jan-05 3:00 
GeneralRe: Binding DB to Controls Pin
Heath Stewart26-Jan-05 14:50
protectorHeath Stewart26-Jan-05 14:50 
To navigate data you use a CurrencyManager. It just so happens that the documentation[^] for the CurrencyManager in the .NET Framework SDK has an example of exactly what you're asking.

You get a CurrencyManager for your BindingContext - and all controls to take advantage of navigation must be bound to the same BindingContext, so BindingContext(DataSet11, "tableName") is different from BindingContext(DataSet11.Tables["tableName"], null) - and change the Position.

Be mindful that your comment about this being available in VB.NET is unfounded. The whole point of the CLI (Common Language Infrastructure) - of which .NET is Microsoft's implementation - is to provide a consistent compiled codebase for which any managed language can use (namely assembly modules). This is the purpose of IL (Intermediate Language), to which all managed languages compile. VB.NET and C# compilers may write slightly different IL due to optimization and language features, but IL modules (in assemblies) can be used by either. There are a few rules regarding CLS compliancy, but for the most part everything is the same for most managed languages (JScript.NET is only CLS-compliant, so it doesn't support additional features like unsigned primatives).

So, the Control.BindingContext property is available to C#, VB.NET, Managed C++, Perl .NET, and many others because it's defined in an assembly. BTW, the BCL assemblies (Base Class Library) are primarily written in C# so the fact your using them in a VB.NET application is just further proof of the CLI.

This posting is provided "AS IS" with no warranties, and confers no rights.

Software Design Engineer
Developer Division Sustained Engineering
Microsoft

[My Articles] [My Blog]
GeneralProgramming crystal reportsss Pin
primomak26-Jan-05 2:03
primomak26-Jan-05 2:03 
GeneralSystem wainning sound Pin
jzb26-Jan-05 1:35
jzb26-Jan-05 1:35 
GeneralRe: System wainning sound Pin
jzb26-Jan-05 17:51
jzb26-Jan-05 17:51 
Questionhow to programe winform to surppoort multiLanguage ? Pin
Fire.Rolland.Han26-Jan-05 0:24
Fire.Rolland.Han26-Jan-05 0:24 
AnswerRe: how to programe winform to surppoort multiLanguage ? Pin
Richard Schneider26-Jan-05 0:58
Richard Schneider26-Jan-05 0:58 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Fire.Rolland.Han26-Jan-05 1:24
Fire.Rolland.Han26-Jan-05 1:24 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Richard Schneider26-Jan-05 1:41
Richard Schneider26-Jan-05 1:41 
GeneralRe: how to programe winform to surppoort multiLanguage ? Pin
Heath Stewart26-Jan-05 14:40
protectorHeath Stewart26-Jan-05 14:40 
GeneralAnother DllImport question Pin
bluish26-Jan-05 0:12
bluish26-Jan-05 0:12 
GeneralRe: Another DllImport question Pin
Corinna John26-Jan-05 1:29
Corinna John26-Jan-05 1:29 
GeneralRe: Another DllImport question Pin
bluish26-Jan-05 23:30
bluish26-Jan-05 23:30 
GeneralRe: Another DllImport question Pin
Corinna John27-Jan-05 0:55
Corinna John27-Jan-05 0:55 
GeneralRe: Another DllImport question Pin
bluish27-Jan-05 20:18
bluish27-Jan-05 20:18 
General"StatusBar" problem Pin
wk_vigorous26-Jan-05 0:05
wk_vigorous26-Jan-05 0:05 
GeneralTheme Color Scheme Colors Pin
Tom John25-Jan-05 23:56
Tom John25-Jan-05 23:56 
GeneralRe: Theme Color Scheme Colors Pin
leppie26-Jan-05 22:03
leppie26-Jan-05 22:03 
GeneralRe: Theme Color Scheme Colors Pin
Tom John26-Jan-05 22:10
Tom John26-Jan-05 22:10 

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.