简体   繁体   中英

How to perform a textchanged event in vb.net datagrid textboxes

i have a datagrid view in my vb.net windows form. I have to load values to some of the textboxes depending on the first column of the datagrid. For example : if i type a name of the person in first datagrid view column, then the second column should automatically load with that persons mobile number. How can i do this ?

我认为您正在寻找OnCellValueChanged ,它的问题是直到您离开编辑单元格后它才会触发。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM