使用c#语法从Microsoft Access数据库打印数据 [英] Printing data from Microsoft access database using c# syntax

查看:112
本文介绍了使用c#语法从Microsoft Access数据库打印数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为移动商店开发了一个用于维护销售记录的Windows应用程序...但是我仍然坚持打印来自访问数据库的数据以进行收据打印,因为我不知道打印plse任何人都可以帮助我给出一个基本的想法,打印我收据所需的格式。如果我使用点阵,我需要一个基础...





I have developed a windows application for a mobile shop for maintaining sales record ...but i am stuck at the point to print the data from the access database for receipt printing as i have no idea of printing plse can anyone help me give a basic idea of printing the required format for my receipt.I need a base it would be good if i use dot matrix...


                                 PROYOJONI COMMERCIAL
                           U K Dutta Sarani (Near BATA)
                            Shillongpatty, Silchar, Assam
                       Contact No : 03842 - 264081 / 264081
                         Mobile : 09707018060 / 8876518060
                           Website : www.projojini.com
                                    CASH BILL
   Name : SANJIT
 Address : Silchar
                                                                           Date : 09/03/2013
                                      RETAIL INVOICE
                                                                              BILL No : 1013
--------------------------------------------------------------------------------------------------------------------------------
          Particulars         EMEI No.            Battery No.      Charger No.        Amount.
--------------------------------------------------------------------------------------------------------------------------------
           NOKIA 2690       1234567892251           123456            123456           7125
                                                                           VAT @ 5% Rs. 375
--------------------------------------------------------------------------------------------------------------------------------
                                                                           Total Rs. : 7500
--------------------------------------------------------------------------------------------------------------------------------
                                Terms & Conditiond of Sale
    1) The Customer has Satisfied himself by the quantity and quality of good supplied through
    this invoice. Our responsibility creases upon delivery of the same from the shop.
    2) Good once sold will not be taken back or exchanged
    3) All disputes are subject to Silchar Jurisdiction only.
    4) The Warranty / Guarantee is given by the company and not by PROYOJONI Commercials.
                                       
                                        E.&.O.E
  I / We hereby confirm that my / registration certificate under the Assam VAT, 2003 in force
  on the date on which the sale of the goods specified in this retail invoice is made be me / us
  and that the transactions of the sale covered by this retail invoice has been effected by me /     us.
                                                                               Signature

推荐答案

如果你想在C#中这样做,那么先看看使用PrintDocument Class [ ^ ] - 该链接包含一个示例。
If you want to do it in C#, then start by looking at using the PrintDocument Class[^] - the link includes an example.


这篇关于使用c#语法从Microsoft Access数据库打印数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