- Q Why a grid is sometimes placed in a cassette?
- Q Distinguish between organisation theory and organisational behavior ?
- Q Tell me bts configuration 4+2+2?
- Q What do you about VoiceXML & MusicXML? How can you it be included in a SMIL file?
- Q In which two seets was Jainism divided into?
- Q How can you make a database as your current database?
- Q What are the features of novell netware?
- Q What is the difference between high capacity and high performance disk?
- Q Tell us something about static linking and dynamic linking?
- Q You are creating an ASP.NET Web Form that displays employee data from a DataSet object. You want to fill the DataSet object and then you want to retrieve a reference to the employee whose primary key has the value of 1. You write the following code. (Line numbers are included for reference only) 01 SqlConnection(ConnectionString); 02 conn.Open(); 03 SqlCommand cmd = new SqlCommand (SELECT * FROM Employees, conn); 04 SqlDataAdapter da = new SqlDataAdapter(cmd); 05 DataSet ds = new DataSet(); 06 07 da.Fill(ds, Employees); 08 09 DataRow dr; 10 dr = ds.Tables[Employees].Rows.Find(1); 11 nameLabel.Text = dr[Name].ToString(); When you run the code, you receive the following error message at line 10: Table doesnt have a primary key. You ensure that a primary key is defined on the Employees table in the database. You want to alleviate the error to allow the code to run correctly. You also want to catch the exception that would occur if the employee whose primary key has the value if 1 is deleted from the database. Which two actions should you take? (Each correct answer presents part of the solution. Choose two) A. Add the following code at line 06: da.MissingSchemaAction = MissingSchemaAction.AddWithKey; B. Add the following code at line 06: da.MissingSchemaAction = MissingSchemaAction.Add; C. Add the following code at line 06: da.MissingSchemaAction = MissingSchemaAction.Ignore; D. Add the following code at line 06: da.MissingSchemaAction = MissingSchemaAction.Error; E. Place line 07 in a structured exception handling block. F. Place lines 10 and 11 in a structured exception handling block.
- Q How to enable automatic archiving?