搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

You are creating a Web Form. You write the following code segment to create a SqlCommand object. SqlConnection conn = new.SqlConnection(connString); conn.Open( ); SqlCommand cmd = conn.CreateCommand( ); cmd.CommandText = “select cont(*) from Customers”; You need to display the number of customers in the Customers table. Which two code segments can you use to achieve this goal? ()

A、object customerCount = cmd.ExecuteScalar();lblCompanyName.Text = customerCount.ToString();

B、int customerCount = cmd.ExecuteNonQuery();lblCompanyName.Text = customerCount.ToString();

C、SqlDataReader dr = cmd.ExecuteReader();dr.Read();lblCompanyName.Text = dr[0].ToString();

D、SqlDataReader dr = cmd.ExecuteReader();dr.Read();lblCompanyName.Text = dr.ToString();

更多“You are creating a Web Form. You write the following code segment to create a SqlCommand object. SqlConnection conn = new.SqlConnection(connString); conn.Open( ); SqlCommand cmd = conn.CreateCommand( ); cmd.CommandText = “select cont(*) from Customers”; You need to display the number of customers in the Customers table. Which two code segments can you use to achieve this goal? ()”相关的问题
第1题

A、The table is accessible to all users.  B、Tables are created in the public schema.  C、Tables are created in your schema.  D、Tables are created in the DBA schema.  E、You must specify the schema when the table is created.  

点击查看答案
第2题

A、The table is accessible to all users.  B、Tables are created in the public schema.  C、Tables are created in your schema.  D、Tables are created in the DBA schema.  E、You must specify the schema when the table is created.  

点击查看答案
第3题

A、Create a table view.  B、Create a view in any schema.  C、Create a view in your schema.  D、Create a sequence view in any schema.  E、Create a view that is accessible by everyone.  F、Create a view only of it is based on tables that you created.  

点击查看答案
第4题

A、Create a table view.  B、Create a view in any schema.  C、Create a view in your schema.  D、Create a sequence view in any schema.  E、Create a view that is accessible by everyone.  F、Create a view only of it is based on tables that you created.  

点击查看答案
第5题

AA. Create a table view.  B、B. Create a view in any schema.  C、C. Create a view in your schema.  D、D. Create a sequence view in any schema.  E、E. Create a view that is accessible by everyone.  F、F. Create a view only of it is based on tables that you created.  

点击查看答案
第6题

A、Schedule a normal backup every Sunday. Schedule incremental backups every Monday through Saturday.  B、Schedule a normal backup every Sunday. Schedule differential backups every Monday through Saturday.  C、Schedule a copy backup every day.  D、Schedule a normal backup every day.  

点击查看答案
第8题

AYou are fired! You are hired!  B、You are fired! You are fired!  C、You are hired! You are hired!  D、You are hired! Youarefired!  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服