Code:
/ FX-1434 / FX-1434 / 1.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
- WebResourceAttribute.cs
- Signature.cs
- HtmlContainerControl.cs
- DecimalAnimation.cs
- PersonalizableAttribute.cs
- HttpFileCollection.cs
- TemplateBamlTreeBuilder.cs
- DataTableTypeConverter.cs
- XmlIgnoreAttribute.cs
- EUCJPEncoding.cs
- SystemFonts.cs
- DependencyObjectType.cs
- XPathSelectionIterator.cs
- HttpDebugHandler.cs
- FrameworkTemplate.cs
- ApplicationId.cs
- _LazyAsyncResult.cs
- SelectionWordBreaker.cs
- DataGridViewCellStyle.cs
- DesignerFrame.cs
- Ref.cs
- DataViewListener.cs
- WebPartDisplayModeEventArgs.cs
- DataServiceQueryProvider.cs
- VirtualizingStackPanel.cs
- CodeIterationStatement.cs
- AccessorTable.cs
- DirectoryObjectSecurity.cs
- WebPartsSection.cs
- HyperLink.cs
- BorderGapMaskConverter.cs
- DataServiceQueryProvider.cs
- NameTable.cs
- DispatcherExceptionEventArgs.cs
- XmlSchemaValidator.cs
- BamlTreeMap.cs
- GiveFeedbackEventArgs.cs
- coordinator.cs
- StrokeCollection2.cs
- HitTestWithPointDrawingContextWalker.cs
- WsatServiceAddress.cs
- ResXFileRef.cs
- Mappings.cs
- CqlParserHelpers.cs
- AssociationSetMetadata.cs
- UserUseLicenseDictionaryLoader.cs
- TrimSurroundingWhitespaceAttribute.cs
- Pkcs7Recipient.cs
- SerializationFieldInfo.cs
- TableParagraph.cs
- DmlSqlGenerator.cs
- Debugger.cs
- ClientConvert.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- ActivityExecutorDelegateInfo.cs
- BodyGlyph.cs
- ImageInfo.cs
- EventSinkHelperWriter.cs
- Literal.cs
- AutomationPatternInfo.cs
- ProcessThreadCollection.cs
- WebPartsPersonalization.cs
- CheckBoxPopupAdapter.cs
- XmlEntity.cs
- CompilationSection.cs
- SchemaExporter.cs
- MouseEvent.cs
- TaskHelper.cs
- SqlTypeSystemProvider.cs
- XPathAxisIterator.cs
- EpmAttributeNameBuilder.cs
- MemberAccessException.cs
- BlurBitmapEffect.cs
- SubMenuStyle.cs
- ReadOnlyCollection.cs
- HttpHostedTransportConfiguration.cs
- OutputWindow.cs
- DataGridHyperlinkColumn.cs
- BuildResult.cs
- PropertyReferenceSerializer.cs
- EventProviderClassic.cs
- _NegoStream.cs
- PersonalizableTypeEntry.cs
- ScrollBarRenderer.cs
- ChannelServices.cs
- Trace.cs
- CreateUserWizardDesigner.cs
- LoginName.cs
- GridViewActionList.cs
- MarkupCompilePass2.cs
- GC.cs
- SQLInt16.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- BaseTemplateBuildProvider.cs
- WorkflowApplicationTerminatedException.cs
- SR.cs
- MenuAdapter.cs
- GridEntry.cs
- OletxResourceManager.cs
- SynchronizationScope.cs