• Increase font size
  • Default font size
  • Decrease font size

Modifying the appearance of ASP.NET GridView using CSS

E-mail Print PDF

If you are using the ASP.NET GridView control in any of your web apps, you are likely frustrated by its display options.  Khaled wrote a great article on how to modify the appearance of the GridView using CSS.  It is a very simple process of adding a few tags to the gridview and defining your CSS.  He was even thoughtful enough to provide a downloadable sample.  If you are tired of the default appearance of this control then check out his great tutorial here.


Thrive for developers

E-mail Print PDF

Microsoft has recently created the Thrive website for developers.  Microsoft dubs it as "a one-stop community hub that offers job postings, technical content, and community resources."  The site does offer many resources for web developers ranging from data-driven sites to website security.  Thrive also offers resources for advancing your career and connecting with other developers, so if you are developing with Microsoft technology check it out.

Last Updated on Thursday, 11 February 2010 20:36

Using Image ALT text to influence your keyword ranking

E-mail Print PDF

Over at Website Magazine I just read a great short article about using image ALT text to positively influence your keyword ranking. Basically the article is saying that we should be sure to include your page's relative keywords in any Image ALT text. Also keep in mind that Image ALT text's primary purpose is to aid in accessibility. Check out the original article over here.


Preventing SQL Injection attacks in ASP.NET

E-mail Print PDF

MikesDotNetting recently did a great article on SQL Injection.  He gave a great explanation of the problem with examples and how to prevent injection attacks.  If you are writing code that executes SQL based on user input (text boxes, etc) you REALLY need to take a look at his article.  You can check it out here


Adding a View Cart button when using Paypal with ASP.NET

E-mail Print PDF

If you have used Paypal with a simple website, you may be familiar with Paypal's button creator.  It allows you to create HTML buttons that you can embed on your pages.  However this does not work so well with ASP.NET due to the multiple FORM elements.  I have found other examples of how to create "Add to Cart" buttons with ASP.NET and used those methods with success.  However, I could not find a simple example to create a "View Cart" button that linked to the PayPal shopping cart.  This is a very simple process.  

1) Add an ASP.NET button to your web form.

2) In the Click event for your button, add the following code (this is VB):

  Dim MerchantId as string = "xxxx" 'set this to your Secure Merchant ID or Paypal Email Address 

  Response.Redirect("" & MerchantId)


Page 9 of 20

Recommended Web Hosting

Free Stuff!

Featured FREE Resource:

Featured FREE Resource: