RE: commandtimeout on privat adapter

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Bart,

I would like to suggest you add a custom partial class into the project
which is in the same namespace and has same name of your adapter class.

In that partial class, you could add your custom method to refer the
SelectCommand and other protected variable.



Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

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

.



Relevant Pages

  • Re: Not able to put class into namespace
    ... asp.net uses partial the partial class model to combine the codebenind file and the class file generated by the page compile. ... if the namspace of the page (which defines the control names) is different then the namespace in codebehind, then you need to fully qualify the control names as they are in a differnt namespace. ... You could also make the namespace of the page match the codebehind namespace via the ClassName in the directive. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Master Page properties
    ... Control.ascx.vb (user Control) ... Namespace TEST ... Partial Class Master ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Partial Classes across different namespaces ?
    ... public partial class X ... private void MyMethod ... namespace a.b.c.d ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: I really hate .NET especially inside Delphi
    ... you might imagine, yes. ... It is confusing to see that if you use the namespace, you get the whole partial class, but if you use one of it units, you get only a part of the ... but it also shows how confusing it is to have two almost identical solutions for a single problem in the same product. ...
    (borland.public.delphi.non-technical)
  • Compilation Error
    ... namespace System.Data ... partial class Console ... public partial class DataGrid ...
    (microsoft.public.dotnet.languages.csharp)