Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / DataGridTablesFactory.cs / 1 / DataGridTablesFactory.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Text; using System.Runtime.Remoting; using System.Diagnostics; using System; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Microsoft.Win32; ////// /// public sealed class GridTablesFactory { // private static DataTableComparer dtComparer = new DataTableComparer(); // not creatable... // private GridTablesFactory() { } ///[To be supplied.] ////// /// Takes a DataView and creates an intelligent mapping of /// DataView storage types into available DataColumn types. /// public static DataGridTableStyle[] CreateGridTables(DataGridTableStyle gridTable, object dataSource, string dataMember, BindingContext bindingManager) { return new DataGridTableStyle[] {gridTable}; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Windows.Forms { using System.Text; using System.Runtime.Remoting; using System.Diagnostics; using System; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using Microsoft.Win32; ////// /// public sealed class GridTablesFactory { // private static DataTableComparer dtComparer = new DataTableComparer(); // not creatable... // private GridTablesFactory() { } ///[To be supplied.] ////// /// Takes a DataView and creates an intelligent mapping of /// DataView storage types into available DataColumn types. /// public static DataGridTableStyle[] CreateGridTables(DataGridTableStyle gridTable, object dataSource, string dataMember, BindingContext bindingManager) { return new DataGridTableStyle[] {gridTable}; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NetDataContractSerializer.cs
- SatelliteContractVersionAttribute.cs
- _FixedSizeReader.cs
- FreeIndexList.cs
- MessageLoggingElement.cs
- ImageSourceConverter.cs
- Marshal.cs
- MachineKeyValidationConverter.cs
- RealizedColumnsBlock.cs
- EntityProviderFactory.cs
- ApplicationServiceManager.cs
- ObjectItemLoadingSessionData.cs
- ComAwareEventInfo.cs
- NameSpaceExtractor.cs
- LocalizableResourceBuilder.cs
- TemplateContentLoader.cs
- COM2ExtendedTypeConverter.cs
- Blend.cs
- MetafileHeaderEmf.cs
- SelectionItemPattern.cs
- GeneralTransform3DTo2DTo3D.cs
- UpdatePanel.cs
- DeploymentSectionCache.cs
- Calendar.cs
- SqlDataSourceFilteringEventArgs.cs
- ImportCatalogPart.cs
- TableRowCollection.cs
- ComPlusTypeValidator.cs
- DocumentSchemaValidator.cs
- SqlCacheDependency.cs
- SizeFConverter.cs
- Stack.cs
- WebBodyFormatMessageProperty.cs
- ImagingCache.cs
- ValidationHelper.cs
- JsonWriterDelegator.cs
- ProxyWebPartManager.cs
- ObjectReaderCompiler.cs
- GetCardDetailsRequest.cs
- Viewport3DAutomationPeer.cs
- QueueProcessor.cs
- ChangeBlockUndoRecord.cs
- QueryBranchOp.cs
- SetIndexBinder.cs
- DataSourceListEditor.cs
- UdpDiscoveryEndpointProvider.cs
- AnnotationComponentManager.cs
- DbSourceParameterCollection.cs
- _NativeSSPI.cs
- ProcessManager.cs
- TextSelectionHelper.cs
- ScrollChrome.cs
- WebPartMenu.cs
- webeventbuffer.cs
- CommandManager.cs
- TableItemProviderWrapper.cs
- Sql8ExpressionRewriter.cs
- DataGridViewRowHeaderCell.cs
- WindowsRichEdit.cs
- VisualTarget.cs
- Point4DConverter.cs
- TextTreePropertyUndoUnit.cs
- WCFServiceClientProxyGenerator.cs
- LoginView.cs
- CharacterString.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- StructuralType.cs
- FlowDocumentScrollViewer.cs
- DashStyles.cs
- QilUnary.cs
- ScrollChrome.cs
- UnmanagedBitmapWrapper.cs
- URLAttribute.cs
- Utils.cs
- WebBodyFormatMessageProperty.cs
- ViewCellRelation.cs
- Rectangle.cs
- TokenBasedSet.cs
- BookmarkOptionsHelper.cs
- DbConnectionInternal.cs
- Brush.cs
- WorkflowShape.cs
- WorkflowRuntimeService.cs
- ResourceDescriptionAttribute.cs
- OledbConnectionStringbuilder.cs
- UnicastIPAddressInformationCollection.cs
- DataGridViewRowStateChangedEventArgs.cs
- XmlILStorageConverter.cs
- DataGridCellAutomationPeer.cs
- RadioButtonPopupAdapter.cs
- MDIWindowDialog.cs
- AsymmetricAlgorithm.cs
- UrlPath.cs
- CompilationUtil.cs
- LayoutUtils.cs
- WebPartHeaderCloseVerb.cs
- CloudCollection.cs
- AssociationType.cs
- SelectionRange.cs
- LifetimeServices.cs