VB.Net. TextBox1.Attributes.Add("onkeydown", "return (event.keyCode!=13);"). The above line will add the onkeydown event to the textbox.
確定! 回上一頁