|
So, the code you provided is something you got off the web and not your own code? Looking for someone to walk you though it?
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
|
I doubt anyone here will be doing this kind of task for you in his/her spare time.
modified 12-Sep-18 21:01pm.
|
|
|
|
|
ok it think if anyone tell me jus where to start or which function i should do modification on that would be grate
|
|
|
|
|
I very much doubt if anyone has time to read all this code. Try and sort it yourself and post specific problems please.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Ok i will try to do that thanks
|
|
|
|
|
Dear All,
I am exporting crystal report to pdf format, i have problem how to open that file inside my Application (My Window Frame).
Thanks in Advance,
Abdul Rahaman Hamidy
Senior Student Student in Computer Science
Kabul, Afghanistan
Software Developer
|
|
|
|
|
Abdul Rahman Hamidy wrote: i have problem how to open that file inside my Application
What is the problem? Just saying you have a problem isn't going to really help anyone help you.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi,
you can use the WebBrowser class for viewing a PDF document (or anything else a web browser can
display).
|
|
|
|
|
hi to all,
i have created a com object with c# and my output project is *.dll,
now i nead to export it to .lib file, how to do this work?
so thanks
bye
|
|
|
|
|
Hi All
I am into developing a desktop application with MySQL as the back end. I have created a static class that works as a Data Layer ie. encapsulated MySQL functions in the class and use the Idatacommand interface to interact with the class.
I have separated the application into tiers where a tier gets the dataset and the UI consumes the data. For larger queries at times i have used background workers. The queries are run on background and finally the data binded.
My problem is that even if i set the connection pooling to false, a new connection is created by the background thread Also even though i dispose the command object as well as connection objects the connection remains in the pool. The pool maintains around 7 connection for my application and then the problem starts when the queries and database locks stop working...
Even if the connection pooling is OFF multiple connection opens up and hangs the queries
Appreciate all for ur kind suggestions
Thanks....
thanx for the support
|
|
|
|
|
the problem is u always create new instance of database connection in your background thread, i mean you always call this code in your backgroundworker:
MySqlConnection connection = new MySqlConnection(connectionString);
MySqlCommand command = connection.CreateCommand();
command.CommandText = yourSelectQuery;
MySqlDataAdapter adapter = new MySqlDataAdapter(command);
adapter.Fill(yourDataSet);
command.Dispose();
connection.Close();
connection.Dispose();
this database connection remains in pool event if you leave your background worker
i suggest you create static field, or property in your DataLayer that hold for your database connection. Fill with correct connection string. DataCommand keep created in background worker. Dispose that datacommand object and your adapter after fill your dataset object. that will only 1 database connection remains in your database pooling.
i hope this will help.
dhaim
program is hobby that make some money as side effect
|
|
|
|
|
i wrote stock prog. with c# for pocket pc..the data is writed in XML (cause transfer from PC to Pocket PC is fast ???i think)..the problem is while loading program, the program is bit slow cause of data in XML..is there any engine ore embedded or cab. that can help me to read fast XML.Thank you
|
|
|
|
|
With your English.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
, short, sharp, and too the point. I like that
|
|
|
|
|
Thanks
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|
|
MarkBrock wrote: short, sharp, and too the point
Yes, it is.
MarkBrock wrote: I like that
I second that.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
That was the Joke of the day
All generalizations are wrong, including this one!
(\ /)
(O.o)
(><)
|
|
|
|
|
Yes, you need help on many aspects. First, pick a better subject line, instead of "I NEED HELP?". Secondly, clean up the grammar a bit. Thirdly, be a bit more clear about what you are having trouble with. Just saying the program is slow because of XML data doesn't help diagnose your program's problem very well.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
modified on Saturday, June 21, 2008 10:47 AM
|
|
|
|
|
Paul Conrad wrote: Thirdly, be a bit ore clear about what you are having trouble with.
I don't think he needs help with cleaning up his ore
Regards,
Gareth.
(FKA gareth111)
|
|
|
|
|
Thanks, garth, I fixed it. Should have been "more"
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Any Idea how to setup a progress bar for the crystal report viewer ..didn't find much on google..
Q@!$3r
|
|
|
|
|
Hello, I want to set this "D:\uHTMCM_200608 up\uHTMCM\bin\Debug" path as my current directory. how can I do this plz?
|
|
|
|
|
|
You can use SetCurrentDirectory Method of Directory class.
Giorgi Dalakishvili
#region signature
my articles
#endregion
|
|
|
|