Gridview的标题边框问题。 [英] Header border problem of a Gridview.

查看:76
本文介绍了Gridview的标题边框问题。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站上有一个Gridview,并使用windows.print()进行打印;这工作正常,但它的标题边框不能正常工作。我的意思是一些属性丢失了边界。例如,我有两个名为Id和E-mail的属性。我需要像这样显示它们电子邮件,但有时它们看起来像这封Id电子邮件。这是我的代码。

I have a Gridview on my web site and printing it using windows.print(); this work fine but it's header border does not work properly. I mean some attribute lost there left border. For example, I have two attribute named Id and E-mail. I need to show them like this Id | E-mail , but sometimes they appear like this Id E-mail. Here is my code.

<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="Black" BorderColor="Black" BorderWidth="2px" Font-Size="16"/>



我不知道怎么拼这个问题,请有人如果你了解我帮助我。


I don't know how to spell this problem, Please Someone help me if you understand me.

推荐答案

你好



检查gridview属性
Hello

Check you gridview properties
GridLines="Both"

如果没有请改变,请参阅.....

if not please change as this, then see .....


这篇关于Gridview的标题边框问题。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