.net的一个很经典很普通的实例

源代码在线查看: logon.aspx

软件大小: 4514 K
上传用户: heyuyutu
关键词: net
下载地址: 免注册下载 普通下载 VIP

相关代码

				
				
				
				
				
				
				
				
				
				    MovieShow--用户登录
				
				
				function logon()
				{
				   if(document.getElementById("TextBox1").value=="")
				     alert("请输入用户名...!");
				   else if(document.getElementById("TextBox2").value=="")
				     alert("请输入用户密码...!");
				    else
				    {
				      var txt1=document.getElementById("TextBox1").value;
				      var txt2=document.getElementById("TextBox2").value;
				      var context=document.getElementById("Label2");
				      var arg="confirm|"+txt1+"|"+txt2;
				      context.innerHTML= "Loading...";
				      
				    }
				}
				function ReceiveServerData(result,context)
				{
				 context.innerHTML=result;
				    if(result=="登录成功!")
				   { 
				     
				     window.location.reload("Default.aspx");
				   }  
				 
				}
				function login()
				{
				   if(document.getElementById("TextBox1").value=="")
				     alert("请输入用户名...!");
				   else if(document.getElementById("TextBox2").value=="")
				     alert("请输入用户密码...!");
				    else
				    {
				      var txt1=document.getElementById("TextBox1").value;
				      var txt2=document.getElementById("TextBox2").value;
				      var context=document.getElementById("Label2");
				      var arg="confirm|"+txt1+"|"+txt2;
				      context.innerHTML= "Loading......";
				      
				    }
				}
				function ReceiveServerData1(result,context)
				{
				 context.innerHTML=result;
				    if(result=="登录成功!")
				   { 
				    
				     window.location.reload("admin/admin.aspx");
				   }  
				 
				}
				
				
				    
				
				       
				  
				    
				    
				    
				    
				  
				
				    
				        				            height: 452px">
				            				                Style="z-index: 100; left: 444px; position: absolute; top: 134px" />
				            				                left: 256px; position: absolute; top: 288px" OnClick="ImageButton2_Click" />
				            				                left: 392px; position: absolute; top: 288px" />
				            				                top: 142px" Width="166px">
				            				                top: 182px" Width="166px" TextMode="Password">
				            				                left: 212px; position: absolute; top: 236px" Text="保存cookie时间:">
				            				                GroupName="1" OnCheckedChanged="RadioButton1_CheckedChanged" Style="z-index: 106;
				                left: 416px; position: absolute; top: 232px" Text="一个月" Font-Bold="True" />
				            				                GroupName="1" Style="z-index: 107; left: 368px; position: absolute; top: 232px"
				                Text="一天" Font-Bold="True" />
				            				                GroupName="1" Style="z-index: 108; left: 476px; position: absolute; top: 232px"
				                Text="一年" Font-Bold="True" />
				            				                GroupName="1" Style="z-index: 109; left: 308px; position: absolute; top: 232px"
				                Text="2小时" Font-Bold="True" />
				            				                left: 308px; position: absolute; top: 428px" Width="236px">
				        
				        				            height: 168px">
				        
				    
				    
				        				            height: 72px">
				              
				    
				    
				    
				    
				  
				        
				
				
				    
				
				
							

相关资源