Using system; using system.data.sqlclient; using system.data.oledb; using system.timers; using system.collections; using system.collections.specialize;
using System.IO; using System.Web; using System.Web.UI; using System.Web.Caching; using System.Configuration; using System.Text; using System.Text.RegularExpressions; using System.Web.UI.WebControls;
= {;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; *************************** // * // * // * // ************ ********************************************* Public MyForm (String Sqlstring) {MyTable = mydb.getTable (SQLString) }
// ***************************************************** / / * // * //// *************************************************** ******* PUBLIC STRING BIND (String Field_Name) {if (Field_Name == Null) Return "Error: File: MyForm.cs"; else {if (MyTable.Rows [0] [field_name] == dbnull. Value) Return ""; Else Return myTable.Rows [0] [Field_Name] .tostring ();}}
} //}