This is a practice exam for Microsoft Technology Specialist (TS) Exam 70-526 on the topic of Microsoft. NET Framework 2.0 - Windows-based Client Development developed for students and learners. You can either take this as 70-526 practice questions or as a timed practice exam. Read the questions carefully. So, let's try out the quiz. All the best!
ExecuteScalar();
ExecuteNonQuery();
ExecuteReader();
ExecuteCommand();
Rate this question:
&=
=
+=
|=
Rate this question:
Bt1.Text = @�Go�;
Bt1.Text = �&Go�;
Bt1.Text = �&&Go�;
Bt1.Text = �@Go�;
Rate this question:
PercentageChanged
WorkDone
ProgressChanged
ProgressPercentageIncreased
Rate this question:
DataRelation dr = new DataRelation("relationname", dcoi, dco); ds1.Relations.Add(dr);
DataRelation dr = new DataRelation("relationname", dco, dcoi); ds1.Relations.Add(dr);
DataRelation dr = new DataRelation("relationname", dcoi, dco); ds1.Relations.Add("relationname");
DataRelation dr = new DataRelation("relationname", dco, dcoi); ds1.Relations.Add("relationname");
Rate this question:
Trans.Abort();
Conn.AbortTransaction();
Trans.Rollback();
Conn.RollbackTransaction();
Rate this question:
Text1.SetError(�invalid data�, ep1);
Text1.SetError(ep1, �invalid data�);
Ep1.SetError(Text1, �invalid data�);
Ep1.SetError(�invalid data�, Text1);
Rate this question:
Use the Text property.
Use the Tag property.
Use the UserInfo property.
Use the CustomData property.
Rate this question:
Void return type, no parameter
Object return type, no parameter
Void return type, object parameter
Object return type, object parameter
Rate this question:
Create a Setup Application
Use XCOPY to copy the files
Create a CAB project
Use ClickOnce.
Rate this question:
XmlDocument doc = new XmlDocument("input.xml");
XmlDocument doc = new XmlDocument(); doc.Load("input.xml");
XmlDocument doc = new XmlDocument(); doc.Open("input.xml");
XmlDocument doc = new XmlDocument(); doc.File = "input.xml";
Rate this question:
System.Windows.Forms.UserControl
System.Windows.Forms.Control
System.Windows.Forms.WindowsControl
System.Windows.Forms.Component
Rate this question:
DebuggerBrowsable
ComVisible
Browsable
DisplayBrowsable
Rate this question:
Normal
StretchImage
ExpandImage
AutoSizeImage
Rate this question:
WorkCompleted
RunWorkerCompleted
ProgressCompleted
ProgressPercentageCompleted
Rate this question:
SqlCommand cmd = new SqlCommand(); cmd.CommandText = "DELETE FROM MyTable"; int rowcount = cmd.ExecuteScalar();
SqlCommand cmd = new SqlCommand(); cmd.CommandText = "DELETE FROM MyTable"; int rowcount = cmd.ExecuteNonQuery();
SqlCommand cmd = new SqlCommand(); cmd.CommandText = "DELETE FROM MyTable"; SqlDataReader dr = cmd.ExecuteReader(); int rowcount = dr.RowCount;
SqlCommand cmd = new SqlCommand(); cmd.CommandText = "DELETE FROM MyTable"; int rowcount; cmd.ExecuteNonQuery(out rowcount);
Rate this question:
DataTable.Columns.Add("TotalPrice", typeof(Double), "Quantity" * "UnitPrice");
DataTable.Columns.Add("TotalPrice", typeof(Double), Quantity * UnitPrice);
DataTable.Columns.Add("TotalPrice", typeof(Double), "Quantity * UnitPrice");
DataTable.Columns.Add("TotalPrice", typeof(Double), "Quantity", "UnitPrice");
Rate this question:
By the amount specified in the Parameter to PerformStep()
By the amount specified in the Step property
By the amount specified in the IncrementStep property.
By 1.
Rate this question:
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("fr");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US"); Thread.CurrentThread.CurrentCulture = new CultureInfo("fr");
Thread.CurrentThread.CurrentCulture = new CultureInfo("en-US"); Thread.CurrentThread.CurrentCulture += new CultureInfo("fr");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US"); Thread.CurrentThread.CurrentUICulture += new CultureInfo("fr");
Rate this question:
Bg1.DoWork(functionname); bg1.RunWorkerAsync();
Bg1.DoWork = functionname; bg1.RunWorkerAsync();
Bg1.DoWork += delegate { functionname(); }; bg1.RunWorkerAsync();
Bg1.RunWorkerAsync(functioname); bg1.DoWork();
Rate this question:
Thread T = new Thread(new ThreadStart("ThreadedFunction")); T.Start(filename);
Thread T = new Thread(new ThreadStart("ThreadedFunction", filename)); T.Start();
Thread T = new Thread(new ParameterizedThreadStart("ThreadedFunction")); T.Start(filename);
Thread T = new Thread(new ParameterizedThreadStart("ThreadedFunction", filename)); T.Start();
Rate this question:
VersionNTName = �XP�;
VersionNT = 501;
VersionNTName >= �XP�;
VersionNT >=500;
Rate this question:
XmlValidatingReader
XmlDictionaryReader
XmlReader
XmlSchemaReader
Rate this question:
ReadCommitted
ReadUncommitted
Serializable
Chaos
Rate this question:
MouseOver and MouseOut
MouseHover and MouseOut
MouseOver and MouseLeave
MouseHover and MouseLeave
Rate this question:
Com.CommandText = �SELECT * FROM Customers�; com.CommandType = CommandType.StoredProcedure;
Com.CommandText = �SELECT * FROM Customers�; com.CommandType = CommandType.TableDirect;
Com.CommandText = �Customers�; com.CommandType = CommandType.Text;
Com.CommandText = �Customers�; com.CommandType = CommandType.TableDirect;
Rate this question:
NavigateUrl
DocumentUrl
Url
PageUrl
Rate this question:
Cb1.DataBindings.Add(dt1, �Checked�);
Cb1.DataBindings.Add(dt1, �IsApproved�, �Checked�);
Cb1.DataBindings.Add(�Checked�, dt1, �IsApproved�);
Cb1.DataBindings.Add(�Checked�, �dt1.IsApproved�);
Rate this question:
IsMdiChild on Forms A,B and C; and IsMdiParent on FormD.
MdiParent on Forms A,B and C; and IsMdiContainer on FormD.
IsMdiChild on Forms A,B and C; and IsMdiContainer on FormD.
MdiParent on Forms A,B and C; and IsMdiParent on FormD.
Rate this question:
Apply the DefaultEvent attribute to the class that represents your control. Specify the name of the event.
Apply the DefaultEvent attribute to the class that represents your control. Specify the name of the event handler.
Apply the DefaultEvent attribute to the event. Pass a value of true.
Apply the DefaultEvent attribute to the event. Don�t pass any parameter.
Rate this question:
Registry Editor
File System Editor
Launch Conditions Editor
Required Components Editor
Rate this question:
WaitOne
Reset
Set
Close
Rate this question:
TransactionScope.Completed = true;
TransactionScope.Commit();
TransactionScope.Complete();
TransactionScope.IsCompleted = true;
Rate this question:
Handle the KeyPress event
Override the OnKeyPress method
Handle the KeyDown event
Override the OnKeyDown method.
Rate this question:
RowUpdating
RowUpdated
RowChanging
RowChanged
Rate this question:
Name
AccessibleName
Description
AccessibleDescription
AccessibleRole
Rate this question:
System.Net.WebClient
System.Net.HttpClient
Sytem.Net.InetClient
System.Net.HttpWebRequest
System.Net.IPClient
Rate this question:
Quiz Review Timeline (Updated): May 31, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.