从ASPX code调用C#函数 [英] calling C# function from aspx code
本文介绍了从ASPX code调用C#函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要调用从ASPX code A C#的功能,当我在文本框中输入一些东西。我怎么能叫上一个文本框的key down事件从ASPX code A C#功能?
I want to call a C# function from aspx code when I type in something in the text box. How can I call a C# function from aspx code on a key down event of a text box.?
推荐答案
做好一键按下事件
private void textBox1_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
{
Function1();
}
功能
private void Function1()
{
}
这篇关于从ASPX code调用C#函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文