Click here to Skip to main content
15,895,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required Pin
abiemann9-Apr-09 8:50
abiemann9-Apr-09 8:50 
GeneralRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required Pin
abiemann9-Apr-09 9:12
abiemann9-Apr-09 9:12 
GeneralRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required PinPopular
abiemann10-Apr-09 13:58
abiemann10-Apr-09 13:58 
GeneralRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required Pin
ishant78907-Jul-10 20:35
ishant78907-Jul-10 20:35 
GeneralRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required Pin
eeidfn4-Oct-10 8:56
eeidfn4-Oct-10 8:56 
AnswerRe: WebRequest.GetResponse() = error (407) Proxy Authentication Required Pin
ebjean22-Jul-10 2:34
ebjean22-Jul-10 2:34 
QuestionOPC communication in c# Pin
AlessandroOPC6-Apr-09 11:29
AlessandroOPC6-Apr-09 11:29 
QuestionSystem.ArgumentException: The value of DatagridviewComboboxCell is invalid Pin
Priya Prk6-Apr-09 9:41
Priya Prk6-Apr-09 9:41 
Hi All,
I have a datagridview with some textbox and combobox columns. This shows some data from postgresql.
It works fine bud when im trying to set the DataPropertyName of the combobox column, im getting the error:
System.ArgumentException: The value of DatagridviewComboboxCell is invalid

Here is a part of my code:

NpgsqlCommand com = new NpgsqlCommand("SELECT tablee AS Table, columnn AS Column, sort AS Sort, " +                " criteria AS Criteria, or1 AS ColOr1, or2 AS ColOr2 FROM queryfilters "+                " WHERE category='" + category + "' AND queryname='" + descr + "' AND modifier='"+modifier+"'", mycon);            NpgsqlDataAdapter da = new NpgsqlDataAdapter(com);            DataTable dt = new DataTable();            BindingSource bs = new BindingSource();            da.Fill(dt);            bs.DataSource = dt;            if(dt.Rows.Count != 0)            {                qDesigner.dgvFilters.AutoGenerateColumns = false;                qDesigner.dgvFilters.DataSource = bs;                qDesigner.dgvFilters.Columns["dgvColTable"].DataPropertyName = dt.Columns[0].ColumnName;                //qDesigner.dgvFilters.Columns["dgvColColumn"].DataPropertyName = dt.Columns["Column"].ColumnName;                //qDesigner.dgvFilters.Columns["dgvColSort"].DataPropertyName = dt.Columns["Sort"].ColumnName;                qDesigner.dgvFilters.Columns["dgvColCriteria"].DataPropertyName = dt.Columns["Criteria"].ColumnName;                qDesigner.dgvFilters.Columns["dgvColOr1"].DataPropertyName = dt.Columns["ColOr1"].ColumnName;                qDesigner.dgvFilters.Columns["dgvColOr2"].DataPropertyName = dt.Columns["ColOr2"].ColumnName;            }


Can anyone help me with this issue?

Thanks
QuestionNeed help with binding source Pin
faizych6-Apr-09 9:09
faizych6-Apr-09 9:09 
AnswerRe: Need help with binding source Pin
Henry Minute6-Apr-09 12:08
Henry Minute6-Apr-09 12:08 
GeneralRe: Need help with binding source Pin
faizych6-Apr-09 12:34
faizych6-Apr-09 12:34 
GeneralRe: Need help with binding source Pin
Henry Minute7-Apr-09 1:58
Henry Minute7-Apr-09 1:58 
Questionpassing XML data between .NET exes Pin
dyNamite6-Apr-09 8:21
dyNamite6-Apr-09 8:21 
AnswerRe: passing XML data between .NET exes Pin
Jimmanuel6-Apr-09 8:36
Jimmanuel6-Apr-09 8:36 
GeneralRe: passing XML data between .NET exes Pin
dyNamite7-Apr-09 7:12
dyNamite7-Apr-09 7:12 
GeneralRe: passing XML data between .NET exes Pin
Jimmanuel7-Apr-09 12:12
Jimmanuel7-Apr-09 12:12 
GeneralRe: passing XML data between .NET exes Pin
dyNamite8-Apr-09 18:17
dyNamite8-Apr-09 18:17 
QuestionThreading & StreamReader.Read() Question Pin
Harvey Saayman6-Apr-09 7:47
Harvey Saayman6-Apr-09 7:47 
AnswerRe: Threading & StreamReader.Read() Question Pin
S. Senthil Kumar6-Apr-09 8:09
S. Senthil Kumar6-Apr-09 8:09 
GeneralRe: Threading & StreamReader.Read() Question Pin
Harvey Saayman6-Apr-09 8:51
Harvey Saayman6-Apr-09 8:51 
AnswerRe: Threading & StreamReader.Read() Question Pin
Luc Pattyn6-Apr-09 8:30
sitebuilderLuc Pattyn6-Apr-09 8:30 
Questionhow to transfer binary files ? Pin
E_Gold6-Apr-09 7:05
E_Gold6-Apr-09 7:05 
AnswerRe: how to transfer binary files ? PinPopular
Luc Pattyn6-Apr-09 7:23
sitebuilderLuc Pattyn6-Apr-09 7:23 
GeneralRe: how to transfer binary files ? Pin
EliottA6-Apr-09 9:16
EliottA6-Apr-09 9:16 
GeneralRe: how to transfer binary files ? Pin
Luc Pattyn6-Apr-09 9:34
sitebuilderLuc Pattyn6-Apr-09 9:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.