ArathySharath 0 Newbie Poster

Hi All,

My project requires me to add the Google Analytics code for tracking purposes. I have added the script that I got from another developer. I want to know if this code can show up in the pages with page lits (e.g) 1000 views) or is it hidden and can be monitored only from the google account?

Thanks

ArathySharath 0 Newbie Poster

hi were you able to figure out the solution? if yes, pls let us know how you achieved it?

THanks.

ArathySharath 0 Newbie Poster

Use the CompareTo() method after sorting both the old and the new lists.
For more info: http://msdn.microsoft.com/en-us/library/w56d4y5z.aspx

ArathySharath 0 Newbie Poster

Pls do as follwoing:

TextReader myVariable;

try
{
  myVariable = new StreamReader();
  //rest of the code
}

Now since the var is declared outside the try block its available for the next try cblock as you required.

ArathySharath 0 Newbie Poster

Try setting a boolean variabke , isChanged to true in the block.

//Declare the bool var
if( condition)
{
List<T>.Add(..);
isChanged = true;//
}
......
......
Update();

After this, you only need to check the list for the changes only if the isChanged = true;
Otherwise skip running the test/check unnecessarily.

This is simple solution... but hope it helps you.

ArathySharath 0 Newbie Poster

from wgat i understand your requirement is ...if its a one time job and you want to just take a print why are you writing a program for this? why dont you draw and print it usin MS word or anyother similar appln.. you may get it faster...unless you are keen on writing a program for this. Puzzled!!

Console.Writeline starts a new line and so what you might have to do is

Console.Write(one + one); // concat the var one again since you want it side by side

Console.WriteLine(two + two); // since this will be the next

Console.WriteLine(three + three);

Console.WriteLine(four + four);

I am resuing the same var since it has the same text..

Hope it helps.. but pls tell why not use Word???

ArathySharath 0 Newbie Poster

please tell/draw how you want the printed output to look like? just draw in word and post.. also are you trying to create a monpoly application or do you just want to take a print of board?..bit confused.

ArathySharath 0 Newbie Poster

At first glance, it looks like since you are opening and closing the connection in the parent form and its a ".net dataset" it may not be in open state in the child form.

I think you should try passing the connection to the child form and update the DB in the child form unless you have any specific reason for doing the way you are doing:)

But in the sample code, you are notifying the parent form when there is a change in the child form's data.Are you able to view the "unsaved" changes in the grid in the parent form? if not, you might have to check why thats nt working first.

pls let know if this helps or if you were able to solve it yourself..