من طرف angel الثلاثاء 2 فبراير 2010 - 3:35
<DIV style="margin:auto;text-align:center;width:100%">
Question1:
1- IIS(Internet Information serices)
2-Ad Rotator
3- HTML server Controls,Web Server Controls,Validation server Controls
4- MSIL(Microsoft intermediate language) HW and SW independant(CPU Independant) and this is set of instructions that can de efficently converted to native code.
it's result may be .DLL file that consistes of some class
or .EXE file that use DLL file to produce
5-CLR(comman language runtime) Provide roubust and secure execution envirnoment and it lie between the OS and the application it consists os some class and contain Garbage collector,handle threading,exception manger and MSIL
6-JIT(Just in time compiler) It converted the MSIL(assmplycode .EXE or .DLL) code to native code(Executable Code) to be independant platform code
7-ADO.net
8-IIS pass the request
9- Plain
10- syntax of web server control <asp:Control_name id="id" runat="server"/>
____________
11-compare validator>>>compares the value..........
12- Custome validatoe>>> allows u to write amethod.........
13- Range Validator>>>> Checks that the user enter values.......
14- regular expression validator>>>>Ensure that the value of the inputt enter in specific pattern
15- Require field validator>>>>makes an input control require field
16- Validation summary>>> Display areport for all validation errors
__________________________________
Question2:
1-
<asp:CompareValidator id="rangeval" ControlToValidate="txt1" ControlToCompare="txt2" ForeColor="red" Type="integer" runat="server"/>
2-
<asp:rangeValidator ControlToValidate="tbox1" MinmumValue="1" MaximumValue="100" Type="Integer" Text/Error Message="The Value from 1 to 100" runat="server"/>
3-
<asp:RangValidator controlTovalidate="tbox1" minimumValue="2005-01-10" maximumValue="2006-12-31" Type="Date" EnableClientScript="false/true"
or Text/ErrorMessage="The date Between 2005 and 2006......." runat="server"/>
4-
<asp:RagularExpressionValidator controlTovalidate="txtBox1" validateExpression="/d{5" EnableClientScript="true/false" Erroe message="the zip code must be 5 number digits" runat="server"/>
5-
<asp:RequiredFieldValidator controlTovalidate="name" EnableClientScript="true/false" runat="server"/>
6- <asp:runat="server">
sub submit(Sender As Object,e As EverArgs)
lbl1.Text=txt1.text
Endsub
</script>
<html><body><form runat="server">
<asp:TextBox id="txt1" Text="Hello world" runat="server"/>
<asp:Button onClick="submit" Text="copy text to label" runat="server"/>
<p><asp:label id="lbl1" runat="server"/></p>
</form></body></html>
7- <script runat="server">
sub submit(Source As object,e As EventArgs)
button1.Text="u clicked me"
endSub
</script>
<html><body><form runat="server">
<asp:Button id="button1" text="Click me" runat="server" onClick="submit"/>
</form></body></html>
8-
imports system.data
imports system.data.OleDB
Dim con As OleDBConnection
Dim conString As string="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C\db1.mdb"
con=new OleDBConnection(conString)
_________________________
السوؤال التالت حليت فيه شويه بس مش متأكده منه
فمحطتهوش
وربنا معانا بقى
عدل سابقا من قبل angel في الثلاثاء 2 فبراير 2010 - 4:23 عدل 2 مرات