public static string Busca(SqlConnection con) { XFormRecercaConstructor frm = new XFormRecercaConstructor(con, "ARTICLE", "article_id", "referencia,descripcio"); frm.AfegeixTitol("Articles"); return(frm.Busca()); }
public static string Busca(SqlConnection con) { XFormRecercaConstructor frm = new XFormRecercaConstructor(con, "AGENDA", "agenda_id", "nom_comercial,nom_fiscal"); frm.AfegeixTitol("Agenda"); frm.AfegeixSQL(SQL); return(frm.Busca()); }
public static void Mostra(SqlConnection con) { XFormRecercaConstructor frm = new XFormRecercaConstructor(con, "ARTICLE", "article_id", "referencia,descripcio"); frm.AfegeixTitol("Articles"); frm.AfegeixFitxa(typeof(ArticleFitxa)); frm.Mostra(); }
public static void Mostra(SqlConnection con) { XFormRecercaConstructor frm = new XFormRecercaConstructor(con, "AGENDA", "agenda_id", "nom_comercial,nom_fiscal"); frm.AfegeixTitol("Agenda"); frm.AfegeixFitxa(typeof(AgendaFitxa)); frm.AfegeixSQL(SQL); frm.Mostra(); }