Tags » VB .NET

Clearing a datagridview in VB.Net

 

DataGridView1.DataSource = Nothing

DataGridView1.Rows.Clear()

 DataGridView1.Columns.Clear()

Visual Basic

Jr. ASP.NET requirement - RealWorldSolution

Company : RealWorldSolution
Position– Jr.ASP.Net DeveloperJob
Location: -Ahmedabad
TechnicalSkills:C#,Visual Basic .NET, .NET Framework 2.0, 3.5,ASP.NET, WebServices_ .NETExperience should includeworking in Windowand Web Applications both.

Asp.net

Email Validation Regex

Every now and then I come across a situation where I need to use regex and especially during email validations. I think I have found a good email validation regex and therefore sharing it. 70 more words

Technical

Custom Event in VB.NET

Theoretically, Events are actions happening when an object is acted with a generic action. For example, event click occurs when user clicks a button. We all know that there are a lot of events of controls in 1,088 more words

Custom Event In VB.NET

Updating a WPF Control

If you need to update a UI control from within a WPF application the easiest method I have found yet is via the Dispather.

Dispatcher.Invoke(New Action(Sub() Progressbar.value=50))
'A Multi Line Invoke
Dispatcher.Invoke(New Action(Sub() 
                               if somevar=false then
                                  ProgressBar.Value=0
                                else
                                  ProgressBar.value=CurrentProgress
                                end if
                                End Sub))