Search:
Type: Posts; User: CGKevin
Search:
Search took 0.04 seconds.
-
January 29th, 2013, 10:43 AM
You can use the OLE/COM Object viewer (OleView.exe) installed with either the Windows or .Net SDK to view the embedded type library in ODL (Object Definition Language). This can be saved to a file...
-
January 24th, 2013, 04:02 PM
Generally, the way I've seen this work is as follows:
1. Display price prompt
2. Get price information
3. If price information is end of data code continue else goto 1
4. Process and print...
-
December 11th, 2012, 09:10 AM
I would think that you should be using UTF8 encoding and ContentType of "text/xml".
-
December 7th, 2012, 11:43 AM
I would think that the best place to do this is in the SQL statement that retreives your DataTable e.g.
SELECT 1235467X AS 1234567, kumarA AS kumar, CPUD AS CPU
-
December 3rd, 2012, 03:57 PM
See "http://msdn.microsoft.com/en-us/library/aa730869(v=vs.80).aspx". Read the parts pertaining to user settings and user.config. Basically, the settings in the app.config should be read-only default...
-
November 28th, 2012, 06:16 AM
The "SQL" in SQL Server stands for Structured Query Language, which is a language specifically designed to allow you to ask the database for a specific group of records. You should not be searching...
-
November 23rd, 2012, 01:40 PM
Any method that has the same name as the class in which it is contained is considered by the compiler to be a constructor.
Since your class does not specify any access modifiers and it's only...
-
November 21st, 2012, 10:22 PM
You need to convert the bitmap (Staff.Picture) to a byte[] before saving it to the file. See http://stackoverflow.com/questions/7350679/convert-a-bitmap-into-a-byte-array-in-c.
-
November 19th, 2012, 06:39 PM
An authorization exception normally means that the user account that the code is running under does not have sufficient permissions to access the file. Also, why are you using a binary reader to read...
-
November 19th, 2012, 09:43 AM
Ok, if I understand correctly what you are trying to do...
The code as you have it written will output the number of students, then the full list of students, then the full list of marks, and it...
-
November 19th, 2012, 06:27 AM
Remove the first myFile.Close().
public int WriteAllRecords()
{
Student stud = new Student();
StreamWriter myFile = File.CreateText("Juniorstudents.txt");
numofStudents =...
-
November 14th, 2012, 06:19 AM
You can also refer to this article where I describe how to debug a service while it is running as a service.
...
-
November 9th, 2012, 09:08 AM
I'm sorry, but I'm just not seeing anything in the code that you've shared that should cause an access problem. Perhaps it is in how the ResultadoBusca objects are populated or defined, or it could...
-
November 9th, 2012, 08:17 AM
What type of object is ListaResultadoBusca, and why are you putting it in the Session twice (lines 5 and 10).
-
November 9th, 2012, 06:16 AM
Normally, this sort of error means that something has attempted to read to or write from memory that it is not allowed to access. I'm afraid that without seeing the code that is causing the problem,...
-
November 6th, 2012, 06:11 PM
You're going to need to be able to step through your code to find the problem. With Windows Services this can be a bit trickier than a normal exe or web project.
First, you'll need to find the...
-
November 4th, 2012, 06:23 PM
Your friend is correct. The listing you have is C++ not C#.
-
November 4th, 2012, 07:48 AM
Just Google "SQL Server Table Indexing" there is lots of information on the subject.
-
November 3rd, 2012, 11:46 AM
In a hospital setting, you are going to accumulate a lot of records over time, you should create indexes on the table columns that you use a lot in joins and in your where clauses to improve query...
-
November 3rd, 2012, 11:39 AM
Then my reccomendations stand. I would create an insert trigger on the customer table that on insert, creates a record in the orders table using the primary key value from the newly created customer...
-
November 3rd, 2012, 11:25 AM
Normally, the way these things work is...
Customer logs in - during the authentication you go to the database and get the customer information.
Customer wants to create a new order - you use...
-
November 3rd, 2012, 11:18 AM
First, I would recommend that you have a primary key column on all of your tables. This allows for deeper nested referencing as I demonstrated above and also primary keys are automatically created...
-
November 3rd, 2012, 10:57 AM
The way this is normally accomplished is using Foreign Key constraints in the database e.g.
Customers
customerID: (generated by database as primary key identity)
Name: Mr. Random
Pass:...
-
November 2nd, 2012, 07:11 AM
If you are using an Integrated Development Environment (IDE) such as Visual Studio or SharpDevelop, you should not be copying core .Net Framework files into your bin folder manually. Use the...
-
October 30th, 2012, 02:55 PM
Not sure about this one, try System.UIntPtr
|
Click Here to Expand Forum to Full Width
|