The code had displayed the valuenames in list box...but can't in Datagridview
Code
Dim regkey As RegistryKey = Registry.CurrentUser.OpenSubKey("Identities\{9995D76F-0814-43EF-86DB-1474C2B09A6D}", False)
ListBox1.Items.AddRange(regkey.GetValueNames)I can't get in this code below:
CodeDim regkey As RegistryKey = Registry.CurrentUser.OpenSubKey("Identities\{9995D76F-0814-43EF-86DB-1474C2B09A6D}", False)
Datagridview1.columns.Add(regkey.GetValueNames)

VulpesRank #55 · 29.2K reputationPosted Apr 4, 2013, 11:11 AM EDT