Click here to Skip to main content
15,894,546 members
Home / Discussions / C#
   

C#

 
AnswerRe: Visual Studio doesn't detect invalid parameter type errors? Pin
#realJSOP23-Dec-09 0:30
mve#realJSOP23-Dec-09 0:30 
GeneralRe: Visual Studio doesn't detect invalid parameter type errors? Pin
Xargo23-Dec-09 2:50
Xargo23-Dec-09 2:50 
GeneralRe: Visual Studio doesn't detect invalid parameter type errors? Pin
#realJSOP23-Dec-09 8:16
mve#realJSOP23-Dec-09 8:16 
GeneralRe: Visual Studio doesn't detect invalid parameter type errors? Pin
Xargo25-Dec-09 4:44
Xargo25-Dec-09 4:44 
QuestionCapicom publish error Pin
BDJones22-Dec-09 10:45
BDJones22-Dec-09 10:45 
QuestionHost ComboBox In DataGridView Pin
Kevin Marois22-Dec-09 10:38
professionalKevin Marois22-Dec-09 10:38 
AnswerRe: Host ComboBox In DataGridView Pin
Md. Marufuzzaman22-Dec-09 10:57
professionalMd. Marufuzzaman22-Dec-09 10:57 
GeneralRe: Host ComboBox In DataGridView Pin
Kevin Marois22-Dec-09 11:10
professionalKevin Marois22-Dec-09 11:10 
Ok, I am now able to add the column, but when I click the arrow, there is nothing in it. Here's my code so far:

private void _SetupLists()
{
    _TableId = (int)cboTables.SelectedValue;
    DataSet dsGrid = DataProcs.ExecuteQuery("SELECT ColumnId, TableId, ColumnName, Expression FROM Columns WHERE TableId = " + _TableId, CommandType.Text);

    grdColumns.DataSource = null;
    grdColumns.DataMember = null;

    if (dsGrid.Tables[0].Rows.Count > 0)
    {
        grdColumns.DataSource = dsGrid.Tables[0];
        grdColumns.Columns[0].Visible = false;
        grdColumns.Columns[1].Visible = false;
        grdColumns.Columns[2].Width = 200;
        grdColumns.Columns[3].Width = 490;
    }

    // THIS IS THE PART THAT DOES NOT WORK
    DataSet dsTables = DataProcs.ExecuteQuery("SELECT TableId, QueryName FROM Tables ORDER BY TableName");
    DataGridViewComboBoxColumn colTables = new DataGridViewComboBoxColumn();
    colTables.Name = "colTables";
    colTables.DataSource = dsTables.Tables[0];
    grdColumns.Columns.Add(colTables);
}


Everything makes sense in someone's mind

Questioninsert data problem Pin
dr_move22-Dec-09 10:38
professionaldr_move22-Dec-09 10:38 
AnswerRe: insert data problem Pin
Md. Marufuzzaman22-Dec-09 11:03
professionalMd. Marufuzzaman22-Dec-09 11:03 
Questionis there any binary to decimal convertor class Pin
hotthoughtguy22-Dec-09 10:04
hotthoughtguy22-Dec-09 10:04 
AnswerRe: is there any binary to decimal convertor class Pin
Luc Pattyn22-Dec-09 10:16
sitebuilderLuc Pattyn22-Dec-09 10:16 
GeneralRe: is there any binary to decimal convertor class Pin
hotthoughtguy22-Dec-09 10:18
hotthoughtguy22-Dec-09 10:18 
GeneralRe: is there any binary to decimal convertor class Pin
Luc Pattyn22-Dec-09 10:27
sitebuilderLuc Pattyn22-Dec-09 10:27 
GeneralRe: is there any binary to decimal convertor class Pin
#realJSOP22-Dec-09 10:47
mve#realJSOP22-Dec-09 10:47 
AnswerRe: is there any binary to decimal convertor class Pin
DaveyM6926-Dec-09 16:09
professionalDaveyM6926-Dec-09 16:09 
GeneralRe: is there any binary to decimal convertor class Pin
hotthoughtguy26-Dec-09 22:43
hotthoughtguy26-Dec-09 22:43 
Questioncustom shaped windows forms in c# problem Pin
hosseinghazanfary22-Dec-09 7:35
hosseinghazanfary22-Dec-09 7:35 
AnswerRe: custom shaped windows forms in c# problem Pin
Md. Marufuzzaman22-Dec-09 9:26
professionalMd. Marufuzzaman22-Dec-09 9:26 
QuestionStoring 2 bytes in one Pin
Chris Copeland22-Dec-09 5:57
mveChris Copeland22-Dec-09 5:57 
Answercrap Pin
Luc Pattyn22-Dec-09 6:21
sitebuilderLuc Pattyn22-Dec-09 6:21 
GeneralRe: crap Pin
Chris Copeland22-Dec-09 6:25
mveChris Copeland22-Dec-09 6:25 
GeneralRe: crap Pin
Luc Pattyn22-Dec-09 7:58
sitebuilderLuc Pattyn22-Dec-09 7:58 
AnswerRe: Storing 2 bytes in one Pin
harold aptroot22-Dec-09 6:29
harold aptroot22-Dec-09 6:29 
GeneralRe: Storing 2 bytes in one Pin
Chris Copeland22-Dec-09 6:51
mveChris Copeland22-Dec-09 6:51 

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.