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,...
User Profile
Collapse
-
PostgreSQL object datatype
-
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");
No activity results to display
Show More