DataControlFieldDesigner.GetNewDataSourceName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an unique ID for a control that is created when a data field is converted into a TemplateField.
protected:
System::String ^ GetNewDataSourceName(Type ^ controlType, System::Web::UI::WebControls::DataBoundControlMode mode);
protected string GetNewDataSourceName (Type controlType, System.Web.UI.WebControls.DataBoundControlMode mode);
member this.GetNewDataSourceName : Type * System.Web.UI.WebControls.DataBoundControlMode -> string
Protected Function GetNewDataSourceName (controlType As Type, mode As DataBoundControlMode) As String
Parameters
- controlType
- Type
The type of the control that will be created.
- mode
- DataBoundControlMode
The data entry mode for the control.
Returns
A unique ID for the control.
Remarks
The GetNewDataSourceName method is a helper method that can be used by the CreateTemplateField method to generate unique IDs for the controls that are created when you click the link to convert a data field into a TemplateField in the fields editor.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για