Thank you for help me, look i have this procedure, look in the last case "isautoincrement" looks ok but is not working everything else work fine please maybe you can see where is the error thanks a lot
cmd.CommandText = "SELECT * FROM " + tblName
cmd.Connection = cnn
myReader = cmd.ExecuteReader()
schemaTable = myReader.GetSchemaTable()
i=0
foreach (DataRow myField in schemaTable.Rows
foreach (DataColumn myProperty in schemaTable.Columns)
switch (myProperty.ColumnName.ToLower())
case "columnname"
listView1.Items.Add (myField[myProperty].ToString())
break
case "columnsize"
listView1.Items.SubItems.Add(myField[myProperty].ToString())
break
case "datatype"
listView1.Items.SubItems.Add(myField[myProperty].ToString())
break
case "isautoincrement"
listView1.Items.SubItems.Add(myField[myProperty].ToString())
break
i++
}