VB Code
===========================================
Sub ClearTextBox(ByVal f As Form)
For Each currentControl As Control In f.Controls
If TypeOf currentControl Is TextBox Then
Dim theTextBox As TextBox = DirectCast(currentControl, TextBox)
theTextBox.Text =""
End If
Next
End Sub
===========================================
C# Code
===========================================
public void ClearTextBox(Form f)
{
foreach (Control currentControl in f.Controls) {
if (currentControl is TextBox) {
TextBox theTextBox = (TextBox)currentControl;
theTextBox.Text="";
}
}
}
===========================================
Friday, October 23, 2009
Khmer Unicode rendering in Crystal report viewer of Studio 2008
Dear all,
Reference url solution for Khmer Unicode + Crystal report in studio 2008:
Thanks in advance!
Subscribe to:
Posts (Atom)
