public static void ListView_Accessor(SqlDataReader dr, ListView listView)
{
try
{
while (dr.Read())
{
ListViewItem ListDatas = new ListViewItem(dr[0].ToString());
if (dr.FieldCount > 0)
{
string[] DataList = new string[dr.FieldCount];
for (int i = 1; i < dr.FieldCount; i++)
{
DataList[i - 1] = dr[i].ToString();
}