Using a datagrid OnItemCommand event the following code will trigger its selecteditemstyle-backcolor:
int Index = e.Item.ItemIndex;
yourdatagridid.SelectedIndex = -1;
yourdatagridid.SelectedIndex = Index;
Just another item I don’t want to forget…
Using a datagrid OnItemCommand event the following code will trigger its selecteditemstyle-backcolor:
int Index = e.Item.ItemIndex;
yourdatagridid.SelectedIndex = -1;
yourdatagridid.SelectedIndex = Index;
Just another item I don’t want to forget…
How can something so simple be so difficult? I downloaded the PHP Windows Binaries from www.php.net and performed the recommended manual installation. According to the instructions a manual install was suppose to provide a learning experience that would be of future benefit. Well the learning experience was php did not work. Next I downloaded the PHP 5.03 installer. Running the installer was no help. Next a search of the internet lead me to an O’Reilly page. Following these instructions worked. Is it me or is doing anything on a windows box one big pain in the ….
It’s Christmas Eve already and I am just not ready. This has been a year of “Just not ready…” Seems like there was never enough time to get anything done or at least done to the point where one is satisfied with the results. It’s just slam it together and move onto the next thing. I need some real down time. However, that ain’t going to happen anytime soon. Just now I am under the gun for a PHP gig that is job one for my customer. Also, as usual for this time of the year, my wife’s family priorities rule. As the bedlam of our family gathering builds tonight, my plan is to sneak away to my office for some quite code time. Maybe they won’t miss me …
Here is a neat little script to reset or reboot an Microsoft IIS server. It’s neat because we have a sever that crashes after a days use … we don’t know why … Microsoft does not know why … so we set up a job which runs every night to reset or reboot the server. Crude but it works.
|
iisreset < your server name > /restart /rebootonerror pause |
We found the perfect Yorkshire Terrier for Sandy today. It’s from a breeder in Tucson, AZ. I met halfway to check her out and ended up making a purchase. She is not quite weaned so I will not be able to bring her home until next Sunday. Now we need to locate a tea-cup sized male … we intend on becoming amateur breeders.
Friday was a special day. Our Yorkshire Terrier was to arrive from New York. However, she was a no show. Turns out that the Manny A. Cruz using an address of 45 Broadway Suite 1401 New York, NY, puppyfind.com, AOL email account Yorkieb2k@aol.com, and phone number of (646) 294-2725 defraud us. It was a heartbreaking experience for Sandy. She had invested so much time and effort into finding just the right dog. We have filed a complaint with the IFCC, AOL, and puppyfind.com. Sandy will file a complaint with our local police, the New York city police, and the US Post Office on Monday. Our son will be in New York next week on business and will check out the address.
An internet search of the address Manny provided found it to be …
Katz Realty Group
45 Broadway
Suite 1401
New York, NY 10006
Tel. 212-269-1900
Fax 212-269-4515
I don’t hold out much hope for the recovery of our money… at this point I only want to bring this individual(s) to justice.
Enjoyed another Thanksgiving with the family. As is our custom we stuffed ourselves with turkey and all the trimmings. Seems like whenever our family congregates, the resulting collection of food is sufficient to feed three times our number. Friday I roasted a 13 lb. turkey at our house… The only problem with a family Thanksgiving is no leftover turkey. Now we have enough till Tuesday. Then its turkey soup.

Found a really great word processor for the OS X. It’s Nisus Writer Express. As a long time Microsoft Word user, I found this product really easy to use. The price is particularly nice. Download the demo and give it a try.
Here is a little script to cycle a rotater once.
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”
“https://www.w3.org/TR/html4/loose.dtd”>
<html>
<head>
<meta https-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″>
<title>Untitled Document</title>
var banArray = new Array(3); //for banners, increase size as necessary
var counter = 1;
var duration = 1000;
var url = “https://javascript.internet.com”; //initial URL
if(document.images) //pre-load all banner images
{
banArray[0] = new Image(468, 60);
banArray[0].src = “C:/Documents and Settings/md00037/Desktop/1.jpg”;
banArray[1] = new Image(468, 60);
banArray[1].src = “C:/Documents and Settings/md00037/Desktop/2.jpg”;
banArray[2] = new Image(468, 60);
banArray[2].src = “C:/Documents and Settings/md00037/Desktop/3.jpg”;
}
function changeBanner() //banner changer function
{
if(counter > 2)
{
changeDuration();
counter = 0;
}
document.banner.src = banArray[counter].src; //sets a new banner
counter++; //increase the counter for the next banner
}
//calls the changeBanner() function every 3 seconds
//change the timer as necessary (minutes * 60000) or (seconds * 1000)
function changeDuration()
{
window.clearInterval(timer);
return;
}
var timer = window.setInterval(“changeBanner()”, duration);
//–>
</head>
<body>
<img src=”C:/Documents and Settings/md00037/Desktop/1.jpg” width=468 height=60 border=0 name=”banner”></a>
</body>
</html>
The little ghosts & goblins are at the door again. It’s a joy to see the little one’s having such fun. Ninja turtles seem to be the boy’s favorite this year. Jayson is ninja this year and Christion is a Giraffe. Jayson was over a little earlier this evening helping his grandma make cupcakes for their party tonight. He brought his ninja transformer over to show me. Seems like it can transform from a baby turtle to a ninja turtle.


Thank God, only one more campaign day left this season. Will be so glad to get the election behind us. Caught a little of the news this evening to discover the poles have the election dead even. I fear our president may lose this election … it’s incomprehensible that this country could elect such an unprincipled man like Kerry. I have talked with a number of his supporters and find their only motivation is an irrational hate for Bush. None could explain why they hate him or an understanding of Kerry’s positions. I fear that it is going to take a most significant event to wake this country, just hope it is not to late.