问题描述
你好朋友,
面试中有人问我If gridview has child control say textbox, which control is loaded first and why?
我感觉到了文本框,只是因为gridview的每一行都有文本框,并且它们在rowdatabound操作期间被加载.在每次进行行数据绑定操作之后,整个网格都准备就绪.
我不知道这个事实,我一直在寻找一些解决方案,但没有找到合适的解决方案,因此想在这里询问.
我可能知道这是正确的解决方案,还是有其他不同的逻辑?
谢谢
Hello friends,
I was asked in interviewIf gridview has child control say textbox, which control is loaded first and why?
I felt textbox, just because each row of gridview has textbox and they are loaded during rowdatabound operation. After each rowdatabound operation then entire grid is ready.
I don''t know about the fact, I looked out for some solution but did not find appropiate solution for it so thought to ask over here.
May I know was this correct solution or there is something different logic??
Thanks
推荐答案
这篇关于gridview及其子控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!