Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(Request.QueryString["ID"]);

            txtID.Text    = id.ToString();
            txtID.Enabled = false;
            if (Page.IsPostBack == false)
            {
                DataSet1TableAdapters.HOBILERTableAdapter dt = new DataSet1TableAdapters.HOBILERTableAdapter();
                txtHobi.Text = dt.HobiGetir(Convert.ToInt32(id))[0].Hobi;
            }
        }