我需要限制在gridview编辑模式下只输入时间(HH:mm:ss)我该怎么做?
<asp:GridView runat="server" ID="gvListele" Visible="False"
CellPadding="4" ForeColor="#333333" GridLines="Horizontal" Width="950px" RowStyle-Height="30px"
onselectedindexchanged="gvListele_SelectedIndexChanged"
onsorting="gvListele_Sorting"
onpageindexchanging="gvListele_PageIndexChanging"
onrowcancelingedit="gvListele_RowCancelingEdit"
onrowediting="gvListele_RowEditing"
onrowupdating="gvListele_RowUpdating"
onrowdeleting="gvListele_RowDeleting"
onrowdatabound="gvListele_RowDataBound" PageSize="20"
EmptyDataText="Görüntülenecek Öğe Bulunmamaktadır....." >
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" HorizontalAlign="Center"/>
<Columns>
<asp:CommandField CancelText="İptal" DeleteText="Sil" EditText="Düzenle"
InsertText="Ekle" NewText="Yeni" SelectText="Seç" ShowEditButton="True"
UpdateText="Güncelle" />
<asp:CommandField CancelText="İptal" DeleteText="Sil" EditText="Düzenle"
ShowDeleteButton="True" />
</Columns>
<FooterStyle BackColor="#29abe2" ForeColor="White" HorizontalAlign="Center" />
<PagerStyle BackColor="#29abe2" ForeColor="#333333"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#29abe2" ForeColor="Navy" HorizontalAlign="Center" />
<HeaderStyle BackColor="#29abe2" ForeColor="White" HorizontalAlign="Center" Font-Size="Small" Height="20px" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
这是我的 gridview 代码,我只需要在编辑模式下屏蔽 4,5 和 6 列。