Gridview의 특정 부분 필드에 적용하려고 하니 CSS가 제대로 작동하지 않았다.

구글한 결과..

The issue is certainly the size of the <input /> text boxes when in edit mode

Add the <EditRowStyle> element to your gridview to give the edit row a CSS class

<asp:GridView ID="GridView1" runat="server">
    <EditRowStyle CssClass="GridViewEditRow" /> <%-- add this --%>

Now you can control the size of the textboxes with CSS

.GridViewEditRow input[type=text] {width:50px;} /* size textboxes */
.GridViewEditRow select {width:50px;} /* size drop down lists */
textbox 타입이 그냥 text 다.ㅡㅡ;;;
Posted by 노을지기