You should use as following
<style type="text/css">
#MainContent_GridView1 {
border: solid 1px Black !important;
}
#MainContent_GridView1 tr {
border: solid 1px Black !important;
}
#MainContent_GridView1 td {
border: solid 1px Black !important;
}
</style>
You need to create class for your tr
and td
you should also look if you have th
is render on your browser if so you need to create class as follow
#MainContent_GridView1 th {
border: solid 1px Black !important;
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…