简易登陆界面!.NET 请高手多多指教 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient; namespace UserLogin { public partia
string Path=File1.PostedFile.FileName;// 文件名称 int Size = File1.PostedFile.ContentLength; // 文件大小 string Type = File1.PostedFile.ContentType; // 文件类型 Stream ImageStream = File1.PostedFile.InputStream; byte[] Content = new byte[Size]; int Status = I m
using (SqlConnection connection = new SqlConnection(@"server=.;database=gr;user id=sa;pwd=")) { //SqlDataAdapter sda = new SqlDataAdapter("select * from customers", connection); //DataSet ds = new D ataSet(); //sda.Fill(ds); BindingSource bindingSou
附登陆代码: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; using System.Data.SqlClient; namespace 图书馆管理信息系统 { /// /// Form1 的摘要说明。 /// pub lic class login : Syst