CodeWidgets.com: Online Source Code Library: C#, ASP, ASP.NET, VB, VB.NET, VB Script, Microsoft Access, Excel, JavaScript, J Script, XML, VBScript, Website Design, DevExpress Components, Reporting, Application and Website Templates.

Widget #CS0073

FixQuotes Function (ASP.NET, VB.Net)

Free

Using quotes in data bound web pages.

Public Function FixQuotes(ByVal strValue As String) As String
FixQuotes = Replace(strValue, "'", "''")
End Function

Syntax:
Dim strNew as String
strNew = FixQuotes("This 'text' has "quotes" in it")

Last Updated: 4/27/2018


Related Widgets 
Price 
# 
CS0002 Adding a Default value of zero in a lookup Query (SQL Server)$0.00Add To Cart
CS0008 DateRange.NET Class (Visual Basic.Net)$10.00Add To Cart
CS0013 Microsoft® .NET Framework 4.7.1$0.00Add To Cart
CS0052 ShoppingCart WebUserControl (C#.NET Dot.net 3.5 & 4.5)$40.00Add To Cart
CS0050 ShoppingCart WebUserControl (VB.NET Dot.net 3.5 & 4.5)$40.00Add To Cart
CS0007 ShoppingCart.NET Class (Visual Basic.Net)$10.00Add To Cart

Recently Viewed Widgets 
Price 
# 
No data to display

Collapse/Expand
Format

Plug & Play Code

Copy the Source Code Above..


Collapse/Expand
License

License

No Restrictions

Re-Distribution Permitted
This source code is provided to you "as is" without warranty
CLICK HERE FOR TERMS OF USE
Copyright 2000-2006 Comrie Software Solutions