99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項(xiàng)選擇題

You create a Web Form. The Web Form uses the FormView control to enable a user to edit a record in the database. When the user clicks the Update button on the FormView control, the application must validate that the user has entered data in all of the fields. You need to ensure that the Web Form does not update if the user has not entered data in all of the fields. Which code segment should you use? ()

A.protectedvoidFormView1_ItemUpdating(objectsender,F(xiàn)ormViewUpdateEventArgse){foreach(DictionaryEntryentryine.Keys){if(entry.Value.ToString()==System.String.Empty){e.Cancel=true;return;}}}
B.protectedvoidFormView1_ItemUpdated(objectsender,F(xiàn)ormViewUpdateEventArgse){foreach(DictionaryEntryentryine.NewKeys){if(entry.Value.Equals(“”)){e.KeepEditMode=true;return;}}}
C.protectedvoidFormView1_ItemUpdating(objectsender,F(xiàn)ormViewUpdateEventArgse){foreach(DictionaryEntryentryine.NewValues){if(entry.Value.Equals(“”)){e.Cancel=true;return;}}}
D.protectedvoidFormView1_ItemUpdating(objectsender,F(xiàn)ormViewUpdateEventArgse){foreach(DictionaryEntryentryine.Keys){if(entry.Value.ToString()==System.String.Empty){e.KeepInEditMode=true;return;}}}

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題