killtestは最新の問題集を提供いたします!
上記の広告は1ヶ月以上更新のないブログに表示されています。
新しい記事を書く事で広告が消せます。

killtestの商品を買ったことがあるお客様に一年間無料更新のサービスを提供致します、ですので、貴方が持ってる問題集はきっと最新版でございます。

Microsoft MCADNET 070-528(Csharp)
試験番号: 070-528(Csharp)

試験の名称: MS.NET Framework 2.0-Web-based Client Development

バージョン:V8.02
問題と解答:72 Q&As
価格(日本円):\ 7900.00 JPY
更新:2010-08-14

1. Your Web site uses custom Themes. Your Web site must support additional Themes based on the
user's company name.
The company name is set when a user logs on to the Web site. The company's Theme name is stored in
a variable named ThemeName.
You need to use this variable to dynamically set the Web site's Theme.
What should you do?
A. Add the following code segment to the markup source of each page on the Web site.
<%@ Page Theme="ThemeName" ... %>
B. Add the following code segment to the Load event of each page on the Web site.
Page.Theme = ThemeName;
C. Add the following code segment to the PreInit event of each page on the Web site.
Page.Theme = ThemeName;
D. Add the following code segment to the Web site's configuration file.

Answer: C

2. You write a Web application. This application must support multiple languages. You store the localized
strings in the application as resources. You want these resources to be accessed according to a user ¯ s
language preference. You create the following resource files in the App_GlobalResources folder of your
application.
myStrings.resx
myStrings.en-CA.resx
myString.en-US.resx
myStrings.fr-CA.resx
myStrings.es-MX.resx
Each resource file stores a localized version of the following strings: Name, E-mail, Address, and Phone.
You create a Web Form that contains one label for each of these strings.
You need to ensure that the correct localized version of each string is displayed in each label, according
to a user ¯ s l anguage pr ef er ence.
What should you do?
A. Add the following configuration section to the Web.config file.

B. Set the directive for each page in your site as follows:
<%@ Page UICulture="Auto" %
C. Add the following code segment to the page ¯ s l oad event
lblName.Text = @"{myStrings}Name";
lblAddress.Text = @"{myStrings}Address";
lblEmail.Text = @"{myStrings}Email";
lblPhone.Text = @"{myStrings}Phone";
D. Add the following code segment to the page ¯ s l oad event
lblName.Text = Resources.myStrings.Name;
lblAddress.Text = Resources.myStrings.Address;
lblEmail.Text = Resources.myStrings.Email;
lblPhone.Text = Resources.myStrings.Phone;
Answer: D

3. You create a Web Form. The Web Form displays sales information as a chart. The chart must be
rendered to the user ¯ s br owser as a .j peg fil e. The chart i s r etri eved by usi g the following code segment.
Bitmap chart = Chart.GetCurrentSales();
You need to display the chart to the user.
Which code segment should you use?
A. Response.ContentType = "image/jpeg";
chart.Save(Request.InputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
chart.Dispose();
B. Response.ContentType = "image/bitmap";
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Bmp);
chart.Dispose();
C. Response.ContentType = "text/html";
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.MemoryBmp);
chart.Dispose();
D. Response.ContentType = "image/jpeg";
chart.Save(Response.OutputStream, System.Drawing.Imaging.ImageFormat.Jpeg);
chart.Dispose();
Answer: D

4. You create a Web Form. The Web Form allows users to calculate values and display the results in a
label named lblResults.
You need to capture all unhandled exceptions on the Web Form through the Error event. The Error event
must capture each unhandled exception and display it on the Web Form.
Which code segment should you use?
A. protected void Page_Error(object sender, EventArgs e) {
lblResults.Text = e.ToString();
e=null;
}
B. protected void Page_Error(object sender, EventArgs e) {
lblResults.Text = Server.GetLastError().ToString();
Server.ClearError();
}
C. protected void Page_Error(object sender, EventArgs e) {
Response.Write(e.ToString());
e=null;
}
D. protected void Page_Error(object sender, EventArgs e) {
Response.Write(Server.GetLastError().ToString());
Server.ClearError();
}
Answer: D
スポンサーサイト

【2010/08/24 11:18】 | 資格
トラックバック(0) |
コメント
この記事へのコメント
コメントを投稿
URL:

Pass:
秘密: 管理者にだけ表示を許可
 
トラックバック
この記事のトラックバックURL
この記事へのトラックバック
上記広告は1ヶ月以上更新のないブログに表示されています。新しい記事を書くことで広告を消せます。