在使用API来获得并设置项目的值时,只有一个字符串可以用作数据类型。
When using APIs to get and set the value of an item, only a string can be used as the data type.
OrderDate的值是通过调用Bind表达式并向它传递GridView的关联数据源中列的名称和一个可选的数据格式字符串表达式来设置的。
The value for the OrderDate is set by calling the Bind expression and passing to it the name of the column in the GridView's associated data source and an optional data format string expression.
因此,如果要保留原始页面的表单数据和查询字符串集合,必须把目标页面page指令的EnableViewStateMac属性设置成False。
Therefore, when you choose to preserve the form and query string collection of the original page, you must set the EnableViewStateMac attribute of the page directive to False for the destination page.
它然后将消息主体设置为一个字符串,该字符串的用户和消息数据被编码为post格式。
It then sets the body of the message to a string that has the user and message data encoded in POST format.
在数据库中使用定制的排序规则可能影响查询性能,因为在选择更宽松的UCA设置时,匹配的字符串数量可能会增加。
Using a customized collation for the database may have an impact on the query performance since the number of possible string matches increases when you choose a looser UCA setting.
动态模型(缺省值)允许编程人员通过名称(字符串)获得和设置数据图中的数据元素。
The dynamic model (the default) lets programmers get and set data elements in the data graph by name (String).
多出的一个本地SQLServer数据库的连接字符串设置,用于网格应用程序跟踪记录。
There's also a connection string setting for the local SQL Server database used for grid application tracking.
我们添加了进一步的元数据来定义每个字符串的max_length:default max_length为50个字符,因此您需要为几乎每个字符串字段设置此值。
We have added a bit of further metadata to define the max_length of each string: the default max_length is 50 characters, so you will need to set this for nearly every string field.
字符串格式化是一种非常有用的技术,用于以格式设置精美的布局创建由不同数据类型组成的string。
String formatting is a powerful technique for creating a string composed of different data types in a nicely formatted layout.
第4步:用SearchGrid事件来设置SearchableGridView数据源和过滤的搜索字符串。
Step 4: Implement the SearchGrid event to set the search string on the data source and filter the rows in the SearchableGridView.
例如,应用程序设置的一个常见用途是存储指向该应用程序的数据存储区的连接字符串。
For example, one common use for application Settings is to store connection strings that point to the application's data store.
此文件存储测试项目的数据库连接字符串,以及其他数据库单元测试配置设置,如命令超时、数据生成文件等。
This file stores the database connection strings for the test project, in addition to other database unit test configuration Settings such as command time-out, data generation file, and so on.
设置数据源的提供程序和连接字符串。
Sets the provider and connection string for the data source.
设置数据源的提供程序和连接字符串。
通过应用程序设置,不仅可以存储应用程序数据(如数据库连接字符串),还可以存储特定于用户的数据(如工具栏的位置和最近使用过的列表)。
With Application Settings, you can store not only application data such as database connection strings, but also user-specific data, such as toolbar positions and most-recently used lists.
通过应用程序设置,不仅可以存储应用程序数据(如数据库连接字符串),还可以存储特定于用户的数据(如工具栏的位置和最近使用过的列表)。
With Application Settings, you can store not only application data such as database connection strings, but also user-specific data, such as toolbar positions and most-recently used lists.
应用推荐