944,092 Members | Top Members by Rank

Ad:
  • C# Discussion Thread
  • Unsolved
  • Views: 657
  • C# RSS
You are currently viewing page 1 of this multi-page discussion thread
Nov 1st, 2009
0

hi..

Expand Post »
i need some sample code on retrieving data from the database and put it in the form particulary in the groupbox..

we are doing a project study, text to voice translator..

when the user enter the word in the textbox and clicks the speak button, the english equivalent word of the input word is displayed in the groupbox...

how is it?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009
Nov 1st, 2009
0
Re: hi..
What do you mean by groupbox here?
A groupbox control is meant to group other controls, most of the time radiobuttons.
Reputation Points: 2035
Solved Threads: 645
Senior Poster
ddanbe is offline Offline
3,740 posts
since Oct 2008
Nov 1st, 2009
0
Re: hi..
yah..that one...i am going to put there the english equivalent of the input word text...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009
Nov 2nd, 2009
0
Re: hi..
Are you sure you mean GroupBox? Other than serving to group other controls (encompass, contain), and especially RadioButtons as ddanbe pointed out, I don't know how you would use a GroupBox the way you describe. Changing the GroupBox.Text is easy though: groupBox1.Text = "My GroupBox Text...";

As far as the database retrieval, more info is needed to direct you on how to do that, like: type of database (Access, Sql Server, SQLite, etc...); method of retrieval (SELECT *... or scaler query with WHERE condition, etc...). The basics steps for querying DB are:

1) Establish connection
2) Create a command
3) Execute command

but, there are specific classes for interfacing that functionality depending on the DB and type of query. You will find many examples of such data retrieval inside this forum.
Reputation Points: 341
Solved Threads: 233
Posting Shark
DdoubleD is offline Offline
984 posts
since Jul 2009
Nov 2nd, 2009
0
Re: hi..
ahmm okay..
but about the groupox...
my leader gave us the screenshot of our project that's why i am keep on mentioning that the english equivalent word of the other word that the user entered in the textbox will be displayed in the groupbox..the english word will be obtained in the database that was created...is it not possible?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009
Nov 2nd, 2009
0
Re: hi..
Click to Expand / Collapse  Quote originally posted by jejannah ...
ahmm okay..
but about the groupox...
my leader gave us the screenshot of our project that's why i am keep on mentioning that the english equivalent word of the other word that the user entered in the textbox will be displayed in the groupbox..the english word will be obtained in the database that was created...is it not possible?
Possible?--don't know what the screenshot looks like, but probably anything possible.... Can you attach the screenshot so we can see what you are talking about?
Reputation Points: 341
Solved Threads: 233
Posting Shark
DdoubleD is offline Offline
984 posts
since Jul 2009
Nov 2nd, 2009
0
Re: hi..
Click to Expand / Collapse  Quote originally posted by DdoubleD ...
Possible?--don't know what the screenshot looks like, but probably anything possible.... Can you attach the screenshot so we can see what you are talking about?
sorry, but how can i attach it?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009
Nov 2nd, 2009
0
Re: hi..
When you reply, click advanced and scroll down. You will notice a button Manage Attachements click on on it, click on Browse to select your picture, then click on the upload button.
Fill in your reply and click the Submit Reply button.
Reputation Points: 2035
Solved Threads: 645
Senior Poster
ddanbe is offline Offline
3,740 posts
since Oct 2008
Nov 2nd, 2009
0
Re: hi..
ok thanks...

here it is..
Attached Thumbnails
Click image for larger version

Name:	screenshot.JPG
Views:	29
Size:	13.4 KB
ID:	12427  
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009
Nov 2nd, 2009
0
Re: hi..
the user will enter a word in the textbox particularly Tagalog word for example 'aso' then, when he clicks the speak button the software will give the spoken form of the word then the english equivalent word will be displayed in the groupbox as 'aso-dog',something like that....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jejannah is offline Offline
8 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C# Forum Timeline: [ASK] C# Namespace Problem
Next Thread in C# Forum Timeline: What is designer.cs?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC