Click here to Skip to main content
15,880,364 members
Home / Discussions / C#
   

C#

 
QuestionHow to execute .jar file in c# Pin
Gresziu24-Jun-09 6:04
Gresziu24-Jun-09 6:04 
AnswerRe: How to execute .jar file in c# Pin
Ravadre24-Jun-09 7:56
Ravadre24-Jun-09 7:56 
GeneralRe: How to execute .jar file in c# Pin
Gresziu24-Jun-09 23:45
Gresziu24-Jun-09 23:45 
GeneralRe: How to execute .jar file in c# Pin
Gresziu25-Jun-09 0:33
Gresziu25-Jun-09 0:33 
AnswerRe: How to execute .jar file in c# Pin
A P Prajwal30-Nov-09 0:56
A P Prajwal30-Nov-09 0:56 
QuestionData Reader Completion Rate, label text does not change Pin
Ersan Ercek24-Jun-09 5:32
Ersan Ercek24-Jun-09 5:32 
AnswerRe: Data Reader Completion Rate, label text does not change Pin
Manas Bhardwaj24-Jun-09 5:38
professionalManas Bhardwaj24-Jun-09 5:38 
GeneralRe: Data Reader Completion Rate, label text does not change Pin
Ersan Ercek24-Jun-09 5:49
Ersan Ercek24-Jun-09 5:49 
Are you changing the text using a seperate thread?

I did not understand what you mean excatly but here are sample codes.

con.ConnectionString = "Driver={Client Access ODBC Driver (32-bit)};System=xxxx;Uid=xxxxx;Pwd=xxxxxxx";
try
{
con.Open();
cmd = new OdbcCommand();
cmd.Connection = con;
cmd.CommandType = CommandType.Text;

lblStatus.Text = "Starting Select Process";


cmd.CommandText = "Select Article, Store, Month, Year, Day, SUM(UD) AS UNIT, " +
"SUM(Value) AS VALUE from Data" +
" Where Year="+txtYil.Text+" AND Month= "+txtAy.Text+" AND Day BETWEEN "+
txtBaslangic.Text+" AND "+txtBitis.Text+
"GROUP BY Article, Store, Month, Year, Day";

cmd.CommandTimeout = 0;
lblStatus.Text = "Data is being selected";

dr = cmd.ExecuteReader();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
lblStatus.Text = "Data is being inserted to Access";

oleCon = u.oleCon("NXAC"+txtYil.Text+txtAy.Text+".mdb");
oleCon.Open();

while (dr.Read())
{
if (olecmd != null)
{
olecmd.Dispose();
}
olecmd = new OleDbCommand();
olecmd.Connection = oleCon;
olecmd.CommandType = CommandType.Text;
GeneralRe: Data Reader Completion Rate, label text does not change Pin
musefan24-Jun-09 6:02
musefan24-Jun-09 6:02 
GeneralRe: Data Reader Completion Rate, label text does not change Pin
Ersan Ercek24-Jun-09 21:38
Ersan Ercek24-Jun-09 21:38 
QuestionSend Email in Arabic Pin
ASysSolvers24-Jun-09 5:14
ASysSolvers24-Jun-09 5:14 
AnswerRe: Send Email in Arabic Pin
Manas Bhardwaj24-Jun-09 5:21
professionalManas Bhardwaj24-Jun-09 5:21 
GeneralRe: Send Email in Arabic Pin
Gary Stafford24-Jun-09 5:56
Gary Stafford24-Jun-09 5:56 
QuestionWhen adding a webreference to my C# Windows Application i get:Operation is not valid due to the current state of the object. Pin
DotNetCoderJunior24-Jun-09 5:03
DotNetCoderJunior24-Jun-09 5:03 
AnswerRe: When adding a webreference to my C# Windows Application i get:Operation is not valid due to the current state of the object. Pin
Manas Bhardwaj24-Jun-09 5:07
professionalManas Bhardwaj24-Jun-09 5:07 
GeneralRe: When adding a webreference to my C# Windows Application i get:Operation is not valid due to the current state of the object. Pin
DotNetCoderJunior24-Jun-09 21:23
DotNetCoderJunior24-Jun-09 21:23 
QuestionGridView: row focus on mouse right click before ContextMenu pops up. Pin
Raybarg24-Jun-09 4:03
professionalRaybarg24-Jun-09 4:03 
AnswerRe: GridView: row focus on mouse right click before ContextMenu pops up. Pin
led mike24-Jun-09 4:42
led mike24-Jun-09 4:42 
AnswerRe: GridView: row focus on mouse right click before ContextMenu pops up. Pin
Ennis Ray Lynch, Jr.24-Jun-09 4:55
Ennis Ray Lynch, Jr.24-Jun-09 4:55 
AnswerRe: GridView: row focus on mouse right click before ContextMenu pops up. Pin
Manas Bhardwaj24-Jun-09 4:59
professionalManas Bhardwaj24-Jun-09 4:59 
GeneralRe: GridView: row focus on mouse right click before ContextMenu pops up. Pin
Raybarg24-Jun-09 21:08
professionalRaybarg24-Jun-09 21:08 
GeneralRe: GridView: row focus on mouse right click before ContextMenu pops up. Pin
Raybarg30-Jun-09 0:05
professionalRaybarg30-Jun-09 0:05 
QuestionMulti-threaded TCP Server Problem Pin
kordel22224-Jun-09 3:35
kordel22224-Jun-09 3:35 
AnswerRe: Multi-threaded TCP Server Problem Pin
Ennis Ray Lynch, Jr.24-Jun-09 4:05
Ennis Ray Lynch, Jr.24-Jun-09 4:05 
GeneralRe: Multi-threaded TCP Server Problem Pin
kordel22224-Jun-09 4:58
kordel22224-Jun-09 4:58 

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.