Click here to Skip to main content
16,022,667 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello all
i have a 1 table in this i were store the all the inward and outward documents. and in this i have the i field Transaction Type means (inward/outward)but i want to access only inward document in DataGridView. how can i access the only inward or outward documents plz tell me code. i m confused. plz some body help me. plz.
the following are the field in my TransactionMaster Table.

TransactionId
CreateFor
CreateBy
Subject
Message
DocNumber
AttachmentPath
AttachmentType
TransactionType
CreatedDate
ToBeReplyDate
RepliedDate
NumberOfReminders
Status
Posted

1 solution

If you don't know how to do this, then I assume this is unpaid homework, because the answer really is as basic as it gets. You write SQL that selects only the values you want to see, such as

select * from mytable where transansactiontype = x

You should talk to your teacher if you have one, admit to the person paying you that you can't do this work if you're being paid, or choose a more basic task if you're trying to teach yourself.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900