Tìm kiếm Bài giảng
Chapter7

- 0 / 0
(Tài liệu chưa được thẩm định)
Nguồn:
Người gửi: Nguyễn Hữu Thường
Ngày gửi: 15h:31' 26-08-2015
Dung lượng: 136.0 KB
Số lượt tải: 12
Nguồn:
Người gửi: Nguyễn Hữu Thường
Ngày gửi: 15h:31' 26-08-2015
Dung lượng: 136.0 KB
Số lượt tải: 12
Số lượt thích:
0 người
1
CHAPTER 7
ASP.NET WEB SERVER CONTROLS
2
ASP.Net Web Server Control
Syntax ASP.Net Web Server Control:
Every element begin by prefix asp
Example:
Every element has both Id and Runat attribute.
3
You want to format control , you right-click control->properties.
4
Common Controls
Standard
Data
Navigation
Login
5
Standard
Label
Textbox
Button
CheckBox and Radio
FileUpload
List Controls group
AddRotator
XML
6
Label
Label server control is used to display text in the browser.
Property:
Text: is used set or get value
String strName=lblMsg.Text;
Or
lblMsg.Text=“Value”;
7
TextBox
Textbox is one of the main feautures of Web page. It permit user input data from Client.
Property:
TextMode: SingleLine, Password, MultiLine.
Text: set or get value
String strName=txtName.Text;
Or
txtName.Text=“Value”;
8
TextBox(cont)
AutoPostBack: has value true or false. When an an action on a Web page triggers an event.

CHAPTER 7
ASP.NET WEB SERVER CONTROLS
2
ASP.Net Web Server Control
Syntax ASP.Net Web Server Control:
Every element begin by prefix asp
Example:
Every element has both Id and Runat attribute.
3
You want to format control , you right-click control->properties.
4
Common Controls
Standard
Data
Navigation
Login
5
Standard
Label
Textbox
Button
CheckBox and Radio
FileUpload
List Controls group
AddRotator
XML
6
Label
Label server control is used to display text in the browser.
Property:
Text: is used set or get value
String strName=lblMsg.Text;
Or
lblMsg.Text=“Value”;
7
TextBox
Textbox is one of the main feautures of Web page. It permit user input data from Client.
Property:
TextMode: SingleLine, Password, MultiLine.
Text: set or get value
String strName=txtName.Text;
Or
txtName.Text=“Value”;
8
TextBox(cont)
AutoPostBack: has value true or false. When an an action on a Web page triggers an event.

 







Các ý kiến mới nhất