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
- HostingEnvironment.cs
- Camera.cs
- MediaContext.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ExpressionHelper.cs
- DataGridViewCellFormattingEventArgs.cs
- BuildProvider.cs
- TextTrailingCharacterEllipsis.cs
- KeyInstance.cs
- ImageListUtils.cs
- RightsManagementInformation.cs
- InstanceData.cs
- OdbcConnectionString.cs
- LambdaCompiler.Lambda.cs
- MSAANativeProvider.cs
- LinqDataSourceDisposeEventArgs.cs
- SoapSchemaMember.cs
- HttpResponseBase.cs
- UrlMappingCollection.cs
- SafeCryptContextHandle.cs
- XPathParser.cs
- Paragraph.cs
- StickyNoteHelper.cs
- AssemblyName.cs
- GridSplitterAutomationPeer.cs
- InteropAutomationProvider.cs
- Types.cs
- Attributes.cs
- ArgumentOutOfRangeException.cs
- CharStorage.cs
- CreateUserWizard.cs
- RemotingConfigParser.cs
- ReadContentAsBinaryHelper.cs
- OrderedDictionary.cs
- NativeRecognizer.cs
- ClientTarget.cs
- ClockGroup.cs
- RotateTransform3D.cs
- ChannelFactoryRefCache.cs
- MessageSecurityProtocol.cs
- AnimationClock.cs
- SubstitutionResponseElement.cs
- WrappedIUnknown.cs
- StrongNamePublicKeyBlob.cs
- PropertyEmitter.cs
- ProvidersHelper.cs
- GridViewRowEventArgs.cs
- PropertyIDSet.cs
- PointCollectionValueSerializer.cs
- Base64Decoder.cs
- DrawingDrawingContext.cs
- DSASignatureFormatter.cs
- SystemShuttingDownException.cs
- SystemThemeKey.cs
- MarshalByRefObject.cs
- StringDictionaryWithComparer.cs
- MenuScrollingVisibilityConverter.cs
- AxisAngleRotation3D.cs
- SrgsElementFactory.cs
- EventLogPermissionEntry.cs
- ModelTreeEnumerator.cs
- RenamedEventArgs.cs
- GridViewCancelEditEventArgs.cs
- WebConfigurationHostFileChange.cs
- SmtpFailedRecipientsException.cs
- FilePrompt.cs
- WsdlHelpGeneratorElement.cs
- HttpModuleCollection.cs
- AttributeSetAction.cs
- EncoderFallback.cs
- HttpCookie.cs
- TextRangeBase.cs
- SchemaCollectionPreprocessor.cs
- OciLobLocator.cs
- CommandDesigner.cs
- StoreAnnotationsMap.cs
- MenuBindingsEditor.cs
- OptimalBreakSession.cs
- TableAutomationPeer.cs
- DocumentSequence.cs
- IisTraceWebEventProvider.cs
- DataGridViewAutoSizeModeEventArgs.cs
- View.cs
- HttpWriter.cs
- RoutedEvent.cs
- BuildProvider.cs
- ScriptControlDescriptor.cs
- XhtmlBasicCalendarAdapter.cs
- regiisutil.cs
- ConfigurationProperty.cs
- XmlSchemaComplexContentRestriction.cs
- TrackingStringDictionary.cs
- X509Chain.cs
- DbConnectionClosed.cs
- WebException.cs
- PageContentAsyncResult.cs
- XmlSchemaSequence.cs
- DataRecordInfo.cs
- UInt64Storage.cs
- ActionMismatchAddressingException.cs