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