void _tableview_DetailsRowEnvent(string id)
        {
            string dept_id;
            //string item_id;
            //string object_id;

            int selectrow = int.Parse(id);

            dept_id = current_table.Rows[selectrow - 1][1].ToString();
            //item_id = current_table.Rows[selectrow - 1][3].ToString();
            //object_id = current_table.Rows[selectrow - 1][5].ToString();

            if (user_flag_tier == "2")
            {
                UcWarningdetails daydetails = new UcWarningdetails(dbOperation, dept_id, ItemId, ObjectId);
                daydetails.SetValue(Grid.RowProperty, 0);
                daydetails.SetValue(Grid.RowSpanProperty, 2);

                grid_info.Children.Add(daydetails);
            }
            else
            {
                UcWarningDept daydetails = new UcWarningDept(dbOperation, dept_id, ItemId, ObjectId);
                daydetails.SetValue(Grid.RowProperty, 0);
                daydetails.SetValue(Grid.RowSpanProperty, 2);

                grid_info.Children.Add(daydetails);
            }
        }
        void _tableview_DetailsRowEnvent(string id)
        {
            string dept_id;
            //string item_id;
            //string object_id;

            int selectrow = int.Parse(id);

            dept_id = current_table.Rows[selectrow - 1][1].ToString();
            //item_id = current_table.Rows[selectrow - 1][3].ToString();
            //object_id = current_table.Rows[selectrow - 1][5].ToString();

            if (user_flag_tier == "2")
            {
                UcWarningdetails daydetails = new UcWarningdetails(dbOperation, dept_id, ItemId, ObjectId);
                daydetails.SetValue(Grid.RowProperty, 0);
                daydetails.SetValue(Grid.RowSpanProperty, 2);

                grid_info.Children.Add(daydetails);
            }
            else
            {
                UcWarningDept daydetails = new UcWarningDept(dbOperation, dept_id, ItemId, ObjectId);
                daydetails.SetValue(Grid.RowProperty, 0);
                daydetails.SetValue(Grid.RowSpanProperty, 2);

                grid_info.Children.Add(daydetails);
            } 
        }