Microsoft MVP성태의 닷넷 이야기
asp.net 관련 gridview webform 질문 드립니다. [링크 복사], [링크+제목 복사],
조회: 7830
글쓴 사람
게스트
홈페이지
첨부 파일
[1.jpg]    

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]


비밀번호

댓글 작성자
 



2019-01-25 09시29분
기본 동작에서 해주는 것이 없다면 BoundField를 상속받아서 두줄이나 세줄로 나오도록 만들면 되지 않을까요?
정성태

... 61  62  63  [64]  65  66  67  68  69  70  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
976박성준6/13/201113021VS2008 Add-in 구현 관련 질문 [4]
972김길6/6/201115046메모리 해제 예외 처리 관련.. [2]
971강동원5/29/201112760firebird install건 [1]
970임동찬5/18/201113473ASP.net 솔루션 디버깅 관련 [1]
969이성환5/4/201115385WMI 를 사용하지 않고 하드웨어 정보를 가져올 수 없을까요? [3]
968김동미4/28/201114654안녕하세요 다시 한번 문의를 드립니다.. [2]파일 다운로드1
967임동찬4/22/201117120C# using문 관련 [9]
964김동미4/18/201114852wcf IsOneWay 속성관련 문의 입니다..
965정성태4/18/201115926    답변글 [답변]: wcf IsOneWay 속성관련 문의 입니다..
966김동미4/19/201114217        답변글 [답변]: [답변]: wcf IsOneWay 속성관련 문의 입니다.. [1]
963최재훈4/12/201112488wcf inactivityTimeout 설정시 문의 사항이 있습니다. [2]
962임동찬4/8/201112221TFS 사용관련 [1]
961임동찬4/7/201112560XSD & XML & XmlCodeGenerator [2]
960임동찬4/5/201113828XML Schema Editor [4]
959immm3/24/201111847로그인 연동 어려운 건가요? [1]
958꼭지3/3/201113512Supporting compressed request in WCF 3.5 [5]
957임동찬2/21/201113920WCF channel faulted 관련 [2]
956윤용한2/18/201117288WaitHandle.WaitOne 과 Stopwatch에 관한 질문 [3]
955최광욱2/17/201114486TFS 에서 소스 영구 제거 방법 [1]
954한장우2/16/201112099atl activeX 질문이요~ [1]
952박용운2/16/201113046IE8.0에서 BHO [1]
953박용운2/16/201113147    답변글 [답변]: IE8.0에서 BHO
951임동찬2/11/201112997WCF Service Reference [1]
950이성환2/9/201114281Windows application 프로젝트를 참조 했을 때 생성되는 실행파일을 직접 실행 불가능하도록 하고 싶습니다. [6]파일 다운로드1
947김순조1/24/201114302.NET based Com에서 Native ActiveX로 이벤트 보내기?? [2]파일 다운로드1
943김기룡1/3/201117378닷넷 에러시 조치사항관련... [2]
... 61  62  63  [64]  65  66  67  68  69  70  71  72  73  74  75  ...