Altered GridView
Hello! I have a DataGrid that has a DataTable as a DataSource. It has several columns and several rows, but some cells are split in more rows and some cells are dropdown boxes.How can I make such a...
View ArticleHacking with C#
Hello EveryoneThere are two Question that have been killing me and I could not find an answer to it so far. Here it goes. Is it possible to create a program (it can be a console or a windows...
View ArticleI need help writing a script for a card game
I need to write a script for a card game. the game is whoever draws the highest number wins.I'm a beginner
View ArticleCell border style is lost when exporting to excel using insert command
Hello All,I am trying to export to excel using insert command. All operations are working fine but when I export to excel, the excel file cell style is changed automatically to Bold for example. If I...
View ArticleLamda use with KeyValuePair or simple class.
My intent is to find the minimum value and associated ID of either a custom class or KeyValue pair. Below is the small console app. I can locate the values I need using the sort function as shown (...
View Articlepicture box
Good evening everyone: I wanted to paint a path of a map within a picture box, similar to paint a line between two points but when I paint does not appear to me, I need to set some property of the...
View ArticleIn LINQ, how to concatenate multiple list of integers into one list (in LINQ,...
HavingList<IElement> elem;where the interface IElement forces the objects to implementint[] GlobalNumberForEquation { get; }I want to get a list of Distinct integers returned by...
View ArticleFind differences between images C#
Suppose i had two nearly identical images and i wanted to locate and highlight the differences between them and produce the diff image. the routine works but this routine ask to supply color which i do...
View Article.NET precompiler?
Hi all of you,How can I disable -for example- one whole class?Imagine that you write a class in your project but it has some mistakes. And you don't want to just comment out that classHow can you tell...
View ArticleTimeSpan RegEx Question
Hi All,I am trying to create a TimeSpanMaskConverterThe raw value that come in is:00:00:00.2300000I want it to display .230Let's say the raw value is:00:00:01.2300000I want it to display: 1.230Lets say...
View ArticleDatagridview unbound data to sql using linq
I am trying to save the rows of data in a DataGridView to a sql table.There is no binding source because the data in the DGV consists of extracts from three tables which are manipulated before being...
View Articlecan anyone help with picturebox?
hai i want to hide 6 picturebox at same time i already tried some codes but didnt work plis any help?private void btn_quadro_interativo_MouseEnter(object sender, EventArgs e) {...
View ArticleHttpClient is it implicitly pooled?
I am writing a web service which makes very frequent calls to another web service.Currently, I have created a wrapper over HttpClient which has a static member of HttpClient. Once the HttpClient has...
View ArticleUser Control Events Question
Hi everyone. I am fairly new to User Controls, so I apologize if this seems like an odd question.I have a User control that I created that includes a TreeControl, which I am populating with several...
View ArticleLines of code
Hi.How can I do to get the number of lines of code that I have in a program.Thanks.
View ArticleDisplay Access2010 RichTextBox text in a .net winform
I'm trying to display the text from my SQL table, that was saved via an Access2013 RichTextBox, in a .net winform. How can I get the formatting to display properly?Its currently showing up with the...
View ArticleAppel products
Am I able to program ipad applications with Visual Studio and its languages? If so, what language and in what format?
View ArticleHow to put words from a text file into a (binary)Tree
Hello ,I am working on a project in C# and I have to create a binary tree where to put all words from a text file. In txt file I have all information from a Europass CV and I want to put all those...
View ArticleWhat is best use create object once or create when required.
Hello,I am little bit confused.ShopLogic sl = new ShopLogic();What will be best use according to performence.i need to create sl object once in a .CS file or create object again and again in different...
View ArticleGot a problem here plis if you can help me !
{// hai i want to make visible this buttons when when the form1 button gets cliked. im at form2 login f1 = new login(); //<--- this is the calling for form1 if...
View Article