Thursday, May 24, 2007

OFBiz Eclipse - Debugging OFBiz

OFBiz Eclipse - Debugging OFBiz: "OFBiz Eclipse - Debugging OFBiz"
Preliminary Setup
If you have not already done so, import ofbiz into Eclipse with File > Import > "Existing Projects into Workspace". Note that the name of the project and its name in .project file must be the same.
The next step is to enable Eclipse to work on your .xml, .ftl, and .bsh files. First, install an XML editor such as the free XMLBuddy. Then, install the Freemarker Eclipse plug-in. Finally, go to Windows > Preferences > General > Editors > File Associations and add "*.bsh" and associate it with the Scrapbook editor.
You should also set your editors to be compatible with OFBiz coding convention. For Java files, go to Windows > Preferences > Java > Code Style > Formatter and create a new profile. Set your tabs to 4 spaces. Similarly, go to Windows > Preferences > XMLBuddy > Formatting and click on "Use spaces for tabs", or configure your XMLZ editor likewise.
You can toggle between code view and directory/file view by switching Eclipse from "Java Perspective" our "Java Browsing" and "Resources". If you have new components, add them to your .classpath file as a so they can be viewed in the Java views.
Java Debugging with Eclipse
Click on the green bug icon on the Eclipse toolbar, or click on "Run" on the top menu bar, then "Debug". Then click on "Java Application", click on "New" to create a new configuration for OFBIZ.



www.svdeals.com super value hot deals

Tuesday, May 22, 2007

I have difficulty in starting Eclipse

I have difficulty in starting Eclipse: "Java - I have difficulty in starting Eclipse"

Don't rely on env vars. Start eclipse with option-vm "C:\Program Files\Java\jre1.5.0_06\bin\java"



www.svdeals.com super value deals

Getting started with the Eclipse Platform

Getting started with the Eclipse Platform: "What is Eclipse?What is Eclipse?What is Eclipse?"


www.svdeals.com super value hot deals

Tuesday, May 15, 2007

Nabble - Query-based insertion or updating of BLOB values is not supported. -- ????

Nabble - Query-based insertion or updating of BLOB values is not supported. -- ????: "Query-based insertion or updating of BLOB values is not supported"


www.svdeals.com super value deals

MySQL OLE DB Provider

MySQL OLE DB Provider: "MySQL OLE DB Provider"


www.svdeals.com super value deals

MySQL OLEDB Provider Using MySQL Provider with SQL Server DTS Wizard

MySQL OLEDB Provider: "Using MySQL Provider with SQL Server DTS Wizard"


www.svdeals.com super value deals

How do I import delimited data into MySQL?

How do I import delimited data into MySQL?

LOAD DATA LOCAL INFILE '/importfile.csv' INTO TABLE test_table FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n' (field1, filed2, field3);



www.svdeals.com super value deals

Monday, May 14, 2007

Eclipse BIRT Home

Eclipse BIRT Home: "Business Intelligence and Reporting Tools"
BIRT is an open source Eclipse-based reporting system that integrates with your Java/J2EE application to produce compelling reports.



www.svdeals.com super value deals

SQL INSERT INTO Statement

SQL INSERT INTO Statement: "INSERT INTO Store_Information (store_name, Sales, Date)
SELECT store_name, Sales, Date
FROM Sales_Information
WHERE Year(Date) = 1998"



www.svdeals.com super value deals

Wednesday, May 9, 2007

Tuesday, May 8, 2007

ASP.NET 2.0: Using the Menu Control

ASP.NET 2.0: Using the Menu Control: "ASP.NET 2.0 : Using the Menu Control "
Here we will take a look at two different ways to set up the Menu Control. One, with the default SiteMap provider using a standard Xml web.siteMap file, and the other using a SqlSiteMapProvider, an example of which was recently published by Jeff Prosise in his "Wicked Code" column in MSDN magazine.
To start off, lets create a new MasterPage to hold our menus, which provides us with a ContentPlaceHolder control that all pages deriving from our MasterPage place their content into. First the HTML code, then some notes:
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Default.master.cs" Inherits="_Default" %>








Orientation="Horizontal" CssClass="toolbar" Width="96px">





















