开发者

How to getting data from Excel or PDF or Word in Asp.net 2010 using RADGrid Control?

i am getting error when i upload RADGrid Control on server it run properly but when i export data into PDF or Word or Excel, not display data only display html tags like this

<span class=highlight></span>M<span class=highlight></span>M<span class=highlight></span>/<span class=highlight></span>P<span class=highlight></span>I<span class=highlight></span>/<span class=highlight></span>G<span class=highlight></span>U<span class=highlight></span>D<span class=highlight></span>M<span class=highlight></span>/<span class=highlight></span>8<span class=highlight></span>

I'm using code like this:

 protected void ExportToPdf_Click(object sender, ImageClickEventArgs e)
    {
        RadGrid1.MasterTableView.Expor开发者_JAVA技巧tToPdf();
    }
    protected void ExportToExcel_Click(object sender, ImageClickEventArgs e)
    {
        RadGrid1.MasterTableView.ExportToExcel();

    }
    protected void ExportToWord_Click(object sender, ImageClickEventArgs e)
    {
        RadGrid1.MasterTableView.ExportToWord();
}


i attached one sample image where you can check your exported pdf's html. please check and let me know if any concern.

How to getting data from Excel or PDF or Word in Asp.net 2010 using RADGrid Control?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