Tag Archives: c#
ASP.NET C# – Numeric TextBox control validation
There are times when you need to ensure numeric values are entered into a TextBox control. This can be accomplished using a CompareValidator with the Operator attribute set to "DataTypeCheck" and Type attribute set to the numeric type (Double or … Continue reading
Posted in Web Development Tagged asp.net, c#, web Comments Off on ASP.NET C# – Numeric TextBox control validation
ASP.NET C# – Retrieving an HTTP Request Parameter
In the C# code use the QueryString array within the Request object to retrieve request values. In the example below the query string parameter named “parm” (no quotes) was received in the HTTP GET request. Request URL: http://www.example.com?parm=thisvalue C# code: … Continue reading
Posted in Web Development Tagged asp.net, c#, web Comments Off on ASP.NET C# – Retrieving an HTTP Request Parameter