单项选择题
A.Call the InsertCommand method of TestKingDa taAdapter.运行TestKingDataAdapter中的InsertCommand方法
B.CALL THE Update method of TestKingDataAdapter and pass in TestKingConnection.运行TestKingDataAdapter的Update方法并且通过TestKingConnection
C.Before calling the Update method,ensur ethat a row position change occurs in CustomerDataSet.在运行Upate方法,确保行位置在CustomerDataSet的改变
D.Rees tablish the database connecti on by calling the Open method of TestKingConnection.重新连接数据库通过运行TestKingConnection
单项选择题 你要设计一个与微软SQL数据库相连的基于windows的程序,这个程序通过下面的存储过程插入新行 你的程序使用SqlCommand对象中的ExecuteReader方法去调用存储过程并且创建SqlDataReader对象,当存储过程被调用后,你的代码必须解析SqlDataReader。可以通过RecordsAffected属性返回行数是否正确判断是否成功更新。可是,当你执行存储过程,SqlDataReader.RecordsAffected属性返回-1,你怎么解决这个问题?()
单项选择题 你要通过.NET开发一个叫TestKingApplication的基于windows的应用程序,TestKingApplication可以接收从多种外部提供XML数据文件,一个XML构架文件为XML数据文件定义数据格式和数据类型。TestKingApplication必须转换成XML数据文件来确定构架一致,你应该怎么做:()
单项选择题 你开发了一个基于windows应用程序,这个应用程序创建一个从DataSet对象的XML输出,通过DataSet创建XML输出,WriteXml方法被发送给另一个应用程序,这个应用程序要求输出以下的格式显示:你需要为XML输出写代码,下列的代码片段那一个是你要做的:()