What I have above is a Master Page declaration, an inline CSS stylesheet we will use for our menus, two asp:Menu tags and two asp:SiteMapDataSource tags. You can get all of this by simple right-clicking your Web Site in Solution Explorer, and choosing Add New Item, then MasterPage from the Installed Templates window. You can get the menu and SiteMapDataSource controls by simply dragging them onto your new Master Page from the Toolbox.
Each Menu Control needs a SiteMapDataSource. If none is specified, the default XmlSiteMapProvider is used, and it requires a "web.siteMap" xml file which you can create by choosing Add New Item and "sitemap". The web.siteMap file structure is a nested Nodelist that looks like this:
description="Home"
url="SiteMaps.aspx?id=1">
url="SiteMaps.aspx?id=2">



description="The Research Site"
url="SiteMaps.aspx?id=7">
url="SiteMaps.aspx?id=8"/>
url="SiteMaps.aspx?id=9"/>
url="SiteMaps.aspx?id=10" />



You can see that we have a "Home" siteMapNode, and that we can nest additional siteMapNodes to get the familiar tree-like dropdown menu effect. Each node has a title, description, and url. There are other members and properties, you can get the whole story at the documentation.
Since we have more than one SiteMapDataSource, we define the providers in our web.config file like so:



providerName="System.Data.SqlClient" />




securityTrimmingEnabled="false"
connectionStringName="SiteMapConnectionString" />



Note above that we have a connection string defined specifically for our SqlSiteMapProvider, and that it is specifically referenced in the defaultProvider siteMap element. I've also added back in the XmlSiteMapProvider since it is no longer the default, and have provided the required siteMapFile="web.SiteMap" attribute for it.
In my SiteMap database table, I've defined my nodes in the familar parent - child self-referencing table format:
You can see that the Provider will simply read this out into a SqlDataReader, and create the SiteMapNodes. You can look at Prosise's code for the SqlSiteMapProvider included, and see that it is very easy to create one. This datasource is assigned to one of my menus with the DataSourceID attribute of the asp:Menu tag declaration. The rest is just choosing some of the long list of properties that can be set via the Property Sheet for the control. In this case, I've decided to add a cool 3-D like gradient by simply setting the CSSClass attribute to my "toolbar" CSS class defined in the inline stylesheet. The result, when any of the pages comes up, looks like this:
I didn't spend as much time on this as I normally would, so a lot of the kind of fine-tuning one would expect for a production app is not present. However, the downloadable zip file below includes everything you need to get started, including a SQL Script that will create the "TEST" database and SiteMap table, and populate it with what you see above. Just unzip it to the folder of your choice, run the Sql Script, and in Visual Studio.NET 2005, choose File / Open / Web Site / FileSystem and point it to your folder. The "Cassini-Meanie" built in web server will take it from there. Note that I do not have Roles Authorization enabled for this particular example, but it is extremely easy to "turn on" and integrates beautifully with Forms Authentication and similar authentication schemes.
Have fun!


www.svdeals.com super value deals

Forms control in HTML documents

Forms in HTML documents: "Control types"



www.svdeals.com super value deals

Dynamically Generating PDFs in .NET - Developer Fusion: Connecting Developers Worldwide. C#, .NET, VB, Java, PHP and XML tutorials & source code

Dynamically Generating PDFs in .NET - Developer Fusion: Connecting Developers Worldwide. C#, .NET, VB, Java, PHP and XML tutorials & source code: "Dynamically Generating PDFs in .NET "



www.svdeals.com super value deals

Monday, May 7, 2007

GridView CheckBox Selection With a Twist - The Code Project - C# Controls

GridView CheckBox Selection With a Twist - The Code Project - C# Controls: "GridView CheckBox Selection With a Twist"


www.svdeals.com super value deals

GridView.PageIndexChanged Event (System.Web.UI.WebControls)

GridView.PageIndexChanged Event (System.Web.UI.WebControls): "GridView.PageIndexChanged Event "


www.svdeals.com super value deals

GridViewGuy

