题目内容 (请给出正确答案)
提问人:网友z*****n 发布时间:2023年2月18日 10:26
[单选题]

You are implementing a read-only page that includes the following controls. You disable view state to improve performance. You need to ensure that the page is updated to display the latest data when the user clicks the refresh button. Which code segment should you use?() 

A.protected void Page_PreInit(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers();  gvCustomers.DataBind(); } } B.protected void Page_Load(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } C.protected void gvCustomers_DataBinding(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } D.protected void Page_PreRender(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } }

参考答案
十点题库官方参考答案 (由十点题库聘请的专业题库老师提供的解答)
更多“You are implementing a read-on”相关的问题
Windows95的对话框中,下列描述错误的是()。
A.在“控制面板”下的“区域设置”项的对话框中,单击标签按钮可以查看对话框的不同“页”
B.在“记事本”窗口中,对于有下划线的字母,用户可同时按ALT键和域名字中有下划线的字母以迅速跳转到这个域对话框
C.“确定”和“取消”按钮是一般对话框中两个最基本按钮键,用户可单击“确定”按钮执行所设置的命令,也可单击“取消”取消该命令
D.对话框右上角“×”按钮的作用是使窗口最大化
点击查看答案
下列各项中,()是计算机进行工作的物质基础。
A . 硬件系统
B . 软件系统
C . 控制器
D . 运算器
点击查看答案
兴趣属于()。
A.社会性动机
B. 生理性动机
C. 外在动机
D. 习惯动机
点击查看答案
WAP手机银行最多可添加()个缴费信息。
A.10
B.20
C.30
D.50
点击查看答案
用人单位有下列______行为的,由劳动行政部门责令改正,处2000元以上20000元以下罚款。
A.无理抗拒、阻挠劳动行政部门依照《劳动保障监察条例》的规定实施劳动监察的
B.不按照劳动行政部门的要求报送书面材料。隐瞒事实真相,出具伪证或者隐匿、毁灭证据的
C.拒不履行劳动行政部门的行政处理决定的
D.经劳动行政部门责令改正拒不改正的
E.阻挠劳动者依法参加和组织工会的
点击查看答案
越南古典文学叙事长诗《金云翘传》是根据中国明代同名小说改编,作者阮攸,字素如,号清轩,越南河静省人。()
点击查看答案
财政收入政策的主要内容是()。
A.转移支付政策
B.预算拨款政策
C.税收政策
D.财政补贴政策
点击查看答案


Today is November 28th. It’s my sisterGina’s eighth birthday. In the morning, my parents  take us to Zig Zag’s Store. There my mother buys a red sweater for Gina. And we go to  Xinhua Book Store. There I buy some CDs for Gina. My father also buys a book for Gina,  and its name is Harry Potter. It’s Gina’s favorite book. In the afternoon,my parents have a  birthday party for Gina at home.Gina’s friends, Bill, Jim and Cindy come to the party. Bill  brings anewpencil to Gina. Jim gives Gina a soccer ball because she likes playing soccer.  Cindy gives Gina an English-Chinese dictionary. Gina is very happy. Oh, I’m Gina’s brother.  My name is Robert. 

点击查看答案
精车时,切削速度增大会:()
A.增大表面粗糙度
B.降低表面粗糙度
C.表面粗糙度没影响
D.受制刀具强度
点击查看答案
无漏水、漏油、漏气、漏电现象是小修理的验收条件之一。
A.对 B.错
点击查看答案
电杆应按设计要求装设避雷线和接地线。
点击查看答案
被称为“传异之官"的是?()
A.大肠
B.小肠
C.膀胱
点击查看答案
不属于社会主义家庭美德的是()
A.尊老爱幼
B.男女平等
C.服务群众
D.夫妻和睦
点击查看答案
责任护士通过病史护理评估后,应考虑患者可能的重要病情变化是()
A.恶化性心绞痛
B.急性心肌梗死
C.肺栓塞
D.支气管哮喘
E.长期用硝酸甘油可能产生耐受性
点击查看答案
家庭学校的兴起,就是公众对公立学校不信任而产生的一种学校类型。()
点击查看答案
客服
TOP