﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Inland Empire .NET User's Group Forums / Windows Development / Windows Development - C# </title><generator>InstantForum.NET v4.1.3</generator><description>Inland Empire .NET User's Group Forums</description><link>http://forums.iedotnetug.org/forums/</link><webMaster>forums@iedotnetug.org</webMaster><lastBuildDate>Sun, 12 Oct 2008 07:23:27 GMT</lastBuildDate><ttl>20</ttl><item><title>c# abstract classes</title><link>http://forums.iedotnetug.org/forums/Topic44-15-1.aspx</link><description>I am in the process of trying to set up 2 classes for developers to derive from. One is for technical documents, and one is for non technical documents. I set up an abstract base class, and some abstract methods. In the base class methods, I set up the methods to take a parameter of cbb_doc. I was hoping that when the developer derived from the base class, they would be able to override the base method, and write thier own version for updating a technical document, as well as thier own version of how to update a non-technical &amp;#100;ocument. Unfortuanlty, during testing this thing, when I overrode the abstract base method, at design time, I was only able to set up the base cbb_doc as a parameter, and not the tech_cbb_doc. &lt;/P&gt;&lt;P&gt;This is not a good thing, because even though I can pass in a tech_cbb_doc, at design time, I only have access to the properties from the base file. &lt;/P&gt;&lt;P&gt;The overall goal is to require the developer to name his update, inactivate, and insert methods for documents in exactly the same way. I though about using interfaces, but I want to reserve the right to add some code in there myself for latter, just in case I want to do some tracking, or some updating of a data warehouse when the modification happens. I would not be able to do that if I used an interface, becasue as far as I know, you can't write any code when you declare an interface, you can only declare the method.&lt;/P&gt;&lt;P&gt;Any suggestions would be greatly appreciated. I have attached some sample code.&lt;/P&gt;&lt;P&gt;///////////////////////////abstract class////////////////////////////////////////&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Data;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Configuration;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Linq;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.Security;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.WebControls;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.WebControls.WebParts;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.HtmlControls;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Xml.Linq;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.Configuration;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;namespace&lt;/FONT&gt;&lt;FONT color=#000000&gt; intranet_main&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Default class for a CBB Document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;abstract&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;class&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;cbb_doc&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#region&lt;/FONT&gt;&lt;FONT color=#000000&gt; private_variables&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; _doc_id;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_creator;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_descrip;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_how_to;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; _mn_cat_id_num;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_title;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; _doc_restrict;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; _doc_publish;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; _doc_create_dte;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; _doc_lst_updte_dte;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#endregion&lt;/P&gt;&lt;P&gt;#region&lt;/FONT&gt;&lt;FONT color=#000000&gt; Public_properties&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; When was this document last updated&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; Doc_lst_updte_dte&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_lst_updte_dte; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;if&lt;/FONT&gt; (&lt;FONT color=#0000ff&gt;value&lt;/FONT&gt; == &lt;FONT color=#0000ff&gt;null&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_doc_lst_updte_dte = &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt;.Today;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;else&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_doc_lst_updte_dte = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the Database Generated ID number of this document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; Doc_id&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_id; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_id = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Who is the creator of this document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Doc_creator&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_creator; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_creator = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;.Trim().ToUpper(); }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Describe the document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Doc_descrip&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_descrip; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_descrip = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Give a step by step explanation of what the document is supposed to be explaining to you how to do.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Doc_how_to&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_how_to; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_how_to = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the category ID number of this document from the category table.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; mn_cat_id_num&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _mn_cat_id_num; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _mn_cat_id_num = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; what is the title of this document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Doc_title&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_title; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_title = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;.ToUpper().Trim(); }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Should this document be Management Eyes only&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; Doc_restrict&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_restrict; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_restrict = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the date this document was created&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; Doc_create_dte&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_create_dte; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; {&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;if&lt;/FONT&gt; (&lt;FONT color=#0000ff&gt;value&lt;/FONT&gt; == &lt;FONT color=#0000ff&gt;null&lt;/FONT&gt;)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_doc_create_dte = &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt;.Today;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;else&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_doc_create_dte = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Is this Document ready to be Published&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; Publish&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_publish; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_publish = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#endregion&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; default Constructor&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; cbb_doc()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//set all the variables to default values&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_create_dte = &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt;.Today;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_creator = &lt;FONT color=#a31515&gt;"System"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_descrip = &lt;FONT color=#a31515&gt;"No Description Has Been Provided for this document"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_how_to = &lt;FONT color=#a31515&gt;"No Step by Step Instructions have been provided for this document"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_lst_updte_dte = &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt;.Today;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_restrict = &lt;FONT color=#0000ff&gt;false&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_publish = &lt;FONT color=#0000ff&gt;false&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._doc_title = &lt;FONT color=#a31515&gt;"No Title has been provided for this Document"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;._mn_cat_id_num = 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Alternate Constructor for instantion from a derived class&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="create_date"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the date this document was originally created&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="Creator"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Who Created This Document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="Descrip"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Provide a Brief Description of the document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="how_to"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Provide Step by Step instructions on what this document is supposed to explain to you how to do&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="Lst_updte"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;When was this document last updated&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="restricted"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Should this document be restricted to Management only&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="pubish"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Is this document ready to be published for everyone to see, or is it for IS department and the write only&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="title"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the title of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="category_id"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the ID number of the category of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; cbb_doc(&lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; create_date, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Creator, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Descrip, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; how_to, &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; Lst_updte, &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; restricted, &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; pubish, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; title, &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; category_id)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_create_dte = create_date;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_creator = Creator;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_descrip = Descrip;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_how_to = how_to;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_lst_updte_dte = Lst_updte;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_restrict = restricted;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Publish = pubish;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_title = title;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.mn_cat_id_num = category_id;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; this class is used to establish connectivity with the database and get a list of required methods.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;abstract&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;class&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;cbb_doc_connectivity&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; conn = WebConfigurationManager.ConnectionStrings[&lt;FONT color=#a31515&gt;"cbb_conn"&lt;/FONT&gt;].ConnectionString;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Get the connection string from the config file.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; Conn&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; conn; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; cbb_doc_connectivity()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Alternative connection string can be passed in&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="connection_string"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the alternative connection string you want to use&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; cbb_doc_connectivity(&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; connection_string)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.conn = connection_string;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Implement a method that will retrieve 1 document from the db based on the ID number&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="doc_tech_id"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the ID number of the document that you want to retrieve&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;abstract&lt;/FONT&gt; System.Data.DataTable doc_get_id(&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_tech_id);&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Implement a method for retrieveing all of the documents for a specific type using the connection string from this object.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="doc_type"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What document type are you looking for. Technical or non technical&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;abstract&lt;/FONT&gt; System.Data.DataTable doc_getall(&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_type);&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;abstract&lt;/FONT&gt; Datatable doc_update(cbb_doc);&lt;/P&gt;&lt;P&gt;/////////////////////////////////////abstract class ///////////////////////////////////////////////&lt;/P&gt;&lt;P&gt;///////////////////////////derived class//////////////////////////////////////////////////////////&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Data;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Configuration;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Linq;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.Security;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.WebControls;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.WebControls.WebParts;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Web.UI.HtmlControls;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Xml.Linq;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Data.SqlClient;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;using&lt;/FONT&gt;&lt;FONT color=#000000&gt; System.Collections.Generic;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;namespace&lt;/FONT&gt;&lt;FONT color=#000000&gt; intranet_main&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; This is the class for a technical document detail&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;class&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;doc_tech_det&lt;/FONT&gt; : cbb_doc&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;# region&lt;/FONT&gt;&lt;FONT color=#000000&gt; Private variables&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; _uzr_id_num = 1;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_rel_req = &lt;FONT color=#a31515&gt;"No Related Requirements Provided at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_gl_n_cntxt = &lt;FONT color=#a31515&gt;"No goal in context Provided at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_pre_con = &lt;FONT color=#a31515&gt;"No Pre-Existing Conditions Provided at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_suc_end_con = &lt;FONT color=#a31515&gt;"No Succesful end condition has been identified at this time."&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_fail_end_con = &lt;FONT color=#a31515&gt;"No failed end condition has been identified at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_prime_act = &lt;FONT color=#a31515&gt;"No Primary Actors identified at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;private&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; _doc_tech_sec_act = &lt;FONT color=#a31515&gt;"No Secondary Actors Identified at this time"&lt;/FONT&gt;;&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#endregion&lt;/P&gt;&lt;P&gt;#region&lt;/FONT&gt;&lt;FONT color=#000000&gt; Properties for private variables in this class&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the ID number of the User who is making this entry??&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; uzr_id_num&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _uzr_id_num; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;if&lt;/FONT&gt; (&lt;FONT color=#0000ff&gt;value&lt;/FONT&gt; &amp;lt;= 0)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_uzr_id_num = 1;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;else&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;_uzr_id_num = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What are the related requirments for the use of this procedure.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_rel_req&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_rel_req; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_rel_req = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the goal of the procedure defined within the context of the document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_gl_n_cntxt&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_gl_n_cntxt; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_gl_n_cntxt = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What pre-Existing conditions need to be in place before this document can be applied.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_pre_con&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_pre_con; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_pre_con = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; How can you tell if this procedure was succesful???&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_suc_end_con&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_suc_end_con; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_suc_end_con = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; how can you tell if this procedure has failed???&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_fail_end_con&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_fail_end_con; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_fail_end_con = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Who will be the primary users of this procedure&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_prime_act&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_prime_act; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_prime_act = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Who will be the secondary users of this procedure&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_sec_act&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; _doc_tech_sec_act; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { _doc_tech_sec_act = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#endregion&lt;/P&gt;&lt;P&gt;#region&lt;/FONT&gt;&lt;FONT color=#000000&gt; Properties from base class&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//unfortunatly in order for this class to be usable by the object data source, the public fields of this class have to be the same name as the fields in the table. For that reason, I am re-naming some of the properties from the base class&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Last day this was updated&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; doc_tech_dte&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; Doc_lst_updte_dte; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_lst_updte_dte = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; The ID number of this document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_tech_id&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; Doc_id; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_id = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Who is the author of this document??&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_creator&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; Doc_creator; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_creator = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Provide a brief summary of what this document is about.&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_descrip&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; Doc_descrip; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_descrip = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the Main Flow of this Document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_mn_flow&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; Doc_how_to; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_how_to = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Should this Technical document be Published or is it for IS/Author eyes only??&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; doc_tech_publish&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Publish; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Publish = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the Title of this Document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doc_tech_title&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_title; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_title = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Should this document be restricted For Managers eyes only&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; doc_tech_restrict&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_restrict; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { Doc_restrict = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; When was this Technical document created&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; doc_tech_create_dte&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;get&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_create_dte; }&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;set&lt;/FONT&gt; { &lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Doc_create_dte = &lt;FONT color=#0000ff&gt;value&lt;/FONT&gt;; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;FONT color=#0000ff&gt;&lt;P&gt;#endregion&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Default Constructor, only used by object data source&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; doc_tech_det()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//nothing to be done, everything is set to defaults in the base, as well as in this derived class&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Instantiate your object by setting these variables explicitly&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="createdate"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the original create date of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="creator"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Who is the author of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="descrip"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Provide a brief description for this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="stepby"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Give a detailed step by step of how to perform the procedure&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="lstupdate"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;when was this document last updated&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="restricted"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Shoudl this document be restricted to Managment eyes only&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="publish"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;Should this document be published to the general public, or for IS/Author eyes only&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="doctitle"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the title of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="catid"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt; What is the category of this document&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; doc_tech_det(&lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; createdate, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; creator, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; descrip, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; stepby, &lt;FONT color=#2b91af&gt;DateTime&lt;/FONT&gt; lstupdate, &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; restricted, &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; publish, &lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; doctitle, &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; catid) :&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;base&lt;/FONT&gt;(createdate, creator, descrip, stepby, lstupdate, restricted, publish, doctitle, catid)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;class&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;doc_tech_dac&lt;/FONT&gt; : cbb_doc_connectivity&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; doc_tech_dac()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; inactivate_document(doc_tech_det document)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; affected_records;&lt;/P&gt;&lt;P&gt;SqlConnection conn = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlConnection(&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Conn);&lt;/P&gt;&lt;P&gt;SqlCommand cmd = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlCommand(&lt;FONT color=#a31515&gt;"doc_tech_del"&lt;/FONT&gt;, conn);&lt;/P&gt;&lt;P&gt;cmd.CommandType = CommandType.StoredProcedure;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_id;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//running&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;try&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Open();&lt;/P&gt;&lt;P&gt;affected_records= cmd.ExecuteNonQuery();&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; affected_records;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;catch&lt;/FONT&gt;(SqlException ex)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;throw&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;ApplicationException&lt;/FONT&gt;(ex.Message.ToString());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;finally&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Close();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; update_document(doc_tech_det document)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;SqlConnection conn = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlConnection(&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Conn);&lt;/P&gt;&lt;P&gt;SqlCommand cmd = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlCommand(&lt;FONT color=#a31515&gt;"doc_tech_updte"&lt;/FONT&gt;, conn);&lt;/P&gt;&lt;P&gt;cmd.CommandType = CommandType.StoredProcedure;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//adding all of the parameters I need to do the updates&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_id;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_creator"&lt;/FONT&gt;, SqlDbType.Char, 30));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_creator"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_creator;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_create_dte"&lt;/FONT&gt;, SqlDbType.VarChar, 50));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_create_dte"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_create_dte;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@uzr_id_num"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@uzr_id_num"&lt;/FONT&gt;].Value = &amp;#100;ocument.uzr_id_num;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_descrip"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_descrip"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_descrip;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_rel_req"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_rel_req"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_rel_req;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_gl_n_cntxt"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_gl_n_cntxt"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_gl_n_cntxt;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_pre_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_pre_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_pre_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_suc_end_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_suc_end_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_suc_end_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_fail_end_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_fail_end_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_fail_end_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_prime_act"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_prime_act"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_prime_act;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_sec_act"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_sec_act"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_sec_act;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_mn_flow"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_mn_flow"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_mn_flow;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_publish"&lt;/FONT&gt;, SqlDbType.Bit));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_publish"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_publish;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_restrict"&lt;/FONT&gt;, SqlDbType.Bit));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_restrict"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_restrict;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_dte"&lt;/FONT&gt;, SqlDbType.VarChar, 50));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_dte"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_dte;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@mn_cat_id_num"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@mn_cat_id_num"&lt;/FONT&gt;].Value = &amp;#100;ocument.mn_cat_id_num;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_title"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_title"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_title;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//running&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;try&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Open();&lt;/P&gt;&lt;P&gt;cmd.ExecuteNonQuery();&lt;/P&gt;&lt;P&gt;updated = &lt;FONT color=#0000ff&gt;true&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;catch&lt;/FONT&gt; (SqlException e)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; err = e.Message;&lt;/P&gt;&lt;P&gt;updated = &lt;FONT color=#0000ff&gt;false&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;finally&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Close();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;override&lt;/FONT&gt; DataTable doc_get_id(&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_tech_id)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//need to coe this, this procedure takes a parameter&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;SqlConnection conn = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlConnection(&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Conn);&lt;/P&gt;&lt;P&gt;SqlCommand cmd = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlCommand(&lt;FONT color=#a31515&gt;"doc_tech_get_id"&lt;/FONT&gt;, conn);&lt;/P&gt;&lt;P&gt;cmd.CommandType = CommandType.StoredProcedure;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;].Value = doc_tech_id;&lt;/P&gt;&lt;P&gt;SqlDataAdapter da = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlDataAdapter();&lt;/P&gt;&lt;P&gt;da.SelectCommand = cmd;&lt;/P&gt;&lt;P&gt;DataSet ds = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; DataSet();&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;try&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Open();&lt;/P&gt;&lt;P&gt;da.Fill(ds, &lt;FONT color=#a31515&gt;"doc_tech_item"&lt;/FONT&gt;);&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; ds.Tables[&lt;FONT color=#a31515&gt;"doc_tech_item"&lt;/FONT&gt;];&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;catch&lt;/FONT&gt;(System.&lt;FONT color=#2b91af&gt;Exception&lt;/FONT&gt; ex)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;throw&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;ApplicationException&lt;/FONT&gt;(ex.Message.ToString());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;override&lt;/FONT&gt; DataTable doc_getall(&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_type)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;throw&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;NotImplementedException&lt;/FONT&gt;();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; This method updates all items in the db for a particular technical document&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; insrt_document(doc_tech_det document)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;SqlConnection conn = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlConnection(&lt;FONT color=#0000ff&gt;this&lt;/FONT&gt;.Conn);&lt;/P&gt;&lt;P&gt;SqlCommand cmd = &lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlCommand(&lt;FONT color=#a31515&gt;"[doc_tech_insrt_record]"&lt;/FONT&gt;, conn);&lt;/P&gt;&lt;P&gt;cmd.CommandType = CommandType.StoredProcedure;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//adding all of the parameters I need to do the updates&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_id"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_id;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_creator"&lt;/FONT&gt;, SqlDbType.Char, 30));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_creator"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_creator;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_create_dte"&lt;/FONT&gt;, SqlDbType.VarChar, 50));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_create_dte"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_create_dte;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@uzr_id_num"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@uzr_id_num"&lt;/FONT&gt;].Value = &amp;#100;ocument.uzr_id_num;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_descrip"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_descrip"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_descrip;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_rel_req"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_rel_req"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_rel_req;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_gl_n_cntxt"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_gl_n_cntxt"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_gl_n_cntxt;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_pre_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_pre_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_pre_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_suc_end_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_suc_end_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_suc_end_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_fail_end_con"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_fail_end_con"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_fail_end_con;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_prime_act"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_prime_act"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_prime_act;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_sec_act"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_sec_act"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_sec_act;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_mn_flow"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_mn_flow"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_mn_flow;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_publish"&lt;/FONT&gt;, SqlDbType.Bit));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_publish"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_publish;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_restrict"&lt;/FONT&gt;, SqlDbType.Bit));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_restrict"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_restrict;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_dte"&lt;/FONT&gt;, SqlDbType.VarChar, 50));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_dte"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_dte;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@mn_cat_id_num"&lt;/FONT&gt;, SqlDbType.Int));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@mn_cat_id_num"&lt;/FONT&gt;].Value = &amp;#100;ocument.mn_cat_id_num;&lt;/P&gt;&lt;P&gt;cmd.Parameters.Add(&lt;FONT color=#0000ff&gt;new&lt;/FONT&gt; SqlParameter(&lt;FONT color=#a31515&gt;"@doc_tech_title"&lt;/FONT&gt;, SqlDbType.NText));&lt;/P&gt;&lt;P&gt;cmd.Parameters[&lt;FONT color=#a31515&gt;"@doc_tech_title"&lt;/FONT&gt;].Value = &amp;#100;ocument.doc_tech_title;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;bool&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#008000&gt;//running&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;try&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Open();&lt;/P&gt;&lt;P&gt;cmd.ExecuteNonQuery();&lt;/P&gt;&lt;P&gt;updated = &lt;FONT color=#0000ff&gt;true&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;catch&lt;/FONT&gt; (&lt;FONT color=#2b91af&gt;Exception&lt;/FONT&gt; e)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;string&lt;/FONT&gt; err = e.Message;&lt;/P&gt;&lt;P&gt;updated = &lt;FONT color=#0000ff&gt;false&lt;/FONT&gt;;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;return&lt;/FONT&gt; updated;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;finally&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;conn.Close();&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; Get all of the technical documents in a particular category&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; This will return a datatable&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/summary&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;param name="doc_tech_cat"&amp;gt;&lt;/FONT&gt;&lt;FONT color=#008000&gt;What is the category number you are looking for&lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;/param&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#808080&gt;///&lt;/FONT&gt;&lt;FONT color=#008000&gt; &lt;/FONT&gt;&lt;FONT color=#808080&gt;&amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;&lt;FONT color=#0000ff&gt;public&lt;/FONT&gt; &lt;FONT color=#2b91af&gt;List&lt;/FONT&gt;&amp;lt;babystruct2&amp;gt; doc_tech_get_all_n_cat(&lt;FONT color=#0000ff&gt;int&lt;/FONT&gt; doc_tech_cat)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;//////////////////////////////////Derived class ////////////////////////////////////////////////</description><pubDate>Fri, 05 Oct 2007 09:01:54 GMT</pubDate><dc:creator>ppearson3000</dc:creator></item></channel></rss>