Search Header Logo

Lap trinh web 1

Authored by Minh Trần

Computers

5th Grade

Used 1+ times

Lap trinh web 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Control nào kiểm tra giá trị trong khoảng cho trước?

<asp:CompareValidator>

< asp:RangeValidator>

< asp:ValidatorSummary>

<asp:RegularExpressionValidator>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho file Book.xml sau:

<?xml version="1.0"?>

<Catalog>

<Order>

<Type>1</Type>

</Order>

<Book>

<ID>1</ID>

</Book>

</Catalog>

Hãy cho biết số lượng DataTable của một DataSet sau khi đọc Schema của file này?

Chọn một:

1

2

3

4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức nào sau đây là sai nếu chưa chỉ định sử dụng namespace System.Web.UI.WebControls?

Button button = (Button)form1.Controls[0];

Stack stack = new Stack();

DataTable table = (DataTable)listB ox1.DataSource;

XmlTextReader rdr;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn code sau:

protected void Page_Load(object sender, EventArgs e)

{

if (!this.IsPostBack)

{

DanhMucSach dm = new DanhMucSach();

dm.Table = new DataTable();

this.Session["DanhMucSach"] = dm;

// ...

}

}

Trong các đoạn server-side code khác, biểu thức nào là đúng?

DanhMucSach dm = Session[“DanhMucSach”];

DanhMucSach dm = (DanhMucSach)Session[“DanhMucSach”];

DataTable table = Session[“DanhMucSach”].Table;

DataTable table = (DataTable)Session[“DanhMucSach”].Table;

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào của DataSet dùng để ghi cấu trúc các bảng dữ liệu vào một file .xsd?

WriteXml()

WriteXmlSchema()

ReadXml()


ReadXmlSchema()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào của DataAdapter dùng để đưa dữ liệu vào DataTable?

Fill()

Update()

Load()

SendData()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đoạn xml dưới đây có gì SAI?

<Order Type=“1”><ID></ID><Name></Name><Order>

Chọn một:

Giữa cặp <ID></ID> không có dữ liệu

Giữa các tag không có WhiteSpace

<Order> không có </Order>

<Order> có thuộc tính

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?