Click here to Skip to main content
15,905,875 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to fill textbox with data from access database in c sharp windows application Pin
Richard Deeming9-Jun-15 7:58
mveRichard Deeming9-Jun-15 7:58 
QuestionSystem.Linq.Dynamic.DynamicExpression.ParseLambda issue with Select() command Pin
HUONG Minh-Luong9-Jun-15 4:31
HUONG Minh-Luong9-Jun-15 4:31 
QuestionRe: System.Linq.Dynamic.DynamicExpression.ParseLambda issue with Select() command Pin
Richard Deeming9-Jun-15 5:57
mveRichard Deeming9-Jun-15 5:57 
AnswerRe: System.Linq.Dynamic.DynamicExpression.ParseLambda issue with Select() command Pin
HUONG Minh-Luong9-Jun-15 7:14
HUONG Minh-Luong9-Jun-15 7:14 
QuestionHow to populate a DropDownList in a DataGrid? Pin
Member 85894998-Jun-15 3:51
Member 85894998-Jun-15 3:51 
AnswerRe: How to populate a DropDownList in a DataGrid? Pin
User 418025410-Jul-15 11:55
User 418025410-Jul-15 11:55 
Questionneed help to use telegram api in c# Pin
adalat1237-Jun-15 19:30
adalat1237-Jun-15 19:30 
AnswerRe: need help to use telegram api in c# Pin
Richard MacCutchan7-Jun-15 21:20
mveRichard MacCutchan7-Jun-15 21:20 
QuestionWhat do these c# lines mean???? Pin
Django_Untaken7-Jun-15 5:33
Django_Untaken7-Jun-15 5:33 
AnswerRe: What do these c# lines mean???? Pin
Dave Kreskowiak7-Jun-15 5:42
mveDave Kreskowiak7-Jun-15 5:42 
GeneralRe: What do these c# lines mean???? Pin
OriginalGriff7-Jun-15 6:04
mveOriginalGriff7-Jun-15 6:04 
GeneralRe: What do these c# lines mean???? Pin
Dave Kreskowiak7-Jun-15 6:35
mveDave Kreskowiak7-Jun-15 6:35 
GeneralRe: What do these c# lines mean???? Pin
OriginalGriff7-Jun-15 6:43
mveOriginalGriff7-Jun-15 6:43 
AnswerRe: What do these c# lines mean???? Pin
OriginalGriff7-Jun-15 6:04
mveOriginalGriff7-Jun-15 6:04 
AnswerRe: What do these c# lines mean???? Pin
Ravi Bhavnani9-Jun-15 6:34
professionalRavi Bhavnani9-Jun-15 6:34 
AnswerRe: What do these c# lines mean???? Pin
Gergilcan13-Jun-15 22:01
professionalGergilcan13-Jun-15 22:01 
QuestionError: Operator '>' cannot be applied to operands of type 'double' and 'System.Random' Pin
Member 117477347-Jun-15 2:37
Member 117477347-Jun-15 2:37 
AnswerRe: Error: Operator '>' cannot be applied to operands of type 'double' and 'System.Random' Pin
Sascha Lefèvre7-Jun-15 2:59
professionalSascha Lefèvre7-Jun-15 2:59 
GeneralRe: Error: Operator '>' cannot be applied to operands of type 'double' and 'System.Random' Pin
Member 117477347-Jun-15 3:00
Member 117477347-Jun-15 3:00 
AnswerRe: Error: Operator '>' cannot be applied to operands of type 'double' and 'System.Random' Pin
Dave Kreskowiak7-Jun-15 3:15
mveDave Kreskowiak7-Jun-15 3:15 
AnswerRe: Error: Operator '>' cannot be applied to operands of type 'double' and 'System.Random' Pin
Afzaal Ahmad Zeeshan7-Jun-15 4:24
professionalAfzaal Ahmad Zeeshan7-Jun-15 4:24 
QuestionHow public static declaration for Statusbar Control ? Pin
Member 24584676-Jun-15 23:41
Member 24584676-Jun-15 23:41 
In C# assuming I have 2 forms: form1 and form2. I open Form1 drag Statusbar Control into Form1 with the following declaration:
C#
public static void LogStatusBar(string status)
  {
       try
            {
                statusBar1.Text = "Thông báo: " + status; // error message here
            }
            catch (Exception ex)
            {

            }
  }
  private void form1_Load(object sender, EventArgs e)
   {
       ....
       LogStatusBar(Message);
       ....
   }

Form1 run before and open form2, form2 will be used together with function LogStatusBar Form1 (...) I have declared above, and in this form2. I declare the following code:
C#
try
  {
     ....
  }
 catch (Exception ex)
  {
      form1.LogStatusBar(ex.Message);
  }
My question posed here as Rebuild Solution in statusBar1.Text error will not be public static because of it, according to my understanding of this, verbatim error: Error 1 An object reference is required for the nonstatic field, method, or property 'Vidu.form1.statusBar1'. I want to declare the control statusBar1 was dragging this into the public static Form1 themselves to declare how the band through household property.
AnswerRe: How public static declaration for Statusbar Control ? Pin
OriginalGriff6-Jun-15 23:57
mveOriginalGriff6-Jun-15 23:57 
QuestionHow to split UTF16 stream Pin
Super Lloyd5-Jun-15 2:22
Super Lloyd5-Jun-15 2:22 
SuggestionRe: How to split UTF16 stream Pin
Richard MacCutchan5-Jun-15 2:29
mveRichard MacCutchan5-Jun-15 2: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.