标签: vb.net .net-1.1 visual-studio-2003
我想在用户输入该字段时仅在gridview单元格值中允许数字。我的框架是dotnet 1.1和Miscosoft visual studio .net 2003.虽然我尝试调用gridview keypress事件和按键事件,但它不会触发
答案 0 :(得分:0)
AddHandler yourGrid.EditingControlShowing,AddressOf yourGrid_EditingControlShowing
然后将gridview文本框转换为TextBox