本文整理汇总了C#中FrontFlag.SQL.Exec方法的典型用法代码示例。如果您正苦于以下问题:C# SQL.Exec方法的具体用法?C# SQL.Exec怎么用?C# SQL.Exec使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FrontFlag.SQL
的用法示例。
在下文中一共展示了SQL.Exec方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Delete_Table
public void Delete_Table( )
{
SQL Sql = new SQL ( DBParam.Sql.Connect );
string strSql = String.Format ( "delete from {0} " , DB.Tab.基层科.社区服务信息管理_社区公益服务.TAB );
Sql.Exec ( strSql );
Sql.Close ();
}
示例2: Delete_Table
public void Delete_Table( )
{
SQL Sql = new SQL ( DBParam.Sql.Connect );
string strSql = String.Format ( "delete from {0} " , DB.Tab.福利中心.老人费用登记管理.TAB );
Sql.Exec ( strSql );
Sql.Close ();
}
示例3: Delete_Where
public bool Delete_Where( string strWhere )
{
//Not allow delete all data in table
if ( strWhere.Trim () == "" )
return false;
SQL Sql = new SQL ( DBParam.Sql.Connect );
string strSql = String.Format ( "delete from {0} where {1}" , DB.Tab.基层科.社区服务信息管理_社区公益服务.TAB , strWhere );
Sql.Exec ( strSql );
Sql.Close ();
return true;
}
示例4: Update_ByID
public void Update_ByID( string strID, string strFld, string strVal )
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "update {0} set {1}='{2}' where ID='{3}'", DB.Tab.事务科.低收入居民.TAB, strFld, strVal, strID );
Sql.Exec( strSql );
Sql.Close();
}
示例5: Delete_Table
public void Delete_Table()
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "delete from {0} ", DB.Tab.优抚科.优抚对象.在乡复员军人.生活费来源.TAB );
Sql.Exec( strSql );
Sql.Close();
}
示例6: FakeDelete_Where
public bool FakeDelete_Where( string strWhere )
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "update {0} set {1}='True' where {2}", DB.Tab.优抚科.优抚对象.在乡复员军人.生活费来源.TAB, DB.Tab.优抚科.优抚对象.在乡复员军人.生活费来源.DelFlag, strWhere );
Sql.Exec( strSql );
Sql.Close();
return true;
}
示例7: Delete_Table
public void Delete_Table()
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "delete from {0} ", DB.Tab.事务科.专项救助_意外救助.TAB );
Sql.Exec( strSql );
Sql.Close();
}
示例8: Delete_Where
public bool Delete_Where( string strWhere )
{
//Not allow delete all data in table
if ( strWhere.Trim() == "" )
return false;
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "delete from {0} where {1}", DB.Tab.优抚科.优抚对象.铀矿开采军队退役人员员子女役人员.基本信息.TAB, strWhere );
Sql.Exec( strSql );
Sql.Close();
return true;
}
示例9: Delete_Table
public void Delete_Table()
{
SQL Sql = new SQL( GL.Param.Sql.Connect );
string strSql = String.Format( "delete from {0} ", Tab.USER.TAB );
Sql.Exec( strSql );
Sql.Close();
}
示例10: Delete_Table
public void Delete_Table()
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "delete from {0} ", DB.Tab.优抚科.优抚对象.铀矿开采军队退役人员员子女役人员.基本信息.TAB );
Sql.Exec( strSql );
Sql.Close();
}
示例11: Update_ByID
public void Update_ByID( string strID, string strFld, string strVal )
{
SQL Sql = new SQL( DBParam.Sql.Connect );
string strSql = String.Format( "update {0} set {1}='{2}' where ID='{3}'", DB.Tab.优抚科.优抚对象.铀矿开采军队退役人员员子女役人员.基本信息.TAB, strFld, strVal, strID );
Sql.Exec( strSql );
Sql.Close();
}
示例12: Delete_Where
public bool Delete_Where(string strWhere)
{
//Not allow delete all data in table
if (strWhere.Trim() == "")
return false;
SQL Sql = new SQL(FF.TD.Def.ConnectStr);
string strSql = String.Format("delete from {0} where {1}", Tab.TEST_LOG.TAB, strWhere);
Sql.Exec(strSql);
Sql.Close();
return true;
}
示例13: Delete_Table
public void Delete_Table()
{
SQL Sql = new SQL(FF.TD.Def.ConnectStr);
string strSql = String.Format("delete from {0} ", Tab.TEST_LOG.TAB);
Sql.Exec(strSql);
Sql.Close();
}
示例14: Delete_ByID
public void Delete_ByID( string strID )
{
if( strID.Trim() == "" )
return;
SQL Sql = new SQL( CONNECT.SqlConnect );
string strSql = String.Format( "delete from {0} where {1}='{2}'", Tab.TAB, Tab.ID, strID );
Sql.Exec( strSql );
Sql.Close();
return;
}