nelson2391's Profile User Rating: -----

Reputation: -1 Dishonored
Group:
New Members
Active Posts:
14 (0.02 per day)
Joined:
25-May 11
Profile Views:
1,277
Last Active:
User is offline May 19 2013 02:26 AM
Currently:
Offline

Previous Fields

Country:
IN
OS Preference:
Windows
Favorite Browser:
Chrome
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   nelson2391 Hello I'm new here........

Posts I've Made

  1. In Topic: Printing a form using info from list box

    Posted 23 Mar 2012

    Post your code.Then we can help you.
  2. In Topic: "Having" Query errors

    Posted 23 Mar 2012

    just include declare statement to declare "@Param1"
    Try it. but Im not sure. okay

     
    
     Dim da As New SqlDataAdapter(" Declare @Param1 as Varchar(50) SELECT MONTH(Head.SalesDate) AS Month, Detail.ProductID , SUM (Detail.Qty) AS TotalSold , SUM (Detail.Qty/30 ) As Average FROM  Head INNER JOIN Detail ON Head.HeadID = Detail.HeadID Group By MONTH(SalesDate), Detail.ProductID  HAVING (MONTH(Head.SalesDate) = @Param1)", con)
    
    
    
  3. In Topic: Error handling

    Posted 19 Jan 2012

    Sorry for that.
    Thanks for helping me.

    View Postsmohd, on 18 January 2012 - 11:41 AM, said:

    Then you will need to catch SQlException( but doesnot guarantee that the error will be that), then use catch block to replace.
    Or a simply way is just to replace them in every input without waiting for the exception to occur, because the replace method will simply ignore if it didnt find what to replace.

    But I am also thinking you didnt use parameter-style query, this will help avoid user input from added as a normal query and instead treated as input...

    okay i will try it..
    thanks
  4. In Topic: datagridview in vb.net

    Posted 9 Nov 2011

    hi
    create a form and place a grid

    use the below code


    Public Class Form1
    
        Private Sub DataGridView1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles DataGridView1.KeyPress
            Dim x As Integer = DataGridView1.CurrentRow.Index
            If e.KeyChar = Chr(13) Then
                DataGridView1.CurrentCell.Selected = False
                DataGridView1.Rows(x).Cells(3).Selected = True
            End If
        End Sub
    
    End Class
    
    
  5. In Topic: how to check a file is currently using or not?

    Posted 8 Jun 2011

    yeah really good explanation.

My Information

Member Title:
New D.I.C Head
Age:
22 years old
Birthday:
March 2, 1991
Gender:
Programming Languages:
c,c++,vb.net

Contact Information

E-mail:
Private
Skype:
Skype  nelsonthimothiyose
Facebook:
http://www.facebook.com/nelson2391

Comments

nelson2391 has no profile comments yet. Why not say hello?