Section name can not be recognized when Custom Configuration
hi,i met a problem when i read the custom configuration file, the exception shows that the element named 'Element' can not be recognized (as figure shows). any resqonse should be appriated.the config...
View ArticleDataGrid view Arabic Display
I need to display arabic in my datagrid view ,well the data in the database is inserted like the below :قرار...
View ArticleHow to append a table to every rows of another table
I have two tables as followsTable1H1 123Table2A1 A2 A3 A4q q d qa l oo oMy desired out put isH1 A1 A2 A3 A41 q q d...
View ArticleTimer is delayed when many Tasks are running in C#
I'm using a Timer to calculate an action progress, but if there are many running tasks, the timer is delayed.Below is my timer class:using System; using System.Diagnostics; using System.Timers;...
View ArticleNew Windows Server 2012 WMI Classes
Hi,I've posted this on the Windows Server thread and was sent here, so please don't suggest I post on that forum. I can't see any forum here that is appropriate for this specific question (there are no...
View ArticleHow to upload word files to a program data base using C#
Hi AllI developed a software using C# ,This software uses word files,Now i should upload 500 word files to this program Database,how could i write a program to read word files from source folder on my...
View ArticleSQL UPDATE command returning syntax error
Hi everyone, While sending an update query to my database, I'm getting the error:System.Data.OleDb.OleDbException (0x80040E10): No value given for one or more required parameters. at...
View ArticleCrystal Report is not showing data after deployment on Windows Server 2012
Hi all,I have a web application developed on ASP.Net, framework 4.0. Every thing is working fine on development machine which is Windows 7 32bit.Now I deployed it on Windows Server 2012. After...
View ArticleUsing SqlDependency in a separated thread pool
My main reference when developing this application is : SqlDependency I have a table in a database, and there is a windows service insert some rows randomly in this table. Then, my application gets...
View ArticleIs it ever more efficient to use sql = string.format(...) rather than a...
If I have a simple query "SELECT X FROM Y WHERE ID=value" is it ever more efficient to just construct a string literal containing the SQL with a string.format("SELECT X FROM Y WHERE ID='{0}'",id)...
View ArticleError in Application
Error : does not contains a constructor that contains one argument:I have that erreo in my VB project......wc.DownloadStringCompleted+=new DownloadStringCompletedEventHandler
View ArticleMyAssembly.XmlSerializers.dll generated by sgen.exe causes error
Hi guys, I come up with a very weird problem with MyAssembly.XmlSerializers.dll generated by sgen.exe. Here is my deployment.MyAssembly.dll is put in a different folder as application folder but not...
View ArticleWhat is the reason of getting error "Nested transactions are not supported"...
What is the reason of getting error "Nested transactions are not supported" when execute SQL for MySQL databasei just using many threads in threadpool to execute insert SQLpublic static string...
View Articleis it possible to dynamic loading program code to be part of the program...
is it possible to dynamic loading program code to be part of the program rather than writing a code to compile code and call executable during run time like app.config?Designer
View ArticleHow to add button and click enevt dynamically
There is a Panel in my winform program. While I drag and drop a file or an program into the panel, I want it dynamically add a button. And when I click this button, I can open the file or the program...
View ArticleInstallation project for Win8x64 from .Net 3.5 32bit
Hi,I am wondering how do I make an installation project for Windows 8 (64bit) from my .net framework 32 bit. Thanks for help.Jason
View ArticleExcel.Workbooks.OpenText function behaves differently in .NET 4 vs .NET 3.5
Below is a complete code example that demonstrates the problem. When I set the Target Framework to .NET 3.5 then Excel will autodetect the cell data type and set it's type to date. When I set it to...
View Articlelogin form help
He guys sorry if something similar has been brought up. I have been searching for an answer for the better part of an hour with no luck so I finally decided to post. Anyway I am fairly new to C# and...
View Articleproblem in getting all the users in Active directory
Hello experts, I have written a code to fetch all the users details in Active Directory ,But the probleb is , am not getting all the users on find all,plz suggest ,below is my code...
View ArticleC# STL file viewer - Please Help
Hello Im trying to build STL file viewer. I have been trying to use Helix toolkit but I didnt undertend how to work with it. So after howers looking after another .dll for this with not sucsess i...
View Article