Mega Code Archive
Categories
/
ASP.Net
/
ADO Database
Handling Null values in the SqlDataSource Control
<%@ Page Language="C#" %>
Handling Null values in the SqlDataSource Control
" SelectCommand="Select ProductSubcategoryID, Name from Production.ProductSubcategory">
Categories:
ALL
" SelectCommand="Select ProductID, Name, ProductNumber, StandardCost from Production.Product WHERE ProductSubcategoryID = IsNull(@ProductSubcategoryID, ProductSubcategoryID)">