using System;
using System.Data ;
//using System.Data.SqlClient ;
using System.Data.OleDb ;
using System.Timers;
using System.Collections;
using System.Collections.Specialized;
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;
//namespace zqfk.Controls
//{
public class MYFORM
{
private DataTable mytable;
//public DataTable mytable=new DataTable() ;
//***********************************************
//*
//*
//*
//***********************************************
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();
}
}
}
//}