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) ‘…

History of Oracle introductions

History of Oracle introductions Year Feature 1977 Software Development Laboratories founded by Larry Ellison, Bob Miner, Ed Oates 1979 Oracle version 2: first commercially available relational database to use SQL 1983 Oracle version 3: single code base for Oracle across multiple platforms 1984 Oracle version 4: with portable toolset, read consistency 1986 Oracle version 5…

Relational Basics for Oracle 10g

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

Code for Simple Calculator

Calculator Calculation function Private Function CalculateTotals(ByVal decNumber1 As Decimal, ByVal decNumber2 As Decimal, ByVal strOpValue As String) As String ‘Variable to store integer part length of float number Dim intPartLength As Integer ‘Store final answered after processing for Result possibility Dim strAns As String = “” ‘Perform calculation according input number and input operator ‘strOpValue…

Introduction to Oracle 10g

Oracle Database 10g (released in 2003) enabled deployment of “grid” computing. A grid is simply a pool of computers and software resources providing resources for applications on an as-needed basis. Oracle Database 10g also further reduced the time, cost, and complexity of database management through the introduction of self-managing features such as the Automated Database Diagnostic Monitor, Automated Shared…

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…