Click here to Skip to main content
15,892,517 members
Home / Discussions / C#
   

C#

 
AnswerRe: cache question Pin
Daniel Grunwald24-Sep-05 21:52
Daniel Grunwald24-Sep-05 21:52 
Questionchecking LAN connectivity Pin
g00fyman24-Sep-05 16:19
g00fyman24-Sep-05 16:19 
AnswerRe: checking LAN connectivity Pin
mav.northwind24-Sep-05 20:38
mav.northwind24-Sep-05 20:38 
GeneralRe: checking LAN connectivity Pin
g00fyman24-Sep-05 20:48
g00fyman24-Sep-05 20:48 
GeneralRe: checking LAN connectivity Pin
g00fyman24-Sep-05 21:33
g00fyman24-Sep-05 21:33 
GeneralRe: checking LAN connectivity Pin
mav.northwind25-Sep-05 19:58
mav.northwind25-Sep-05 19:58 
GeneralRe: checking LAN connectivity Pin
g00fyman25-Sep-05 21:17
g00fyman25-Sep-05 21:17 
QuestionCheck Box Pin
Anonymous24-Sep-05 16:17
Anonymous24-Sep-05 16:17 
I am using following code to populate my windows datagrid. I have a boolean colunm for credit card transactions [called CCTransaction]. I would like this column to be a check box column insted of it showing 0s and 1s. Could you please help me with this. Thanks and advace.

private void frmEntryDataGrid_Load(object sender, System.EventArgs e)
{
    string sqlString    = "SELECT ID, CheckNumber, CCTransaction, Comments, Total, Amount, DateTimeVal FROM tbl_Total_Control";
    SqlDataAdapter da   = new SqlDataAdapter(sqlString, SqlConn);
    DataSet ds      = new DataSet();
    try
    {
        da.Fill(ds,"tbl_Total_Control");
        dgTC.DataSource = ds.Tables["tbl_Total_Control"];
    }
    catch(SqlException exSQL)
    {
        MessageBox.Show(this,exSQL.Message,"DATABASE ERROR!",MessageBoxButtons.OK,MessageBoxIcon.Error);
    }
    catch(Exception exc)
    {
        MessageBox.Show(this,exc.Message,"ERROR!",MessageBoxButtons.OK,MessageBoxIcon.Error);
    }
    finally
    {
        if(SqlConn.State == ConnectionState.Open)
        {
            SqlConn.Close();
        }
    }
}

AnswerRe: Check Box Pin
miah alom25-Sep-05 7:11
miah alom25-Sep-05 7:11 
QuestionProblem in Code : SEE COMMENT** Pin
Anonymous24-Sep-05 16:13
Anonymous24-Sep-05 16:13 
AnswerRe: Problem in Code : SEE COMMENT** Pin
Guffa24-Sep-05 22:00
Guffa24-Sep-05 22:00 
QuestionControl Array Pin
StephenMcAllister24-Sep-05 10:49
StephenMcAllister24-Sep-05 10:49 
AnswerRe: Control Array Pin
Daniel Grunwald24-Sep-05 21:34
Daniel Grunwald24-Sep-05 21:34 
GeneralRe: Control Array Pin
StephenMcAllister24-Sep-05 21:57
StephenMcAllister24-Sep-05 21:57 
Questionxml node problem Pin
thepersonof24-Sep-05 8:48
thepersonof24-Sep-05 8:48 
AnswerRe: xml node problem Pin
Guffa24-Sep-05 12:27
Guffa24-Sep-05 12:27 
QuestionApplication Domains Pin
Tomas Brennan24-Sep-05 4:41
Tomas Brennan24-Sep-05 4:41 
AnswerRe: Application Domains Pin
Nick Parker24-Sep-05 9:05
protectorNick Parker24-Sep-05 9:05 
GeneralRe: Application Domains Pin
Tomas Brennan25-Sep-05 5:38
Tomas Brennan25-Sep-05 5:38 
GeneralRe: Application Domains Pin
Tomas Brennan29-Sep-05 3:13
Tomas Brennan29-Sep-05 3:13 
QuestionBig StructLayout question Pin
Alex Cutovoi24-Sep-05 4:14
Alex Cutovoi24-Sep-05 4:14 
AnswerRe: Big StructLayout question Pin
Guffa24-Sep-05 8:44
Guffa24-Sep-05 8:44 
QuestionC# articles Pin
CWinThread24-Sep-05 4:12
CWinThread24-Sep-05 4:12 
AnswerRe: C# articles Pin
Alex Cutovoi24-Sep-05 4:21
Alex Cutovoi24-Sep-05 4:21 
GeneralRe: C# articles Pin
CWinThread24-Sep-05 13:18
CWinThread24-Sep-05 13:18 

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.