WRG_source.zip
WordReportGenerator
bin
Debug
Interop.Microsoft.Office.Core.dll
Interop.Word.dll
SqlWrapper.dll
WRG.exe
WRG.xslt.dll
Properties
Settings.settings
|
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Data;
using Shchurov.SqlWrapper;
namespace WordReportGenerator
{
public abstract class DM : SqlWrapperBase
{
[SWCommand("select * from kpd_wordreports where (isnull(@oid,0)=0 or oid=@oid )")]
public abstract DataTable SelectWordreports(int oid);
[SWCommand(SWCommandType.InsertUpdate, "kpd_wordreports")]
public abstract void InsertUpdateWordreports(
[SWParameter(SWParameterType.Identity, Size = 4, SqlDbType = SqlDbType.Int)]ref int oid,
[SWParameter(SqlDbType = SqlDbType.Int)]object isupdate,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string sql,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string title,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string wml,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string xmlalias,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string xmlfilename,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string xmlns,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string xsd,
[SWParameter(SqlDbType = SqlDbType.VarChar)]string xslt);
[SWCommand("delete from kpd_wordreports where oid=@oid")]
public abstract void DeleteWordreports(int oid);
}
}
|
By viewing downloads associated with this article you agree to the Terms of use and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have Master degree in Particle Physics. During my last several years I work as software developer.
Primary Interests
- c#, c++, php, java.
- scientific programming