Form view
How to bind form view through table?
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Saineshwar BageriRank #115 · 19.6K reputationPosted Apr 19, 2015, 9:01 PM EDT
http://dotnet-sai.blogspot.in/p/all-gridview-example.html
Khargesh RajputRank #616 · 3.9K reputationPosted Apr 19, 2015, 9:04 PM EDT
Name
Age
<%# Eval("Name")%>
<%# Eval("Age")%>
protected void Page_Load(object sender, EventArgs e)
{
DataTable dt = new DataTable();
dt.Columns.Add("Name");
dt.Columns.Add("Age");
DataRow dr = dt.NewRow();
dr.ItemArray = new Object[] { "A", "10" };
dt.Rows.Add(dr);
dr = dt.NewRow();
dr.ItemArray = new Object[] { "B", "20" };
dt.Rows.Add(dr);
this.FormView1.DataSource = dt;
this.FormView1.DataBind();
}
http://www.aspnettutorials.com/tutorials/database/formviewdata-csharp/
http://www.dotnetfunda.com/tutorials/controls/formview.aspx