protected void SetTextbox_Test(object sender, EventArgs e) { ConnectDatabase conn = new ConnectDatabase(); string Item = conn.GetStock().ToUpper(); StockItemTest.Text = Item; }