Click here to Skip to main content
15,881,702 members
Home / Discussions / C#
   

C#

 
QuestionHow can I filter certain messages in log4net Pin
Berlus11-Dec-10 23:54
Berlus11-Dec-10 23:54 
AnswerRe: How can I filter certain messages in log4net Pin
fjdiewornncalwe12-Dec-10 3:50
professionalfjdiewornncalwe12-Dec-10 3:50 
AnswerRe: How can I filter certain messages in log4net Pin
Manfred Rudolf Bihy12-Dec-10 4:39
professionalManfred Rudolf Bihy12-Dec-10 4:39 
GeneralRe: How can I filter certain messages in log4net Pin
Berlus12-Dec-10 11:04
Berlus12-Dec-10 11:04 
AnswerRe: How can I filter certain messages in log4net Pin
Pete O'Hanlon13-Dec-10 0:34
mvePete O'Hanlon13-Dec-10 0:34 
Questiongadgets in windows form Pin
Zeyad Jalil11-Dec-10 23:06
professionalZeyad Jalil11-Dec-10 23:06 
AnswerRe: gadgets in windows form Pin
Eddy Vluggen12-Dec-10 0:47
professionalEddy Vluggen12-Dec-10 0:47 
Questionsetting label.Text by the SqlDataReader's value Pin
Erdinc2711-Dec-10 2:34
Erdinc2711-Dec-10 2:34 
hey guys..i have a SqlTable which consists of 3 columns and 1 row..i have 3 labels on my form and try to change these labels' texts with the datas in my database
i tried something like that
cmd = new SqlCommand("sp_Deneme", conn);
            cmd.CommandType = System.Data.CommandType.StoredProcedure;
            conn.Open();
            
            cmd.ExecuteReader();
            dt = new DataTable();
            DataRow row = dt.NewRow();

            for (int i = 0; i < reader.FieldCount; i++)
            {
                dt.Columns.Add(i.ToString(), Type.GetType("System.String"));
                dt.Rows[0][i] = reader[i].ToString();
            }
            label1.Text = dt.Rows[0][1].ToString();
            label2.Text = dt.Rows[0][2].ToString();
            label3.Text = dt.Rows[0][3].ToString();

but there is no change..my way is wrong ?
vemedya.com

AnswerRe: setting label.Text by the SqlDataReader's value Pin
Henry Minute11-Dec-10 3:46
Henry Minute11-Dec-10 3:46 
AnswerRe: setting label.Text by the SqlDataReader's value [modified] Pin
PIEBALDconsult11-Dec-10 4:41
mvePIEBALDconsult11-Dec-10 4:41 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
Erdinc2711-Dec-10 5:07
Erdinc2711-Dec-10 5:07 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
PIEBALDconsult11-Dec-10 6:52
mvePIEBALDconsult11-Dec-10 6:52 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
Luc Pattyn11-Dec-10 7:02
sitebuilderLuc Pattyn11-Dec-10 7:02 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
PIEBALDconsult11-Dec-10 16:59
mvePIEBALDconsult11-Dec-10 16:59 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
Luc Pattyn11-Dec-10 17:13
sitebuilderLuc Pattyn11-Dec-10 17:13 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
PIEBALDconsult12-Dec-10 4:21
mvePIEBALDconsult12-Dec-10 4:21 
AnswerRe: setting label.Text by the SqlDataReader's value Pin
Luc Pattyn12-Dec-10 5:34
sitebuilderLuc Pattyn12-Dec-10 5:34 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
PIEBALDconsult12-Dec-10 5:48
mvePIEBALDconsult12-Dec-10 5:48 
GeneralRe: setting label.Text by the SqlDataReader's value Pin
Luc Pattyn12-Dec-10 5:55
sitebuilderLuc Pattyn12-Dec-10 5:55 
QuestionGUI User Control does not repaint it self properly after resizing it... Pin
Shultz 210-Dec-10 22:13
Shultz 210-Dec-10 22:13 
AnswerRe: GUI User Control does not repaint it self properly after resizing it... Pin
Luc Pattyn10-Dec-10 23:41
sitebuilderLuc Pattyn10-Dec-10 23:41 
GeneralRe: GUI User Control does not repaint it self properly after resizing it... Pin
Shultz 211-Dec-10 0:18
Shultz 211-Dec-10 0:18 
AnswerRe: GUI User Control does not repaint it self properly after resizing it... Pin
Keith Barrow11-Dec-10 2:27
professionalKeith Barrow11-Dec-10 2:27 
GeneralRe: GUI User Control does not repaint it self properly after resizing it... Pin
Shultz 211-Dec-10 4:59
Shultz 211-Dec-10 4:59 
AnswerRe: GUI User Control does not repaint it self properly after resizing it... Pin
Dr.Walt Fair, PE11-Dec-10 5:29
professionalDr.Walt Fair, PE11-Dec-10 5:29 

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.