473,409 Members | 1,967 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

Need to print receipts

I'm using visual studio 2008 with a windows based project written in C# with sql server as backend; My database stores items with their respective details.
I'ved created a very basic and simple form with a binding source and navigator and a datagrid.
Basically the customer buys items. I have a specific item number for all items. I would like a comboBox to be inside of the datagrid so that when i choose an item number, some fields display on the datagrid with things such as price and quantity. For now the table shows all items, all data. I want it so that when the form loads...it only displays the item chosen on the comboBox.
This is my main problem right now, I'ved looked through many examples but none look quite like what i want. If u have any input or think there's an easier way to do it I'll be most appreciative.
But the main issue as my topic states is that i need to print receipts, What i have done in the past is send information to an excel sheet and print it from there, but i'd really like to know how to print a snapshot using C# because i have seen many examples using vb.

Thanks in advance
Jun 10 '08 #1
3 1617
r035198x
13,262 8TB
Most people would use some reporting tools for that (e.g Crystal reports)
Jun 11 '08 #2
Most people would use some reporting tools for that (e.g Crystal reports)
Hey, I managed to make a print button and displays the print box succesfully. I also figure that I don't need the comboBox inside the datagrid for the values to change. I still need some advice on how to add a new comboBox by clicking add new on the binding navigator since when i click add new i only get a new row on the datagrid but not a new comboBox.

Thanks in advance!
Jun 11 '08 #3
Well I see in column properties for the datagrid there's the option to make a cell a comboBox so that solves my problem. Thanks, will see if I run into more issues later.
Jun 11 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Greg Sedeo | last post by:
How can I log read receipts? Is it possible to insert or grab an existing message ID (from the header etc), log it into my DB, than once the read receipt is sent from the clients machine, pull...
3
by: PW | last post by:
I'm using the windows.print() function to print a customers receipts from an ASP. I've created a button to do it, like this ... <td align=left> <BUTTON TYPE=BUTTON...
0
by: Peter | last post by:
My client has retail shops. All these shops will access retail application through Internet. So sales receipts will be generated from web/application server and send across Internet to shops. ...
9
by: David Allison | last post by:
cmdButton to Print 3 copies of record in Form view ? cmdButton will print 1 but I need 3 copies of the one Form record. -- Dave Allison
5
by: Bob Weisenburger | last post by:
I have a table of "memos". each record in that table has a primary key "memo ID" that is autonumber. I have another table that is "memo receipts" with each record having a "receipt id" field that...
2
by: Gregory Piñero | last post by:
Hi Guys, Does anyone know how to program a Python script to send out emails with a request delivery receipt? Is it something I can build into the email message via the mime stuff? And yes, I...
1
by: Morten71 | last post by:
I'm fairly new to web services in .net/vs. I'm wondering about a few ws things: - should I create a new ws project for every ws? - how do I best ensure that only selected consumers can use a ws?...
0
by: ysblokkie | last post by:
Hi Everybody, I am busy working on a web application project that uses Active Directory Distribution groups using C#. I want to use Microsoft Outlook to send emails to the AD groups, but I have...
3
by: agrych | last post by:
hello all, I am trying to pull all of the Sales Receipts data, for a specified date range, into MS Access. So far I am unsuccessful in my attempt. Below is the code that I have so far. FYI, I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.