Click here to Skip to main content
15,566,625 members
Home / Discussions / C#
   

C#

 
AnswerRe: Simple Broadcast Message on Local Host Pin
OriginalGriff29-Nov-22 0:04
mvaOriginalGriff29-Nov-22 0:04 
GeneralRe: Simple Broadcast Message on Local Host Pin
CodaNV29-Nov-22 0:34
CodaNV29-Nov-22 0:34 
GeneralRe: Simple Broadcast Message on Local Host Pin
jschell29-Nov-22 7:27
jschell29-Nov-22 7:27 
AnswerRe: Simple Broadcast Message on Local Host Pin
Richard Deeming29-Nov-22 0:09
mveRichard Deeming29-Nov-22 0:09 
GeneralRe: Simple Broadcast Message on Local Host Pin
CodaNV29-Nov-22 0:37
CodaNV29-Nov-22 0:37 
AnswerRe: Simple Broadcast Message on Local Host Pin
Gerry Schmitz1-Dec-22 6:27
mveGerry Schmitz1-Dec-22 6:27 
AnswerRe: Simple Broadcast Message on Local Host Pin
CodaNV11-Dec-22 17:09
CodaNV11-Dec-22 17:09 
QuestionMy winform resize when i open an OleDbConnection Pin
Le@rner27-Nov-22 19:42
Le@rner27-Nov-22 19:42 
i am using OleDbConnection to read excel files.

excel file is read properly.

but my form is resize and all text looks bigger and buggy when i open the connection.

i really dont understand whats happend.

please help me for this.

thanks in advance.

C#
DataTable sheet1 = new DataTable("Excel Sheet");
               OleDbConnectionStringBuilder csbuilder = new OleDbConnectionStringBuilder();
               csbuilder.Provider = "Microsoft.ACE.OLEDB.12.0";
               csbuilder.DataSource = filename;
               csbuilder.Add("Extended Properties", "Excel 12.0 Xml;HDR=YES");
               string selectSql = @"SELECT * FROM [Sheet1$]";



               using (OleDbConnection connection = new OleDbConnection(csbuilder.ConnectionString))


               using (OleDbDataAdapter adapter = new OleDbDataAdapter(selectSql, connection))
               {

                   connection.Open();
                   adapter.Fill(sheet1);

                   connection.Close();


               }

AnswerRe: My winform resize when i open an OleDbConnection Pin
Pete O'Hanlon27-Nov-22 22:30
mvaPete O'Hanlon27-Nov-22 22:30 
QuestionConcurrent Containers Pin
Richard Andrew x6424-Nov-22 15:47
professionalRichard Andrew x6424-Nov-22 15:47 
AnswerRe: Concurrent Containers Pin
Richard Deeming24-Nov-22 23:02
mveRichard Deeming24-Nov-22 23:02 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 3:18
professionalRichard Andrew x6425-Nov-22 3:18 
AnswerRe: Concurrent Containers Pin
Gerry Schmitz25-Nov-22 6:10
mveGerry Schmitz25-Nov-22 6:10 
GeneralRe: Concurrent Containers Pin
Richard Andrew x6425-Nov-22 6:24
professionalRichard Andrew x6425-Nov-22 6:24 
QuestionEntity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 10:01
professionalKevin Marois24-Nov-22 10:01 
AnswerRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 10:41
mveDave Kreskowiak24-Nov-22 10:41 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 11:19
professionalKevin Marois24-Nov-22 11:19 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 15:48
mveDave Kreskowiak24-Nov-22 15:48 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois24-Nov-22 16:57
professionalKevin Marois24-Nov-22 16:57 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak24-Nov-22 17:03
mveDave Kreskowiak24-Nov-22 17:03 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois25-Nov-22 20:16
professionalKevin Marois25-Nov-22 20:16 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak26-Nov-22 6:20
mveDave Kreskowiak26-Nov-22 6:20 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois26-Nov-22 10:20
professionalKevin Marois26-Nov-22 10:20 
GeneralRe: Entity Framework Core 6 Problem Pin
Dave Kreskowiak26-Nov-22 10:24
mveDave Kreskowiak26-Nov-22 10:24 
GeneralRe: Entity Framework Core 6 Problem Pin
Kevin Marois26-Nov-22 11:24
professionalKevin Marois26-Nov-22 11:24 

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.