Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
A

aztekka

@aztekka
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SQL Query for Excel file
    A aztekka

    Swisher24 wrote:

    Dim col1 As String = "sc_typname" '<-----Column to group by Dim MyCommand1 As New OleDbDataAdapter("select count(*) from flnme group by col1", conn1)

    You are passing the name of the variable to the query string instead of the value of the variable, try the following:

    Dim MyCommand1 As New OleDbDataAdapter("select count(*) from flnme group by " + col1, conn1)

    Database database help

  • can any one tell me whats wrong in this code?
    A aztekka

    you are getting the error because you are not specifying the data type for the method arguments:

    public int credit(_balance , _amount)
    {
    return _balance + _amount;
    }
    public int debit(_balance , _amount)
    {
    return _balance - _amount;
    }

    TRY:

    public int credit(int _balance , int _amount)
    {
    return _balance + _amount;
    }
    public int debit(int _balance , int _amount)
    {
    return _balance - _amount;
    }

    C# question

  • problem with Clipboard GetDataPresent
    A aztekka

    Hi, I have the following code myClass[] items = getItems(); Type ty = typeof(myClass[]); IDataObject dobj = Clipboard.GetDataObject(); dobj.SetData(ty, items); bool checkClipboard = dobj.GetDataPresent(ty); Why does it return false if "items" is not null? anybody with this problem before? Thanks

    C# question help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups