db로부터 grid뷰를 불러오는 부분인데..
해당 길이가 너무 길어서 newline 처리를 해주고싶습니다.
방법이 있을까요?
<asp:GridView ID="gridViewDBInfo" runat="server" AllowPaging="true"
OnPageIndexChanging ="gridViewDBInfo_PageIndexChanging" AutoGenerateColumns="False"
CellPadding="4" ForeColor="#333333" GridLines="None">
<AlternatingRowStyle BackColor="White" />
<Columns>
<%-- <asp:BoundField DataField="cert_index" HeaderText="cert_index" />--%>
<asp:BoundField DataField="home" HeaderText="홈">
<ItemStyle Font-Bold="true" Wrap="true" Width="100" />
</asp:BoundField>
<asp:BoundField DataField="name" HeaderText="name" />
<asp:BoundField DataField="start_dt" HeaderText="시작일" />
<asp:BoundField DataField="end_dt" HeaderText="만료일" />
<asp:BoundField DataField="encrypt_key" HeaderText="키" HeaderStyle-Width="600">
</asp:BoundField>
<asp:BoundField DataField="encrypt_key" HeaderText="키" HeaderStyle-Width="600"> => 핵심 부분입니다.. 이부분을 두줄이나 세줄정도로 하여 좀 깔끔하게 보고싶습니다.
[최초 등록일: ]
[최종 수정일: 1/24/2019]