List sqlDataType = new List(); foreach (SqlDbType dbTypes in Enum.GetValues(typeof(SqlDbType))) { sqlDataType.Add(dbTypes.ToString()); } int length = Enum.GetNames(typeof(SqlDbType)).Length;
No comments:
Post a Comment