السلام عليكم ورحمة الله وبركاته
انا جديد فى علم asp .net
المهم
انا بستخدم الكود التالى فى تطبيقات Windows
Imports System.Windows.Forms
Public Function clearcontrol(ByVal d As ContainerControl) Dim textd As TextBox For Each a As Control In d.Controls If TypeOf a Is TextBox Then a.Text = "" End If Next End Function
وشغال معايا تمام
اما المشكلة فى asp .net
Imports System.Web
مش عارف اكتب اية بعد Web
واكيد فى Function اعترض على As ContainerControl
فهل من حل
وجزاكم الله خيرا
