Click here to Skip to main content
15,867,835 members
Home / Discussions / C#
   

C#

 
QuestionMongoDB, c# driver, ElemMatch an array within an array Pin
jkirkerx19-Dec-19 10:12
professionaljkirkerx19-Dec-19 10:12 
AnswerRe: MongoDB, c# driver, ElemMatch an array within an array Pin
#realJSOP23-Dec-19 0:43
mve#realJSOP23-Dec-19 0:43 
GeneralRe: MongoDB, c# driver, ElemMatch an array within an array Pin
jkirkerx23-Dec-19 6:42
professionaljkirkerx23-Dec-19 6:42 
AnswerRe: MongoDB, c# driver, ElemMatch an array within an array [solved] Pin
jkirkerx23-Dec-19 7:10
professionaljkirkerx23-Dec-19 7:10 
QuestionImage deblur Pin
Member 1318127618-Dec-19 9:48
Member 1318127618-Dec-19 9:48 
AnswerRe: Image deblur Pin
OriginalGriff18-Dec-19 9:53
mveOriginalGriff18-Dec-19 9:53 
AnswerRe: Image deblur Pin
Richard MacCutchan18-Dec-19 21:26
mveRichard MacCutchan18-Dec-19 21:26 
QuestionVFPOLEDB Encoding issue Pin
pepl8016-Dec-19 12:40
pepl8016-Dec-19 12:40 
Hi,

I got issue with reading data with proper encoding from DBF file.
Can you please help me to fix it? I can already read it but I can't find a way how to read the stream and convert it on the fly. All internet findings are not enough for me to adjust my code properly.
Her is the the code I use to read with wrong encoding:
private void WczytajTabeleSubiekta(string nazwaTabeli, string parametr, string parametr2, out DataTable dt)
        {
            dt = new DataTable();
            try
            {
                OleDbConnection oConn = new OleDbConnection("Provider=VFPOLEDB.1;" + "Data Source=" + subiektPath + @"\DBFS\" + nazwaTabeli + ";Collating Sequence=machine");

                oConn.Open();
                System.Data.OleDb.OleDbCommand oCmd = oConn.CreateCommand();
                oCmd.CommandText = "SELECT " + parametr + " FROM " + subiektPath + @"\DBFS\" + nazwaTabeli + " " + parametr2;
                dt.Load(oCmd.ExecuteReader());
                oConn.Close();
            }
            catch (Exception ex)
            {
                MessageBox.Show("Błąd podczas wczytywania tabeli - " + nazwaTabeli + "\n" + ex.Message.ToString(), "Komunikat");
            }
        }

AnswerRe: VFPOLEDB Encoding issue Pin
Dave Kreskowiak16-Dec-19 13:48
mveDave Kreskowiak16-Dec-19 13:48 
GeneralRe: VFPOLEDB Encoding issue Pin
pepl8016-Dec-19 23:32
pepl8016-Dec-19 23:32 
GeneralRe: VFPOLEDB Encoding issue Pin
Dave Kreskowiak17-Dec-19 3:03
mveDave Kreskowiak17-Dec-19 3:03 
GeneralRe: VFPOLEDB Encoding issue Pin
Gerry Schmitz17-Dec-19 5:54
mveGerry Schmitz17-Dec-19 5:54 
Questionhow to make a minimalist event manager with c# Pin
Rohan Varendani16-Dec-19 12:08
Rohan Varendani16-Dec-19 12:08 
AnswerRe: how to make a minimalist event manager with c# Pin
Mycroft Holmes16-Dec-19 16:57
professionalMycroft Holmes16-Dec-19 16:57 
GeneralRe: how to make a minimalist event manager with c# Pin
Rohan Varendani16-Dec-19 20:57
Rohan Varendani16-Dec-19 20:57 
GeneralRe: how to make a minimalist event manager with c# Pin
Richard MacCutchan16-Dec-19 21:31
mveRichard MacCutchan16-Dec-19 21:31 
GeneralRe: how to make a minimalist event manager with c# Pin
Rohan Varendani16-Dec-19 21:34
Rohan Varendani16-Dec-19 21:34 
GeneralRe: how to make a minimalist event manager with c# Pin
Richard MacCutchan16-Dec-19 22:00
mveRichard MacCutchan16-Dec-19 22:00 
GeneralRe: how to make a minimalist event manager with c# Pin
Rohan Varendani16-Dec-19 22:35
Rohan Varendani16-Dec-19 22:35 
GeneralRe: how to make a minimalist event manager with c# Pin
Richard MacCutchan16-Dec-19 22:41
mveRichard MacCutchan16-Dec-19 22:41 
GeneralRe: how to make a minimalist event manager with c# Pin
OriginalGriff16-Dec-19 23:10
mveOriginalGriff16-Dec-19 23:10 
AnswerRe: how to make a minimalist event manager with c# Pin
#realJSOP23-Dec-19 0:47
mve#realJSOP23-Dec-19 0:47 
GeneralRe: how to make a minimalist event manager with c# Pin
Mycroft Holmes16-Dec-19 22:29
professionalMycroft Holmes16-Dec-19 22:29 
AnswerRe: how to make a minimalist event manager with c# Pin
#realJSOP23-Dec-19 0:46
mve#realJSOP23-Dec-19 0:46 
AnswerRe: how to make a minimalist event manager with c# Pin
Gerry Schmitz17-Dec-19 6:01
mveGerry Schmitz17-Dec-19 6:01 

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.