| | |
hi..
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
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: 903
Reputation:
Solved Threads: 144
0
#4 26 Days Ago
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 26 Days Ago
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: 903
Reputation:
Solved Threads: 144
0
#6 26 Days Ago
•
•
•
•
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 26 Days Ago
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?
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client combobox connection console control conversion csharp custom database datagrid datagridview dataset datetime degrees deployment developer development draganddrop drawing editing encryption enum event excel file form format forms function gdi+ hospitalmanagementinformationsystem httpwebrequest image imageprocessing index input install java label list listbox mandelbrot math mouseclick mysql operator oracle path photoshop picturebox pixelinversion post priviallages. programming radians regex remote remoting richtextbox rows serialization server sleep socket sql statistics stream string table temperature text textbox thread time timer txt update uploadatextfile usercontrol validation visualstudio webbrowser windows windowsformsapplication winforms wpf xml






