Marked as 'AdvertsingProfitControl' but located in a 'projects' folder. Added a new 'Add Record' form with a completely neww interface. This is the start of the final look of the the form that'd allow the user to add, update and remove records.

This commit is contained in:
2021-01-28 20:00:16 -06:00
parent 75061c9d51
commit 21eaae4d67
21 changed files with 1613 additions and 9813 deletions
+6 -7
View File
@@ -50,7 +50,7 @@ namespace AdvertsingProfitControl
writer.RenderBeginTag(HtmlTextWriterTag.Head);
writer.AddAttribute(HtmlTextWriterAttribute.Type, "text/css");
writer.RenderBeginTag(HtmlTextWriterTag.Style);
writer.Write("td{margins:0px; padding:0; border:1px solid black; text-align:left} table{table-layout:fixed;} td{ width: 1px; white-space:nowrap; }");
writer.Write("td{margins:0px; padding:0; border:1px solid black; text-align:left}");
writer.RenderEndTag();//style
writer.RenderEndTag();//Head
writer.RenderBeginTag(HtmlTextWriterTag.Body);
@@ -63,16 +63,15 @@ namespace AdvertsingProfitControl
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("<center>Weekly Inventory Control</center>");
writer.RenderEndTag();//td
//New row for Name & Location
writer.RenderEndTag();//tr (header row)
writer.RenderBeginTag(HtmlTextWriterTag.Tr);
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "5");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; text-align:left"); //; width:560px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; text-align:left; width:560px");
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Name & Location");
writer.RenderEndTag();//td
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "3");
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none"); //; width:240px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "border:none; width:240px");
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Week Ending <u>" + CleanDate(databaseReader.RetrieveDateStringById(dateId, databaseTracker.DatabaseConnectionString)) + "</u>");
writer.RenderEndTag();//td
@@ -95,12 +94,12 @@ namespace AdvertsingProfitControl
//Begin rendering the description row and the Sunday row in the sales table.
writer.RenderBeginTag(HtmlTextWriterTag.Tr);
//Date td
writer.AddAttribute(HtmlTextWriterAttribute.Style, "text-align:center"); //; width:100px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "text-align:center; width:100px"); //; width:100px
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Date");
writer.RenderEndTag();//td
//Supplier and invoices td
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center"); //width:250px;
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center; width:250px"); //width:250px;
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Suppliers and Invoice Number");
writer.RenderEndTag();//td
@@ -110,7 +109,7 @@ namespace AdvertsingProfitControl
writer.Write("Net Amount of Invoices At Cost");
writer.RenderEndTag();//td
//Net amount extended retail
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center"); //width:50px
writer.AddAttribute(HtmlTextWriterAttribute.Style, "font-size:10px; text-align:center; width:25px"); //width:50px
writer.AddAttribute(HtmlTextWriterAttribute.Colspan, "2");
writer.RenderBeginTag(HtmlTextWriterTag.Td);
writer.Write("Net Amount of <br>Invoices<br> Extended Retail");