I learned .NET via the compulsory texts and resources. Almost all of them spend all of their time using rich data controls to display and work with data. I'm in a job situation now where this is being discouraged. Could someone provide some examples or suggest some resources for doing it in a less "lazy" way? I think the reason for this transition is because we will be going MVC down the road. Still writing with web forms however. Thanks all.
Addicted to Rich Data Controls
391 Views Asked by John Kinane At
3
There are 3 best solutions below
1

Just get familiar with HTML, CSS, javascript and jQuery, they should be all you need to develop websites where you have the most control on what's being rendered and how it's being rendered.
P.S.: I use .NET MVC for web development at my current job
0

This is a more complete working solution.
ProcPanel.Controls.Add(new LiteralControl("<table><tr>"));
DataSet lblSet = getBlendInfo.GetProcessLabels(Equip_ID);
StringBuilder tblString = new StringBuilder("");
foreach (DataRow dRow in lblSet.Tables[0].Rows)
{
tblString.Append("<td>");
tblString.Append(dRow["Input_Column_Caption"].ToString());
tblString.Append("</td>");
}
ProcPanel.Controls.Add(new LiteralControl(tblString.ToString()));
ProcPanel.Controls.Add(new LiteralControl("</tr></table>"));
My boss showed me what I was looking for.
Code behind
Why do it this way instead of using Gridview or others? Less abstraction, lighter load.
Thanks all.