تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[سؤال] كيف اعطي باراميترات لصفحة ثانية
#2
تم ايجاد الطريقة :
كود :
private void btnSubmit_Click(object sender, System.EventArgs e)
{
Response.Redirect("Page2.aspx?Name=" +
this.txtName.Text + "&LastName=" +
this.txtLastName.Text);
}

في الصفحة الثانية :
كود :
private void Page_Load(object sender, System.EventArgs e)
{
this.txtBox1.Text = Request.QueryString["Name"];
this.txtBox2.Text = Request.QueryString["LastName"];
}
الرد }}}
تم الشكر بواسطة:


الردود في هذا الموضوع
RE: [سؤال] كيف اعطي باراميترات لصفحة ثانية - بواسطة tariq aldwire - 23-04-14, 03:36 PM


التنقل السريع :


يقوم بقرائة الموضوع: