错误在网格视图中显示

错误在网格视图中显示

本文介绍了错误在网格视图中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

public int getStatusCount(string status)
    {
        int count = 0;

        foreach (GridDataItem item in RadGrid1.MasterTableView.Items)
        {

            string id = item[status].Text; //get the pid here

            if (id == "s")
            {
                count = count + 1;
            }

        }

        return count;

    }


 int test = RadGrid1.MasterTableView.Items.Count;


public double getpercent(int submitted,int total)

    {
        double percent = Math.Round((double)(submitted * 100) / total, 1);

        return percent;
    }

推荐答案


Difference between AllowUnsafeUpdates and RunWithElevated previledges.
What is content type.
What is content type hub/ can content types be managed through central admin site.
Powershell command to install solution.
What is sandbox solution? Can a visual webpart be deployed as sandbox solution.
Difference between LINQ and CAML.


这篇关于错误在网格视图中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 22:41