Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Member Avatar for revjim44

I'm trying to write C# code for a code-behind page in an ASP.project. I'm to the point where if any of the fields are blank, the code returns the page with the missing fields highlighted in yellow, and if all the fields are filled, then the page saves session state …

Member Avatar for mani-hellboy
0
258
Member Avatar for revjim44

I'm new to Java (2 weeks) and was given a class assignment to create a program that takes a 5 digit number and checks to see if it is a palindrome (same forwards as backwards.) The requirement stated to use the methods main(), retrieveInput(), check(), and display(). My code works …

Member Avatar for hfx642
0
216
Member Avatar for revjim44

This is probably obvious to someone who is familiar with Oracle, however, I'm writing a script file for a class, and it throws an error on the line [CODE]ALTER TABLE FACULTY ADD CONSTRAINT FACULTY_Locid_fk REFERENCES LOCATION;[/CODE] where the table is FACULTY, the column is Locid, and I'm trying to create …

Member Avatar for debasisdas
0
175
Member Avatar for revjim44

I need to provide IIS and ASP.NET Web Forms functionality to an existing installation running under VMWare. I have created a new VM container with an installation of Windows Server 2008 R2, and I'm looking for some feedback as to what the minimum packages and protocols I need to install …

Member Avatar for lasitha2005d
0
122
Member Avatar for revjim44

I'm currently thinking of having a older VisualFoxPro database installation, migrated to the .NET platform, and am envisioning mySql, with a .ASP and Sharepoint front end. I'm just at the beginning of determining what frontside functionality will be needed, but in general, for developing a 10-20 user access, small database, …

Member Avatar for lasitha2005d
0
95
Member Avatar for revjim44

I'm trying to understand the correct way to instantiate objects in C#, and I just can't seem to get it right. My code is in lines 17-37 lines 47-51 and lines 102-103 Any direction would be genuinely appreciated. Jim [CODE] private void findMortgagePayment() { string prompt; bool validPV = false; …

Member Avatar for ddanbe
0
177
Member Avatar for revjim44

I've had one C# class two semesters ago, now as part of a UML/Object Oriented Analysis and Design class (with a programming prerequisite) I'm trying to take CRC cards and design specs and finalizing the code. However, between one C# class and one Java class, my syntax has all gone …

Member Avatar for Momerath
0
160
Member Avatar for ananthaisin

Hi, I am planning to buy a laptop and confused on which one to buy... 1. Lenovo Y560 (i3 proc) 2. Hp Pavilion DV6-3056TX 3. Sony Vaio VPCEB16FG which to buy from the above.....( i chose Lenovo Y560 but heard build quality is very poor..duno) If there is any other …

Member Avatar for sarah newton
0
161
Member Avatar for revjim44

I have data consisting of two arrays, string item [], and string location [], How do you create a DataGridView ( or is that even the right component to use) to display the data in a windows form, like in a listbox? Basically I need to write a method to …

Member Avatar for Momerath
0
127
Member Avatar for revjim44

I have a comboBox that is populated by an array. When one of the choices is no longer available, I'd like to remove that item from the comboBox. I tried [CODE]if (firstClassAvailable == 0) { this.comboBox1.Items.Remove("First"); }[/CODE] which throws this exception System.ArgumentException: Items collection cannot be modified when the DataSource …

Member Avatar for kvprajapati
0
192
Member Avatar for revjim44

I'm getting this error, and I'm not sure why I can't do this in a method. On lines 92 and 93 I get this error thrown: "Only assignment, call, increment, decrement, and new object expressions can be used as a statement" I'm sure it's something obvious, but I'm stumped. [CODE]using …

Member Avatar for revjim44
0
117
Member Avatar for revjim44

This may be a simple question, but I'm trying to populate a combo box with an array of string variables, but only that pass a conditional test. I'm getting a "complex databinding accepts as a datasource either in Ilist or IListSource" error. Obviously this is not the right way to …

Member Avatar for revjim44
0
258
Member Avatar for revjim44

I have a form that has two text boxes. The first is visible, and the second one is not. How do I go about having the second text box become visible if the user tabs out of the first text box? I wrote a KeyDown event handler to check for …

Member Avatar for ddanbe
0
199
Member Avatar for revjim44

I'm trying to code a C# homework assignment that takes a phone number in this format XXX-XXXX (8 digits that can be alphanumeric) and then "Define a method named ReadDials( ) that reads each digit/letter dialed into eight separate char variables (DO NOT USE ARRAYS). All digits are sent back …

Member Avatar for Ketsuekiame
0
369
Member Avatar for revjim44

[CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Lab5_A { class Program { static void InputData(ref int counter, string[] playerName, int[] playerScore) { string aValue = null; Console.Write("Enter Player Name (Q to quit): "); playerName[counter] =Console.ReadLine(); Console.Write("\nEnter score for {0}:", playerName[counter]); aValue = Console.ReadLine(); playerScore[counter] = int.Parse(aValue); return; } …

Member Avatar for rohand
0
158
Member Avatar for revjim44

For some reason, the variables I try to pass by value (errorFlag between Main() and ReadDials() and testDigit between ToDigit() and ReadDials()) don't get passed. The variables passed by reference get passed fine. As a work-around I passed a temp variable for each and copied the value from the temp …

Member Avatar for Mitja Bonca
0
288