User Profile

Collapse

Profile Sidebar

Collapse
melryin
melryin
Last Activity: Jan 6 '09, 08:54 AM
Joined: Dec 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • melryin
    replied to OleDb query with positioned parameters
    You are absolutely correct, the parameter is my problem. I tried your way.It works =D

    But I use parameter method is to escape escape-characters in key, which is input by user. If I do it in this way, it won't escape....
    See more | Go to post

    Leave a comment:


  • melryin
    started a topic OleDb query with positioned parameters

    OleDb query with positioned parameters

    Hi,

    I'm a newbie in C#, I wrote an OLEDb query with positioned parameter. It seems not working. Can anyone please point out where I've done wrong? Thanks in advance.

    Here is my code:

    Code:
    using (OleDbConnection conn = new OleDbConnection(connString))
    {
                 String key = textbox1.text;
                 string cmd = "Select * from [" + filename + "] Where " + fieldname + "
    ...
    See more | Go to post

  • Hi,

    Thanks for your reply. You are right, I need to ReportProgress. I think that's because I didn't set bgw.WorkerRepor tProgress = true. That's why I got an error message.

    I appreciate for your help. =D
    See more | Go to post

    Leave a comment:


  • melryin
    started a topic How to update the progress bar in a modal window?
    in .NET

    How to update the progress bar in a modal window?

    Hi,

    I'm a novice in C#. I wrote a program to export data from datagridview. While exporting, a pop-up window shows the progress of file exporting.

    The code is as follow:

    BackgroundWorke r bgw = new BackgroundWorke r();

    bgw.DoWork += delegate
    {
    //Code for exporting data
    };

    bgw.RunWorkerAs ync();
    FrmProgress progress = new FrmProgress();...
    See more | Go to post

  • melryin
    started a topic C# Problem
    in .NET

    C# Problem

    Hi,

    I'm a novice in C#. I wrote a program to export data from datagridview. While exporting, a pop-up window shows the progress of file exporting.

    The code is as follow:

    Code:
     BackgroundWorker bgw = new BackgroundWorker();
    
     bgw.DoWork += delegate
     {
            //Code for exporting data 
      };
    
      bgw.RunWorkerAsync();
      FrmProgress progress = new FrmProgress();
    ...
    See more | Go to post
No activity results to display
Show More
Working...