| | |
hi..
Please support our C# advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2009
Posts: 8
Reputation:
Solved Threads: 0
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?
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?
•
•
Join Date: Jul 2009
Posts: 972
Reputation:
Solved Threads: 213
0
#4 Nov 2nd, 2009
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:
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.
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.
•
•
Join Date: Nov 2009
Posts: 8
Reputation:
Solved Threads: 0
0
#5 Nov 2nd, 2009
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?
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?
•
•
Join Date: Jul 2009
Posts: 972
Reputation:
Solved Threads: 213
0
#6 Nov 2nd, 2009
•
•
•
•
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?
0
#8 Nov 2nd, 2009
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.
Fill in your reply and click the Submit Reply button.
Today is a gift, that's why it is called "The Present".
Make love, no war. Cave ab homine unius libri.
Danny
Make love, no war. Cave ab homine unius libri.
Danny
![]() |
Other Threads in the C# Forum
- Previous Thread: Using Word._Application.Quit Method
- Next Thread: What is designer.cs?
Views: 372 | Replies: 14
| Thread Tools | Search this Thread |
Tag cloud for C#
.net access algorithm array barchart bitmap box button buttons c# chat check checkbox class client code color combobox control conversion csharp custom database datagridview dataset datetime degrees draganddrop drawing encryption enum excel file files form format forms ftp function gdi+ httpwebrequest image index input install java label list listbox listener login mandelbrot math mouseclick mysql networking object operator oracle path photoshop picturebox pixelinversion post prime programming radians regex remote remoting resource richtextbox save saving serialization server sleep socket sql statistics stream string table tcp text textbox thread time timer treeview update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






