Posts by Rodrigo Teixeira • 11 points
2 posts
- 
		0 votes2 answers3772 viewsA: Gridview Get Textbox Valueprotected void GridView1_RowUpdating(object sender, GridViewUpdateEventArgs e) { e.NewValues["email"]=((TextBox)((GridView)sender).Rows[e.RowIndex].Cells[0].FindControl("MeuTextBox")).Text; } this… 
- 
		1 votes1 answer158 viewsA: Empty variable by foreachThis code snippet can help you: foreach (XmlElement element in elements) { string productCode = element.GetAttribute("productCode"); int quantitySold = Int32.Parse(element.GetAttribute("quantity"));…