2014-03-14 32 views
0

我有員工詳細信息表和最少40個字段,我必須asp.net。要在水晶報告中報道。每一個領域都有複選框,如果我選擇只希望在水晶報表顯示,表格中的一些複選框如何使用Asp.Net顯示水晶報表中的選定值

所以任何人都可以幫我解決這個問題,很抱歉,我的英語

+0

檢查http://dotnetmentors.com/reporting/crystal-report-with-stored-procedure-parameter-and-visual- studio.aspx – MusicLovingIndianGirl

+0

我使用多個複選框,所以無論我選擇複選框意味着字段只想顯示其他字段不想要的 – Parthiban

回答

0

你能控制報表數據源 作爲例如

foreach (DataGridViewRow row in dataGridView1.Rows) 
       { 
        DataGridViewCheckBoxCell ch1 = new DataGridViewCheckBoxCell(); 
        ch1 = (DataGridViewCheckBoxCell)row.Cells["Check"]; 
         if (ch1.Value !=null) 
        { 
        } 
        else 
        { 
        } 
       } 

或者你也可以抑制Crystal報表行已檢查=假