User Profile

Collapse

Profile Sidebar

Collapse
pykie101
pykie101
Last Activity: Jul 1 '08, 01:31 AM
Joined: Jun 27 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • pykie101
    started a topic PostgreSQL object datatype

    PostgreSQL object datatype

    Hi,

    I'm having a problem, I'm using PostgreSQL V8.3.3-1, Npgsql and Visual studio 2008 c#.

    I'm passed a dictionary of key, value (key been a string, value been an object). The code works fine with key and value both been strings but postgresql doesn't seem to like it when the value is an object. How can I correct my code to work when passed an object? I realise that rowsaffected is currently only storing the first value,...
    See more | Go to post

  • pykie101
    started a topic using a dictionary with Npgsql

    using a dictionary with Npgsql

    Hi, I'm trying to use a dictionary with c# and npgsql in visual studio 2008 and I'm unsure how, i'm very new to postgresql, npgsql, and .net infact! (3rd week). There are multiple keys and values in the dictionary, to keep things simple.

    Code:
    Dictionary<string, object> d = new Dictionary<string, object>();
    d.Add("value1", "data1");
    d.Add("value2", "data2");
    ...
    See more | Go to post
No activity results to display
Show More
Working...