Forum: Java Dec 9th, 2008 |
| Replies: 8 Views: 1,660 Okay, I got first record set to display on my JTextFields. Following is the code for that
rs.getInt(1);
rs.getInt(2);
rs.getInt(3);
rs.getInt(4);... |
Forum: Java Dec 9th, 2008 |
| Replies: 8 Views: 1,660 That is all the code that I have right now. I am just trying to get 1 record right now. If i can get 1 record, I am pretty sure i can get the whole thing working fine.
private void... |
Forum: Java Dec 9th, 2008 |
| Replies: 8 Views: 1,660 Thanks for the help so far. Here is the code that I have. I have no idea where am i going wrong but so far this piece of code is error free and I believe it is connected to the database. The only... |
Forum: Java Dec 9th, 2008 |
| Replies: 8 Views: 1,660 That is a good tutorial Ezzaral. But it shows you how to do it in console app. I have no idea how to do it in GUI Java and I am using Net beans to do so. If there is any other material which could... |
Forum: Java Dec 9th, 2008 |
| Replies: 8 Views: 1,660 Hello,
After making a database connection to java, I have been trying to populate my JTextFields and having a hard time to do so. Can anyone give me a quick example of what class or method am i... |
Forum: C++ Nov 24th, 2008 |
| Replies: 10 Views: 1,800 Thanks for helping me out guys. You are both right which difference piece of code provided. It wasn't this piece of code that was not letting me accomplish the job. I finally figured out where was I... |
Forum: C++ Nov 23rd, 2008 |
| Replies: 10 Views: 1,800 The code that you provided here is not working. CMainFrame and pFrame is giving me errors and syntax errors too. Here is what I got right now and I still dont understand why is this not working
... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,800 I tried it and it doesn't work for me. There must be a different set of code for that. First thing is I don't know the position of the Manager menu item. Second thing is I tried with the MF_BYCOMMAND... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,800 Yes, that is correct. But I can disable Sort. The code for that is given below.
void CDept::DisableSort(void)
{
CWnd* pParent = GetParent(); // This is a point to the window
// This is a... |
Forum: C++ Nov 22nd, 2008 |
| Replies: 10 Views: 1,800 I think I have already done that part and still it would not work. Below is the code to ensure that we are talking about the same part.
void CDeptView::OnSortManager()
{
Selected = "MANAGER";... |
Forum: C++ Nov 21st, 2008 |
| Replies: 10 Views: 1,800 How do I disable and Enable Menu Items and Sub Items.
if(Selected == "drum" || Selected == "guitar" || Selected == "mic" || Selected == "computer" || Selected == "car" || Selected == "hockey" ||... |
Forum: VB.NET Oct 29th, 2006 |
| Replies: 3 Views: 1,323 alright .. i figured it out :) .. thankz for helping me out waynespangler |
Forum: VB.NET Oct 28th, 2006 |
| Replies: 3 Views: 1,323 Thanks for pointing me out waynespangler.. i made the change for the first one you pointed me out.. but for the second one.. I am confused. If i remove
miles=console.Readline()
from the... |
Forum: VB.NET Oct 28th, 2006 |
| Replies: 3 Views: 1,323 Enter the miles driven, use -1 to end:
Enter the gallons :
The miles / gallon for this tank was
Enter the miles driven, use -1 to end:
Enter the gallons used (-1 to end) :
The... |