GridViewGuy: "GridView Custom Paging "
Introduction:
GridView control provides you with an easy way to display the number of items on the page without taking much space with the help of paging. You can enable the paging feature in the GridView control within seconds. The built in paging is pretty good if you are fetching less than 100 items as soon as the number of items increases the performance suffers. The main reason for the performance kill is that whenever you go to a new page of the GridView it fetches all the items from the database. In this article I will demonstrate how you can use custom paging to improve the performance of the GridView paging.
Database and Stored Procedure:
I will be using the good old Northwind database. The stored procedure is written by Greg Hamilton. You can view Greg Hamilton's article A More Efficient Method for Paging Through Large Result Sets on www.4guysfromrolla.com. Greg created a very efficient stored procedure that works without the use of temporary table or the TABLE variable.
I have modified the stored procedure by adding few fields. Here is the modified version of the stored procedure:
CREATE PROCEDURE [usp_GetProducts]
@startRowIndex int,@maximumRows int, @totalRows int OUTPUT
AS
DECLARE @first_id int, @startRow int
SET @startRowIndex = (@startRowIndex - 1) * @maximumRows
IF @startRowIndex = 0 SET @startRowIndex = 1
SET ROWCOUNT @startRowIndex
SELECT @first_id = ProductID FROM Products ORDER BY ProductID
PRINT @first_id
SET ROWCOUNT @maximumRows
SELECT ProductID, ProductName FROM Products WHERE ProductID >= @first_id ORDER BY ProductID SET ROWCOUNT 0
-- GEt the total rows
SELECT @totalRows = COUNT(ProductID) FROM ProductsGO
I highly recommend that you check out Greg’s article in which he explained in detail how the stored procedure works.
Displaying Paged Data on the Page:
I will be paging through the records using the “Next” and the “Previous” buttons. The Label control will display our current location in the paged GridView. Let’s first set up some of the variables.
protected int currentPageNumber = 1; private const int PAGE_SIZE = 10;
The currentPageNumber represents the current page of the GridView and the PAGE_SIZE is the total number of records displayed on each page. You can also allow the user to adjust the page size using a DropDownList but that is not covered in this article.
Next, we need to bind the data source to the GridView. Let’s check out the BindData method as a whole and later I will dissect it so you will have a better idea.
private void BindData() { string connectionString = "Server=localhost;Database=Northwind;Trusted_Connection=true"; SqlConnection myConnection = new SqlConnection(connectionString); SqlCommand myCommand = new SqlCommand("usp_GetProducts", myConnection); myCommand.CommandType = CommandType.StoredProcedure;
myCommand.Parameters.AddWithValue("@startRowIndex", currentPageNumber); myCommand.Parameters.AddWithValue("@maximumRows", PAGE_SIZE); myCommand.Parameters.Add("@totalRows", SqlDbType.Int, 4); myCommand.Parameters["@totalRows"].Direction = ParameterDirection.Output;
SqlDataAdapter ad = new SqlDataAdapter(myCommand);
DataSet ds = new DataSet(); ad.Fill(ds);
gvProducts.DataSource = ds; gvProducts.DataBind();
// get the total rows double totalRows = (int)myCommand.Parameters["@totalRows"].Value;
lblTotalPages.Text = CalculateTotalPages(totalRows).ToString();
lblCurrentPage.Text = currentPageNumber.ToString();
if (currentPageNumber == 1) { Btn_Previous.Enabled = false;
if (Int32.Parse(lblTotalPages.Text) > 0) { Btn_Next.Enabled = true; } else Btn_Next.Enabled = false;
}
else { Btn_Previous.Enabled = true;
if (currentPageNumber == Int32.Parse(lblTotalPages.Text)) Btn_Next.Enabled = false; else Btn_Next.Enabled = true; } }
Now, let’s take a look at the above code in more detail. I am sending the currentPageNumber and the PAGE_SIZE into the database so I can get the data for the current page. The totalRows variable returns the total number of rows in the table. Once, I got the totalRows I calculated the total number of pages that will be used for this GridView. The total number of pages are calculated by using a small helper function.
private int CalculateTotalPages(double totalRows) { int totalPages = (int) Math.Ceiling(totalRows / PAGE_SIZE);
return totalPages; }
At the end of the BindData method there are some conditional checks which ensure that the next and previous buttons are only displayed when applicable.
Attaching the Events to the Buttons:
The final thing that is left is to attach the events to the Button controls. Check out the following code in which I created two button controls.

Both the buttons calls the ChangePage event which is shown below: // This method will handle the navigation/ paging index protected void ChangePage(object sender, CommandEventArgs e) { switch (e.CommandName) { case "Previous": currentPageNumber = Int32.Parse(lblCurrentPage.Text) - 1; break;
case "Next": currentPageNumber = Int32.Parse(lblCurrentPage.Text) + 1; break; }
BindData(); }
The ChangePage event is used to change the page number of the GridView and also to update the Label text by calling the BindData method.



www.svdeals.com super value deals

FormsAuthentication.SignOut Method (System.Web.Security) C# ASP 2.0

FormsAuthentication.SignOut Method (System.Web.Security): "FormsAuthentication.SignOut Method "


public void LoginLink_OnClick(object sender, EventArgs args)
{
FormsAuthentication.SignOut();
FormsAuthentication.RedirectToLoginPage();
}


