linq在vb.net中列出(字符串)
这是我设置中的变量linq在vb.net中列出(字符串),vb.net,linq,datagridview,Vb.net,Linq,Datagridview,这是我设置中的变量 <Global.System.Configuration.UserScopedSettingAttribute(), _ Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _ Global.System.Configuration.DefaultSettingValueAttribute("")> _ Public Property Name() As List(Of Str
<Global.System.Configuration.UserScopedSettingAttribute(), _
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
Global.System.Configuration.DefaultSettingValueAttribute("")> _
Public Property Name() As List(Of String)
Get
Return CType(Me("name"), List(Of String))
End Get
Set(value As List(Of String))
Me("name") = value
End Set
End Property
_
公共属性名()作为(字符串的)列表
得到
返回CType(Me(“名称”),列表(字符串))
结束
设置(值为列表(字符串))
Me(“名称”)=值
端集
端属性
如何使用linq将其放入datagridview
Tanks您必须进一步解释“拉入
DataGridView
”的含义——仅仅是列表本身?或者作为现有数据源的附加列?您是否尝试过直接设置它<代码>dgv.DataSource=设置。名称