charts and graphs using c#
hey all how to draw charts and graphs using c#. please help me out.RegardsSelva
View ArticleSynchronisation of write to logfile doesn't work
Hi, I am using the following class to synchronise writing to a logfile.It is a systemwide locking mechanism.After some time one of the processes shows a dialogbox that another process is using the...
View ArticleCalling Stored Procedure with C# and Entity Framework
I am trying to run a simple stored procedure using a c# application I am writing that is using Entity Framework. Here is my stored procedure:ALTER PROCEDURE [dbo].[spupdTblAlertBySiteAlert]...
View Articleincluding an excel template file as a project resource
HiMy application collects data from various sources then opens an Excel workbook and creates a worksheet within which to place the data.My problem is that I want to include an excel template with my...
View ArticleBindingFlags.IgnoreCase in GetProperty method doesn't works
Hello , I need to find property in some class , by using reflection, by specified name of this property .the problem is that GetProperty method ignore bindingflags.IgonreCase and doesn't find a...
View ArticleRegular Expression: Split objects in parenthesis
I'm just learning to figure out regular expressions, and to me the article that Microsoft has on it is somewhat cryptic. I need to split a string like "(5 * (6 + 7)) / (4 + 3)"I want it to give an...
View ArticleC# WCF application - Copying data from worker thread to main thread
I can't seem to figure out how to copy data from a worker thread to the main thread in a WCF application without an exception, and I'm hoping for some help. It must be easy, I just can't seem to get...
View ArticleGeneric property in non generic class
Hello, I have 2 classes first:Index<Tkey> that is generic and represents index in the app simulation of the database tablesecond: DataAccess is entry point , non generic class which have all...
View ArticleProblem Licence ... GpL, Cpol
Hi everyone sorry for my english, I'm a Junior in C# and i would like to better understand the use of licenses, then I found on the web programs in vb.net with License...
View ArticleWMI array or list
I have been trying to work out this getting not getting very far, I can get a list of elements back via WMI (see code below) and return using console write line, what I'd like to do is add each one...
View ArticleCode organization question
Hello,I'm pretty new to C# development, and I need to write an application which have several features (around 20) pretty independent one from each other, but which can be grouped by "area". So, I'm...
View ArticleC# why use private Main()
why default Main Method is Private in introduction :Main should not be public "i try use public noting change and compiler my program and Main can directive if public or private? think the reason for...
View ArticleTrouble updating access database C#
Hi,I'm trying to update my access database using some variables from textboxes.Here is the code I am trying to use:private void InjectSqlData2() { OleDbConnection conn = new OleDbConnection();...
View ArticleReading MFT
Does anyone know how to read the MFT in C#? I have seen a snippet somewhere doing it in C++, but no C#.I am trying to read the MFT in order to get a list of SID's for every file on that disk.Thanks!
View ArticleHow to call C++ function in windows phone application use of C#
Hi,Need a help , I want to call C++ function in windows phone application use of C#.Please suggest me with code example .Thank you.Please mark the post as answer if it is helpfull to you
View ArticleProblems in displaying top 3 records after comparing images
Hello All,I am a beginner in c# doing some image comparison and i have encounter some problems in displaying the top three results after comparing. My form allows a user to upload an image and when the...
View ArticleHow to find controls in Grid View
Hi,I have Created a Form Inside a GridView Tool, but now I am facing problem to find the controls that are inside it, i.e. Textbox,Label. I know there must be a Foreach Loop for this but still I am...
View Articlehow to add rows and columns (how to add table)
private void btnarray_Click(object sender, RoutedEventArgs e) { int limit = int.Parse(txtlimit.Text); try { // assigning textbox into string string num1split = txtnum1.Text; string num2split =...
View ArticleCalling a C# class and passing a datetime parameter
hiI have the following code that is not working. I am quite new to c# and I am struggling to see what the problem is.Can anyone help? IFormatProvider culture =...
View Articleint array duplicate finder???
Will this line of code find duplicates.if (Combination.Intersect(Combination).Any()) { // Do something.... }or do I need a temp location to work with like this.... int[] OutNumbers = new...
View Article