www.svdeals.com super value deals

Login Control in C# ASP.NET 2.0

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" %>





Untitled Page








Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />











Code

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
bool Authenticated = false;
Authenticated = SiteLevelCustomAuthenticationMethod(Login1.UserName, Login1.Password);
e.Authenticated = Authenticated;
if (Authenticated == true)
{
// Response.Redirect("Default.aspx");
}
}
private bool SiteLevelCustomAuthenticationMethod(string UserName, string Password)
{
bool boolReturnValue = false;
string strConnection = "server=xxxx;database=xxx_xxxx;uid=xxxx;pwd=xxx;Connect Timeout=60";
SqlConnection Connection = new SqlConnection(strConnection);
string strUserID = UserName;
String strSQL = "select * from UserDetails where UDUSRID=\'" + (strUserID + "\'");
SqlCommand command = new SqlCommand(strSQL, Connection);
SqlDataReader Dr;
Connection.Open();
Dr = command.ExecuteReader();
while (Dr.Read())
{
string UserNameDB = Dr["UDUSRID"].ToString();
string PasswordDB = Dr["UDPASSWD"].ToString();
if ((UserName == UserNameDB.TrimEnd().TrimStart()) & (Password == PasswordDB.TrimEnd().TrimStart()))
{
boolReturnValue = true;
break;
}
}
Dr.Close();
return boolReturnValue;
}
}


www.svdeals.com super value deals

How To: Protect Forms Authentication in ASP.NET 2.0

How To: Protect Forms Authentication in ASP.NET 2.0: "How To: Protect Forms Authentication in ASP.NET 2.0"

web.config

















www.svdeals.com super value deals

Forms Authentication in ASP.NET 2.0

Forms Authentication in ASP.NET 2.0: "Forms authentication"


www.svdeals.com super value deals

How to use Login Control in Visual Studio 2005

How to use Login Control in Visual Studio 2005: "How to use Login Control in Visual Studio 2005"



www.svdeals.com super value deals

Friday, May 4, 2007

Microsoft navigation menu frame

Microsoft navigation menu frame: "Chapter 7 - Migrating Oracle Databases to SQL Server 2000"



www.svdeals.com super value deals

Thursday, May 3, 2007

sp_spaceused (Transact-SQL)

sp_spaceused (Transact-SQL): "sp_spaceused (Transact-SQL) "

sp_spaceused [[ @objname = ] 'objname' ] [,[ @updateusage = ] 'updateusage' ]



www.svdeals.com super value deals

Microsoft SQL Server 2000 Analysis Services Performance Guide

Microsoft SQL Server 2000 Analysis Services Performance Guide: "Microsoft SQL Server 2000 Analysis Services Performance Guide"


www.svdeals.com super value deals

MySQL AB :: MySQL 5.0 Reference Manual :: 13.2.4.3 INSERT ... ON DUPLICATE KEY UPDATE Syntax

MySQL AB :: MySQL 5.0 Reference Manual :: 13.2.4.3 INSERT ... ON DUPLICATE KEY UPDATE Syntax

INSERT INTO table (a,b,c) VALUES (1,2,3) ON DUPLICATE KEY UPDATE c=c+1;UPDATE table SET c=c+1 WHERE a=1;


www.svdeals.com super value deals

MySQL AB :: MySQL 5.0 Reference Manual :: 13.2.4 INSERT Syntax

MySQL AB :: MySQL 5.0 Reference Manual :: 13.2.4 INSERT Syntax

INSERT [LOW_PRIORITY DELAYED HIGH_PRIORITY] [IGNORE] [INTO] tbl_name [(col_name,...)] VALUES ({expr DEFAULT},...),(...),... [ ON DUPLICATE KEY UPDATE col_name=expr, ... ]



www.svdeals.com super value deals

Wednesday, May 2, 2007

GridView Paging - MSDN Forums

GridView Paging - MSDN Forums: "GridView Paging "
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
bind();
}
}

private DataTable getTable()
{
SqlConnection conn = new SqlConnection("Data source=localhost;user id=user;password=pass;database=ClassProject");
SqlDataAdapter adap = new SqlDataAdapter("Select * from lessons", conn);
DataTable dt = new DataTable();
adap.Fill(dt);
return dt;
}

private void bind()
{
DataTable dr = getTable();
GridView1.DataSource = dr;
GridView1.DataBind();
}

protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
{
GridView1.PageIndex = e.NewPageIndex;
bind();
}

