Hi,
I am just curious to know what is the difference between the debug class and the trace class. Don't they both check through code at compilation time? During which cases should each of the class methods be used?
Thx
Hi,
im a novice programmer, who is learning c#;
I am creating a code where i calculate interest over a 10 year period after a user is prompted for an initial investment amount and an interest rate. Im having a problem where the error states:
An object reference is required for the nonstatic...
Hi...this answer did help, but im still getting an error:
now the error says:
Cannot insert explicit value for identity column in table 'T_C_Activity_Types' when IDENTITY_INSERT is set to OFF.
/admin/sections/new/modify_activity_type.asp, line 68
"
Set oConn =...
Hi,
Ye i changed that and I updated some of the other code, but I am not able to send the request through properly. Get this error message:
Incorrect syntax near the keyword 'Values'.
/admin/sections/new/modify_activity_type.asp, line 68
"
If UPDATE = "ON" Then
SubmitButton =...
Hi,
I have created a web page where a table from the SQL database is outputted onto the screen. I also created another page that allows the users to add or delete another row to the table. After providing the necessary links between these two pages, I check to see whether the second page...
Hi,
I am creating a page where i need to include a table from a sql database. So i connected to the server and entered my query. However, when I open up the corresponding web page, I receive an error that states that the table name does not match with the table name used in the query...
Hi,
Im trying fixing some code that has been created to produce a web form. At one point during this code, I have included a sql query to create a recordset, and created an if statement to control whether the form can be submitted or not. After making the necessary changes, I checked the...
Hey,
Thanks, but i was not looking for that. I am trying to find a way to debug, if the debug play button option is not available. I would have to insert a debug method into my code. Im trying to find this method
Hi,
I making some changes to this web form that had been created. While doing this, I found several errors that i would like to fix. I have heard about a way to manually debug any specified part of my code. Can someone specifially let know about this debugging tool, and how to use it?
Thx!
Hi,
I have a slight idea of what this means: oRs.EOF
It is the end of the file recordset that is returned after a query. However, i would like to know the significane in using this and how to implement it. For example i saw it in this code:
If oRs.EOF Then
Response.Write "<td...
Hi,
Im trying to find a way to duplicate a new form when I create a new form. I have an existing form with values in them. Now I want to create a new form but I would like to inherit the values from the previous form. So basically this new form is created a a revision copy.
Form 1 - has...
Hi,
Im normally pretty good with loops, but for some reason, im not able to understand this loop.
using System;
class Ques
{
public static void Main()
{
int i = 17;
while(i != 1)
{
Console.WriteLine("{0}", i);
i = 3*i + 1...
Hi,
Just getting familiar with the ToString method. I understand that the ToString method is used to convert the value of an object to a string type in a hopefully meaningful way. However what does this exactly mean, and during which cases can u not convert these values to a string type...
Hey,
I was practicing some c# concepts while i found this weird thing happening. I am basically creating a simple two dimensional array with 3 rows and 2 columns. Here is the code.
using System;
class Array
{
public static void Main()
{
int[,] myArray =
{...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.