What are the advantages of ASP.NET in your enterprise?
Here is an article from ftp online: Leverage ASP.NET in Your Enterprise
How to build a SharePoint Web Part?
Here is an article from ftp online: Build a SharePoint Web Part that talks about building WebParts in SharePoint.
What are the ways to Manage Users and Roles With ASP.NET 2.0?
Here is an article from ftp online: Manage Users Fast With ASP.NET 2.0
How do I insert custom @ Register tags into the aspx file from my custom control
In the custom control’s custom designer’s Initialize override, do something like this: [C#] public override void Initialize(IComponent component) { base.Initialize (component); IDesignerHost host = component.Site.Container as IDesignerHost; IDesigner designer = host.GetDesigner(host.RootComponent); // Calling GetHTMLFromWebControlTool with the following custom toolboxitem will insert the // Register directives for the type associated with that . MethodInfo mi = designer.GetType.GetMethod('GetHTMLFromWebControlTool', BindingFlags.NonPublic | BindingFlags.Instance); if(mi != null) { // DependantType is a custom type defined in DependantAssembly.dll mi.Invoke(designer, new object[]{new WebControlToolboxItem(typeof(SomeNamespace.DependantType))}); } } Then when the user drags and drops the item from the toolbox, besides the default @ register entry it makes, it will also make an entry like this: <%@ Register TagPrefix=’cc1′ Namespace=’SomeNamespace’ Assembly=’DependantAssembly, Version=2.0.0.1, Culture=neutral, PublicKeyToken=3d6dfsd1fdsd44c89′ %> The assembly will not be strong named in the above tag if it’s not in the GAC.
Why do I get ‘Could not lock file’ and ‘cannot open file’ exceptions when bound to a mdb file?
You could get this error for the following reasons: When you create a project afresh, add a new OleDbDataAdapter to the form and link to the mdb file, the connection object created in the process will keep an open connection to the mdb file which is what will cause the above ‘Could not lock file’ exception during runtime. To workaround this, go to ‘Server Explorer’ in your IDE, right click on the corresponding ‘Connection entry’ and select Close Connection. This should fix the problem. The ‘cannot open file’ exception could then occur if you have not provided enough permissions on the mdb file to allow the .net runtime to lock it. To ensure enough permissions, open it’s properties, select the Security tab and add a ‘Everyone’ account granting ‘Full Control’ to it. This should let the .net runtime lock the file.