How to populate DataGridView, GridView with SQL statement in C# - The Code Project - ASP.NET

How to populate DataGridView, GridView with SQL statement in C# - The Code Project - ASP.NET: "How to populate DataGridView, GridView with SQL statement in C#"

protected void Page_Load(object sender, EventArgs e)
{

string strSQLconnection = "Data Source=dbServer;Initial Catalog=testDB;Integrated Security=True";
SqlConnection sqlConnection = new SqlConnection(strSQLconnection);
SqlCommand sqlCommand = new SqlCommand("select * from table1", sqlConnection);
sqlConnection.Open();

SqlDataReader reader = sqlCommand.ExecuteReader();

GridView1.DataSource = reader;
GridView1.DataBind();
}

http://www.svdeals.com/ super value deals

Themes and Skins in ASP.NET 2.0 - The Code Project - ASP.NET

Themes and Skins in ASP.NET 2.0 - The Code Project - ASP.NET: "Themes and Skins in ASP.NET 2.0"



www.svdeals.com super value deals

Themes and Skins in ASP.NET 2.0 - The Code Project - ASP.NET

Themes and Skins in ASP.NET 2.0 - The Code Project - ASP.NET
Introduction
Themes in ASP.NET 2.0 is another cool new feature added to the plethora of additions and improvements made into the next version of the programming model. Using themes, you can easily customize your server controls with the pre-defined looks bundled with the .NET Framework or can make your own themes according to the look and feel of your website. Designing a website was never this easy before.
What are themes
Themes are introduced in ASP.NET 2.0 to counter the troubles faced by developers to define the layout of server controls and make them look coherent to the overall application, with minimum possible efforts. Default or Global themes are contained in a special folder inside the framework and can be declared in the source as well as class files. However, custom made themes can also be saved inside the predefined "App_Themes" folder inside ASP.NET applications, making them easier to manage and interpolate according to your needs. The essential part of themes are skin files with .skin extension. Besides skin files, a theme can be composed of styles sheets .css files as well as images for added support for the layout of the website.
Global themes
Built-in themes are saved in a special location under the installation path of the .NET Framework 2.0:
[Editor coment: Line breaks used to avoid scrolling.]%SystemRoot%\Microsoft.NET\Framework\VX.X.XXXX\
ASP.NETClientFiles\Themes\
The actual name of the subdirectory labeled vX.X.XXXX changes according to the build of ASP.NET 2.0 that you're considering. Themes defined in this path are visible to all applications running on the machine. However, ASP.NET 2.0 Beta 2 users will not find this folder in the specified location because ASP.NET team has dropped the Global Themes support from the beta 2 release of the product. But they will provide pre-defined themes as an add-on when Microsoft launches Visual Studio 2005 in November this year. These add-on themes can be purchased or downloaded separately and will be installed in the specified folder above.
How to apply themes
Themes can be used by a variety of methods. The following examples show you how you can define a theme named "SmokeAndGlass" in your application by different methods:<%@ Page Theme="SmokeAndGlass" Language="C#"%>
Themes can be set programmatically under the Page_PreInit event handler. It is necessary to define them in this event handler as all the looks are applied to the server controls defined in a particular theme before the page loads. Here is how you can set themes programmatically:protected void Page_PreInit(object sender, EventArgs e)
{
// Applying theme to a particular page
Page.Theme = "SmokeAndGlass";
}
Themes can also be stored in the web.config file which will be applied to the overall application. Themes declared in this file are therefore not required to be declared in any other file under the @Page tag.




Creating themes
You can create your own themes for applying to your site or individual pages. A page theme is defined in a special App_Themes folder under the root of a web application. In the page theme you define control skins - settings for individual controls such as Buttons, TextBoxes, hyperlinks and DataGrid etcetera. You typically define a control skin for each type of control that you want to use in your application and set the control properties so that all the controls have a similar look. However, note that themes configure only the visual properties of a control and does not alter their runtime behaviour. Here's is a typical example of a skin file:
CollapseFont-Size="0.9em" Font-Names="Verdana" />
BorderColor="#E7E5DB" BorderWidth="2" BackColor="#F8F7F4"
Font-Size=".9em" Font-Names="Verdana">
BorderColor="#585880" ForeColor="#585880" />
ForeColor="#CCCCCC" />
BackColor="transparent"
cssclass="theme_highlighted" />
ForeColor="#585880" BorderColor="#CCCCCC"
BorderWidth="1pt" cssclass="theme_header" />
BorderColor="transparent"
BackColor="transparent" />
BackColor="transparent" />
BackColor="#F8F7F4" />
ForeColor="#000000" BackColor="transparent" />
BackColor="Transparent" />

