Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Designer / WebForms / System / Web / UI / Design / WebControls / SqlDataSourceQueryConverter.cs / 1 / SqlDataSourceQueryConverter.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.UI.Design.WebControls { using System.Design; using System.Diagnostics; using System.ComponentModel; using System.ComponentModel.Design; using System.Globalization; ////// Provides a type converter to convert query properties to a simple string. /// internal class SqlDataSourceQueryConverter : TypeConverter { ////// Converts the given value object to the specified destination type. /// public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) { if (destinationType == typeof(string)) { return SR.GetString(SR.SqlDataSourceQueryConverter_Text); } else { return base.ConvertTo(context, culture, value, destinationType); } } ////// Gets a collection of properties for the type of array specified by the value /// parameter using the specified context and attributes. /// public override PropertyDescriptorCollection GetProperties(ITypeDescriptorContext context, object value, Attribute[] attributes) { return null; } ////// Gets a value indicating whether this object supports properties. /// public override bool GetPropertiesSupported(ITypeDescriptorContext context) { return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProjectionCamera.cs
- JoinSymbol.cs
- SafeFileHandle.cs
- TemplateInstanceAttribute.cs
- OracleBinary.cs
- SecureConversationSecurityTokenParameters.cs
- SmiMetaDataProperty.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- Attribute.cs
- DataGridViewSelectedRowCollection.cs
- OleDbMetaDataFactory.cs
- TemplateBuilder.cs
- SystemParameters.cs
- JpegBitmapDecoder.cs
- TableParaClient.cs
- JsonEncodingStreamWrapper.cs
- PictureBox.cs
- MemberJoinTreeNode.cs
- RecoverInstanceLocksCommand.cs
- TypefaceMetricsCache.cs
- PenCursorManager.cs
- DataGridViewIntLinkedList.cs
- NamespaceTable.cs
- DataServices.cs
- XPathSelfQuery.cs
- InvalidPropValue.cs
- SpellerStatusTable.cs
- ScriptingWebServicesSectionGroup.cs
- XPathAncestorQuery.cs
- ListComponentEditorPage.cs
- SizeF.cs
- Validator.cs
- HttpRequestTraceRecord.cs
- AccessControlList.cs
- RIPEMD160.cs
- CheckBoxAutomationPeer.cs
- DependencySource.cs
- TargetParameterCountException.cs
- StyleSelector.cs
- RegisteredArrayDeclaration.cs
- WebBrowserDesigner.cs
- RegexGroup.cs
- FontFaceLayoutInfo.cs
- WindowsRegion.cs
- GridViewCommandEventArgs.cs
- NavigationPropertyAccessor.cs
- Baml2006ReaderFrame.cs
- ProcessStartInfo.cs
- GradientStop.cs
- PackWebResponse.cs
- Label.cs
- ProcessingInstructionAction.cs
- BitmapMetadata.cs
- SafeBitVector32.cs
- TreeNodeMouseHoverEvent.cs
- securestring.cs
- EditorZoneDesigner.cs
- AspNetRouteServiceHttpHandler.cs
- GlyphCache.cs
- RSATokenProvider.cs
- LocalizabilityAttribute.cs
- Hex.cs
- ReadOnlyDictionary.cs
- TypeContext.cs
- XmlSchemaObjectTable.cs
- PromptBuilder.cs
- SemaphoreFullException.cs
- ECDiffieHellmanCng.cs
- X509Utils.cs
- ErrorFormatter.cs
- X509Certificate.cs
- ResourceContainer.cs
- GroupQuery.cs
- SqlVisitor.cs
- ListItem.cs
- CompositeDataBoundControl.cs
- RuntimeConfigLKG.cs
- KeyManager.cs
- SHA384.cs
- SqlUDTStorage.cs
- IsolatedStorageFile.cs
- OleDbReferenceCollection.cs
- XmlSerializationReader.cs
- ToolStripPanelSelectionGlyph.cs
- ColorAnimation.cs
- UiaCoreProviderApi.cs
- DataGridViewCellMouseEventArgs.cs
- AbsoluteQuery.cs
- Queue.cs
- AnnotationComponentChooser.cs
- CompilerInfo.cs
- FacetChecker.cs
- DataException.cs
- TableTextElementCollectionInternal.cs
- DrawToolTipEventArgs.cs
- SafeArrayTypeMismatchException.cs
- SQLResource.cs
- InputLanguage.cs
- XmlCustomFormatter.cs
- PerfCounterSection.cs