Binded textbox not allow to loss focus in vb.net

To solve bounded Textbox validating problem in vb.net with WCF Dataset, Follow the following steps.. Drag and Drop field from DataSource window’s Dataset(ServiceReference Dataset) and put on form. Remove Binding source from Property window as show in following sanapshort. 3. Assign binding source to control that now allowing to remove focus while it is empty…

Adding rows to data gridview when data gridview is bounded.

You can use following code to add new row at particular position of data grid view when grid is use bounded connectivity with XML or DATA SET. Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Dim dt As DataTable = DirectCast(dgv.DataSource, DataTable) Dim dr As DataRow dr = dt.NewRow dt.Rows.InsertAt(dr, dgv.CurrentRow.Index +…

Handle Particular Cell Text Change event in Data GridView in VB.NET

The Below code is Enough for handling Particular cell change event, Event can be of key Press ,cut,pest and so on… ‘Ends Edit Mode So CellValueChanged Event Can Fire Private Sub EndEditMode(ByVal sender As System.Object, ByVal e As EventArgs) Handles dgvFile.CurrentCellDirtyStateChanged ‘if current cell of grid is dirty, commits edit If dgvFile.IsCurrentCellDirty Then dgvFile.CommitEdit(DataGridViewDataErrorContexts.Commit) ‘…

Relational Basics for Oracle 10g

Relational Basics  include following things… View Sequences Stored procedures Indexes Database links Download PDF Relational Basics  

Remove Trailing Zeros from number without use VB 6.0 Function

Remove Trailing Zero from text box in vb.net #Region “Function to Remove Zero”      ”’ <summary>     ”’ remove trailing zero     ”’ </summary>     ”’ <param name=”number”>number pass to remove zero</param>     ”’ <returns>result after trailing removing zero</returns>     ”’ <remarks></remarks     Private Function RemoveZero(ByVal number As String) As String     …

Select Text vertically in visual studio

Select Text vertically in visual studio or select column content in visual studio.net The shortcut  key is : Press Alt key and Drag Mouse Vertically on text

Code of Backspace for calculator in Vb.net

If display.Text.Length = 1 Then display.Text = Mid(display.Text, 1, Len(display.Text) – 1) display.Text = 0 Else display.Text = Mid(display.Text, 1, Len(display.Text) – 1) End If

Hardware and Software Requirements For visual studio 2010 Vinstallation

  Windows 7, Windows Vista, Windows XP, Windows Server 2003, or Windows Server 2008 Visual Studio 2010 (Professional, Premium, or Ultimate) or Visual Basic 2010 Express 1.6 GHz processor 1 GB RAM 3 GB of available hard drive space n 5400 RPM hard disk drive  Direct X 9–capable video card that runs at a display resolution…