All global themes that were released with Beta 1 can be found inside the .zip sample application. These files can help you understand the skin files better.
Named skins
Skins without SkindID's are called default skins while skins with SkindID's are known as Named skins. Named skins define different layouts for two or more server controls with unique ID's. IDs can be defined in the same file or you can make different files with different ID's, it all depends on your personal approach and likings. SkinID can be referenced to call named skins. Here is an example:
Named skinsFont-Size="0.9em" Font-Names="Verdana" SkinID="LabelHeader" />
Font-Names="Arial" SkinID="LabelFooter" />
Referencing named skins

Dynamically applying themes
Themes can be dynamically applied to your application by adding a few lines of code. This will give users an option to select themes according to their taste. Here is an example showing you how to achieve this functionality:protected void Page_PreInit(object sender, EventArgs e)
{
string theme = ""; // setting the value to none
if (Page.Request.Form.Count > 0)
{
// "Themes" is the ID of dropdownlist
theme = Page.Request["Themes"].ToString();
if (theme == "Default")
{
theme = "";
}
}
this.Theme = theme; // applying themes to the overall page
}
All the controls defined in your Web Forms inherit the properties defined in the theme you select from the DropDownList with ID="Themes". You have to add all the global as well as custom made themes under the "App_Themes" folder in your application, the above mentioned example will not access themes inside the global themes folder.
Conclusion
ASP.NET 2.0 themes are somewhat identical to the Windows XP and Windows Server 2003 themes and provide skins for a variety of controls. Themes are the next big thing in styling after CSS style sheets. Themes can be manipulated programmatically unlike style sheets. All in all, ASP.NET 2.0 themes and skin files are a huge leap forward in providing the best styling experience for web developers in the shortest possible time.


www.svdeals.com super value deals

ASP.NET 2.0 CSS Friendly Control Adapters 1.0

ASP.NET 2.0 CSS Friendly Control Adapters 1.0: "ASP.NET 2.0 CSS Friendly Control Adapters 1.0"


www.svdeals.com super value deals

The Walkthrough: ASP.NET 2.0 CSS Friendly Control Adapters 1.0

The Walkthrough: ASP.NET 2.0 CSS Friendly Control Adapters 1.0: "ASP.NET 2.0 CSS Friendly Control Adapters: The Walkthrough"


www.svdeals.com super value deals

GridViewGuy What's up with Themes?"

GridViewGuy: "What's up with Themes?"

Hey! we got CSS (Cascading Style Sheets) so why do we need Themes? The thing about CSS is that it only exposes some fixed style properties which we can use. If we want to change some property like AlternatingItemStyle of the GridView control we will not be able to do this by using simple CSS. Themes allow you to change the control properties. This mean you can change most of the properties exposed by any server control in ASP.NET 2.0.

www.svdeals.com super value deals

Design Templates

Design Templates

Download these professionally designed Starter Kits and XHTML templates to get you started creating compelling, standards-compliant Web pages with ASP.NET 2.0. There are four Starter Kits below. These Starter Kits are complete web site solutions using ASP.NET’s latest controls (tree view control, grid view control, detail view control, login control, site map path controls and more). There are another 5 XHTML templates below. These are individual XHTML strict Web page templates (available each in two different colors) that are accompanied by design philosophy whitepapers that describe each template’s Section 508 conformance, page layout with CSS (page layouts using CSS floats or tables), Web page accessibility best practices and Web standard resources. All nine templates below are easily customizable and extendable to fit your own content.
For introduction to the ASP.NET Master Pages template set, click here.


www.svdeals.com super value deals

ASP.NET.4GuysFromRolla.com: Creating CSS Friendly Websites with ASP.NET 2.0

ASP.NET.4GuysFromRolla.com: Creating CSS Friendly Websites with ASP.NET 2.0: "Creating CSS Friendly Websites with ASP.NET 2.0"


www.svdeals.com super value deals

ScottGu's Blog : Tip/Trick: Use the ASP.NET 2.0 CSS Control Adapters for CSS friendly HTML output

ScottGu's Blog : Tip/Trick: Use the ASP.NET 2.0 CSS Control Adapters for CSS friendly HTML output: "Tip/Trick: Use the ASP.NET 2.0 CSS Control Adapters for CSS friendly HTML output"




www.svdeals.com super value deals