Click here to Skip to main content
15,918,889 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionUnable to use array for control Pin
souvikd21-Jul-10 10:07
souvikd21-Jul-10 10:07 
AnswerRe: Unable to use array for control Pin
Abhinav S21-Jul-10 18:41
Abhinav S21-Jul-10 18:41 
AnswerRe: Unable to use array for control Pin
Roger Wright21-Jul-10 19:45
professionalRoger Wright21-Jul-10 19:45 
AnswerRe: Unable to use array for control Pin
Goutam Patra21-Jul-10 22:20
professionalGoutam Patra21-Jul-10 22:20 
GeneralRe: Unable to use array for control Pin
souvikd21-Jul-10 23:18
souvikd21-Jul-10 23:18 
GeneralRe: Unable to use array for control Pin
Goutam Patra21-Jul-10 23:38
professionalGoutam Patra21-Jul-10 23:38 
GeneralRe: Unable to use array for control Pin
souvikd22-Jul-10 0:45
souvikd22-Jul-10 0:45 
GeneralRe: Unable to use array for control Pin
Goutam Patra22-Jul-10 1:21
professionalGoutam Patra22-Jul-10 1:21 
Well then you need some logic to do your job.

May be you can use the Tag property of a control to do your job.
Specify same tag for all set of controls you want clear.
Then clear all controls with the same Tag
Private Sub ClearData(nTag as string)
Dim fControls As Control
 Dim txtCur AS TextBox
  For Each fControls In Me.Controls
   If fControls.GetType Is GetType(TextBox) Then
     txtCur = CType(fControls, TextBox)
     if txtCur.Tag = nTag then txtCur.Text = ""
   end if
  Next
End Sub


Or may be you can use a GroupBox to separate your Control Set and replace Me.Controls to GroupBox1.Controls

Now you need to use your own logic to do your job. Isnt it?
GeneralRe: Unable to use array for control Pin
souvikd22-Jul-10 18:25
souvikd22-Jul-10 18:25 
AnswerRe: Unable to use array for control Pin
gargagan26-Jul-10 5:57
gargagan26-Jul-10 5:57 
QuestionClickOnce InvalidDeploymentException Pin
agent00zelda21-Jul-10 7:59
agent00zelda21-Jul-10 7:59 
AnswerRe: ClickOnce InvalidDeploymentException Pin
Peace ON22-Jul-10 20:27
Peace ON22-Jul-10 20:27 
QuestionGridview values not save on postback Pin
Clint Westwood21-Jul-10 5:20
Clint Westwood21-Jul-10 5:20 
AnswerRe: Gridview values not save on postback Pin
Not Active21-Jul-10 8:58
mentorNot Active21-Jul-10 8:58 
Questionhow to create web organisation chart using mysql database in C#, ASP.net Pin
sr15921-Jul-10 2:47
sr15921-Jul-10 2:47 
AnswerRe: how to create web organisation chart using mysql database in C#, ASP.net Pin
Abhinav S21-Jul-10 3:36
Abhinav S21-Jul-10 3:36 
QuestionAnybody knows the proper website link of downloading and creating the web employee organisation chart application dynamically using mysql database in C#, ASP.net [modified] Pin
sr15921-Jul-10 18:53
sr15921-Jul-10 18:53 
Questionasp.net Pin
mudassir 198820-Jul-10 20:06
mudassir 198820-Jul-10 20:06 
AnswerRe: asp.net Pin
Richard MacCutchan20-Jul-10 21:32
mveRichard MacCutchan20-Jul-10 21:32 
AnswerRe: asp.net Pin
Abhinav S21-Jul-10 18:41
Abhinav S21-Jul-10 18:41 
Questionproblem in restoring mysql dump file using C#.net Pin
sr15920-Jul-10 1:10
sr15920-Jul-10 1:10 
AnswerRe: problem in restoring mysql dump file using C#.net Pin
Richard MacCutchan20-Jul-10 2:09
mveRichard MacCutchan20-Jul-10 2:09 
AnswerRe: problem in restoring mysql dump file using C#.net Pin
Pete O'Hanlon20-Jul-10 4:25
mvePete O'Hanlon20-Jul-10 4:25 
Generalproblem solved thnk you for all who replied to me Pin
sr15921-Jul-10 22:33
sr15921-Jul-10 22:33 
AnswerRe: problem in restoring mysql dump file using C#.net Pin
Arjun Jutur Sathyanarayana8-Aug-10 22:48
Arjun Jutur Sathyanarayana8-Aug-10 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.