Blog Home  Home Feed your aggregator (RSS 2.0)  
kevin Mocha - Thursday, April 26, 2007
Bookmarks collected from web.
 
 Thursday, April 26, 2007

This category will record information for all projects I am going to develop.

Thursday, April 26, 2007 7:57:17 PM UTC  #    Comments [0]    |  Trackback
 Wednesday, April 25, 2007

http://www.dynamicdrive.com/ (Dynamic Javascript and DHTML)

http://css.maxdesign.com.au/ (Great Layout and List CSS Tutorial)

Wednesday, April 25, 2007 9:24:59 PM UTC  #    Comments [0]    |  Trackback
 Thursday, April 19, 2007

http://aspalliance.com/774

 

 

Title: Repopulating checkboxes in GridView solution   
Name: Anonymous
Date: 8/13/2006 8:30:45 PM
Comment:
This is a great solution! However, when I first tested I get the same problem as everyone where the checkboxes get reset after every page changed. In order to solve this problem, you need to add DataBound event to repopulate the checkboxes states. Below is the solution:
protected void GridView1_DataBound(Object sender, EventArgs e)
{
RePopulateValues();
}
protected void GridView1_PageIndexChanging(Object sender, GridViewPageEventArgs e)
{
RememberOldValues();
}
Note: This is done in .Net 2.0 and the reason the author code doesn't work is because the databound event is called after pageindexchanging and pageindexchanged and therefore it clears the checkboxes states.

Thursday, April 19, 2007 4:01:09 AM UTC  #    Comments [0]    |  Trackback
 Wednesday, April 18, 2007

<!----connection string for SQL 2005 Express ----------->
<!-- <add key="DBConnStr" value="Provider=SQLOLEDB;Data Source=(local)\SQLExpress; Initial Catalog= SMARTBRIDGE; Integrated Security=SSPI;"/> -->
<!-- <add key="DBConnStrMaster" value="Provider=SQLOLEDB;Data Source=(local)\SQLExpress; Initial Catalog= master; Integrated Security=SSPI;"/> -->

Wednesday, April 18, 2007 5:51:00 PM UTC  #    Comments [0]    |  Trackback
 Tuesday, April 17, 2007

The Page class includes a property called the IsPostBack property, which you can use to detect whether the page has already been posted back to the server.

Because of View State, when you initialize a control property, you do not want to initialize the property every time a page loads. Because View State saves the state of control properties across page posts, you typically initialize a control property only once, when the page first loads.

In fact, many controls don't work correctly if you re-initialize the properties of the control with each page load. In these cases, you must use the IsPostBack property to detect whether or not the page has been posted.

 

if(!Page.isPostBack)
{
//not postback means first time initiation.
}
Tuesday, April 17, 2007 9:21:24 PM UTC  #    Comments [0]    |  Trackback

Here is the sequence of events that are raised whenever you request a page:

  1. PreInit
  2. Init
  3. InitComplete
  4. PreLoad
  5. Load
  6. LoadComplete
  7. PreRender
  8. PreRenderComplete
  9. SaveStateComplete
  10. Unload

 

Ninety-nine percent of the time, you won't handle any of these events except for the Load and the PreRender events. The difference between these two events is that the Load event happens before any control events and the PreRender event happens after any control events.

Tuesday, April 17, 2007 9:11:26 PM UTC  #    Comments [0]    |  Trackback
 Monday, April 16, 2007

http://www.manifold.net/doc/7x/sql_server_express_...

 

SQL Server Express Edition

The Manifold DVD includes a complete distribution of Microsoft® SQL Server™ 2005 Express Edition. SQL Server Express provides the power of SQL Server to Manifold System users at no additional charge.

Introduction

SQL Server 2005 Express Edition is derived from the same engine upon which Microsoft SQL Server 2005 is built. It is a newer and, in many key ways, better alternative to the SQL Server 2000 Desktop Engine (known as MSDE) distributed in earlier Manifold releases.

When delivered in SQL Server Express form, Microsoft has limited SQL Server in several ways:

§ A database cannot exceed 4 gigabytes in size.

§ SQL Server Express may be installed on a multiple CPU machine, but it will execute (run) only on a single processor or a single processor core if multi-core processors are used.

§ SQL Server Express may be installed on a server with any amount of memory, but will use only up to 1 GB of available RAM memory.

Other than these limitations SQL Server Express provides virtually the full power and breadth of SQL Server capabilities. Although MSDE was limited to no more than five users, SQL Server Express no longer has such an artificial throttle on performance. Within the limits of processor, RAM and maximum database size, SQL Server Express always runs at full speed.

 

SQL Server 2005 Features Comparison

http://www.microsoft.com/sql/prodinfo/features/com...

Note:  If SQL Server 2005 Express is running on Windows XP Home, it is limited to five simultaneous connections. If it is running on Windows 2000 or Windows XP Professional, it is limited to 10 simultaneous connections. However, these are limitations of the operating system and not of SQL Server 2005 Express.

 

Upgrading MSDE 2000 to SQL Server 2005 Express

http://www.microsoft.com/technet/prodtechnol/sql/2...

 

MySQL Community Server

http://dev.mysql.com/downloads/mysql/5.0.html

dual license model: http://www.mysql.com/company/legal/licensing/faq.h...

MySQL Enterprise Basic $595

Monday, April 16, 2007 8:38:08 PM UTC  #    Comments [0]    |  Trackback

http://webhost4life.com/wss.asp ($29.95/Month)

http://www.sharepointhosting.com/ (Video tutorials available)

Monday, April 16, 2007 7:44:10 PM UTC  #    Comments [0]    |  Trackback
 Friday, April 13, 2007
Friday, April 13, 2007 3:34:33 PM UTC  #    Comments [0]    |  Trackback
 Thursday, April 12, 2007
Thursday, April 12, 2007 9:41:22 PM UTC  #    Comments [0]    |  Trackback

Copy and paste the text below
<marquee scrollamount="1" scrolldelay="10" direction="up" width="200" height="50" style="font-family: Verdana; font-size: 8pt">
ENTER TEXT MESSAGE HERE 
</marquee>

 

http://www.comriesoftware.net/codewidgets/product....

Thursday, April 12, 2007 5:43:35 PM UTC  #    Comments [0]    |  Trackback
Copyright © 2009 Kevin Mocha. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: