Latest ASP.NET Blog Entries At dougv.com

The Basics Of Avoiding MySQL Injection Attacks In ASP.NET Web Forms

Tuesday, May 08, 2012 | ASP.NET

Received in my email today: Hi say your blog and thought you might help. strsql = “SELECT StaffID, DesignationID, StaffName, Password, ShopID from staffT where StaffName =” & UserName.Text & ” AND Password =” & Password.Text & “” from the string, the username.text and password.text are form controls. what is happening is there are passing [...]

Related Posts
  1. Parent-Child DropDownList Controls In ASP.NET Web Forms (VB.NET) (25.1)
  2. Automatically Hash Tagging Text With ASP.NET Web Forms (VB.NET) (24.2)
  3. Displaying Selected YouTube Data API Thumbnails On A Web Page Via ASP.NET Web Forms (24.2)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

Getting All ZIP Codes In A Given Radius From A Known Point / ZIP Code Via ASP.NET

Wednesday, April 11, 2012 | ASP.NET

If you provide a starting ZIP Code and a distance, this code will return all other ZIP codes within that distance.

Related Posts
  1. Getting All ZIP Codes In A Given Radius From A Known Point / ZIP Code Via PHP And MySQL (56.2)
  2. zip codes within 1,000 mile radius of 19142 (32.2)
  3. all zip codes 100 miles from 03251 (22.3)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

Displaying Selected YouTube Data API Thumbnails On A Web Page Via ASP.NET Web Forms

Thursday, March 15, 2012 | API

Describes how to query the YouTube Data API, process its response XML, and display thumbnails hyperlinked to youtube.com video pages.

Related Posts
  1. Displaying Selected YouTube Video Thumbnails On An ASP.NET Web Forms Page (64.7)
  2. Automatically Hash Tagging Text With ASP.NET Web Forms (VB.NET) (24.5)
  3. Parent-Child DropDownList Controls In ASP.NET Web Forms (VB.NET) (23.9)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

Displaying Selected YouTube Video Thumbnails On An ASP.NET Web Forms Page

Thursday, March 08, 2012 | API

Describes how to hyperlink YouTube video thumbnails on an ASP.NET Web Forms Page, linking to those videos on YouTube.com.

Related Posts
  1. Automatically Hash Tagging Text With ASP.NET Web Forms (VB.NET) (24)
  2. Parent-Child DropDownList Controls In ASP.NET Web Forms (VB.NET) (23.8)
  3. Displaying An Image Stored In A SQL Server Database On An ASP.NET Page Using VB.NET (22.5)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

Parent-Child DropDownList Controls In ASP.NET Web Forms (VB.NET)

Sunday, December 25, 2011 | ASP.NET

Discusses three approaches to databinding child values in an ASP.NET DropDownList, based on parent DropDownList selections.

Related Posts
  1. Parent – Child Select Lists Revisited: Multiple Parent – Child Select Lists Via PHP, MySQL And jQuery (28.7)
  2. Automatically Hash Tagging Text With ASP.NET Web Forms (VB.NET) (25)
  3. Using AJAX To Data Bind A Child Drop Down List Based On The Selected Option Of A Parent Select Control (24)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

also with auto hashtagging: if you have already a hashtag you get double hashtags…

Saturday, December 17, 2011 | ASP.NET

Please see my follow-up article, which discusses how to avoid double hashtagging.

Related Posts
  1. I read your article about auto-hashtagging. Maybe you forgot when a to-be-tag is ending with a ‘.’ of ‘,’ or other punctuation…? (31)
  2. Automatically Hash Tagging Text With PHP And MySQL (7)
  3. Automatically Hash Tagging Text With PHP And MySQL Part 2: Adding New Hash Tags To The Database Table (7)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.

I read your article about auto-hashtagging. Maybe you forgot when a to-be-tag is ending with a ‘.’ of ‘,’ or other punctuation…?

Saturday, December 17, 2011 | ASP.NET

My solution on auto hashtagging doesn't consider punctuation. It's an easy fix if you use a regular expression.

Related Posts
  1. Automatically Hash Tagging Text With PHP And MySQL (10.7)
  2. Automatically Hash Tagging Text With PHP And MySQL Part 2: Adding New Hash Tags To The Database Table (10.7)
  3. Automatically Hash Tagging Text With ASP.NET Web Forms (VB.NET) (8.5)

The numbers inside parentheses are relevance scores. Scoring is based, in order of priority, on title, category, content and tags. The higher the score, the more likely that post relates to this post.