Talha Hüner
Asp Veri 2
{
OleDbConnection baglan =
baglan.Open();
OleDbCommand komut =
OleDbDataReader oku;
oku = komut.ExecuteReader();
{
{
Response.Redirect(
x = 1;
}
protected void Button1_Click(object sender, EventArgs e)new OleDbConnection("Provider=Microsoft.Jet.Oledb.4.0;Data Source=" + Server.MapPath("App_Datavt.mdb"));new OleDbCommand("Select *From Tablo1",baglan);int x = 0;while(oku.Read())if (oku["kul_adi"].ToString () == TextBox1.Text && oku["sifre"].ToString () == TextBox2.Text)"s1.aspx");else
{
//Response.Redirect("s2.aspx");
x = 0;
}
}
baglan.Close();
}
if (x == 0) Label1.Visible = true;Bugün 5 ziyaretçi (16 klik) kişi burdaydı!