4,588 Topics

Member Avatar for
Member Avatar for Rass Saee

[CODE]using System; using System.Collections.Generic; using System.Text; class BaseClass { public virtual void method() { Console.WriteLine("BaseClass method"); } } class SubClass : BaseClass { public override void method() { Console.WriteLine("SubClass method"); } public void someMethod() { Console.WriteLine(); } static void Main(string[] args) { BaseClass var = new SubClass(); var.method(); var.someMethod(); } …

Member Avatar for berniefitz
0
120
Member Avatar for bhagyap

Hi.. Following is my code:- public static void Sync(string sourcePath, string destinationPath) { bool dirExisted = DirExists(destinationPath); //get the source files string[] srcFiles = Directory.GetFiles(sourcePath); foreach (string sourceFile in srcFiles) { FileInfo sourceInfo = new FileInfo(sourceFile); string destFile = Path.Combine(destinationPath, sourceInfo.Name); if (!dirExisted && File.Exists(destFile)) { FileInfo destInfo = new …

Member Avatar for bhagyap
0
218
Member Avatar for pseudorandom21

I have a combobox I need to display some data in from a Database, but there are duplicates and I don't know how to select the distinct ones. Any help?

Member Avatar for pseudorandom21
0
221
Member Avatar for Shwetha Dali
Member Avatar for pseudorandom21

I have a form with a number of controls on it, and I had thought that the "Controls" property of the form instance contained all of the controls on the form as per the documentation. Actually it does, but now iterating over all of my controls becomes similar to iterating …

Member Avatar for darkagn
0
138
Member Avatar for AurosGamma

Hello there. I'm making a simple Pacman game because I'm practicing C# (I've never programmed in C# before), but I ran into a problem. Here is my code: [CODE]void addGhost(object sender, EventArgs ea) { Random random = new Random(); int ghostNum = random.Next(5); // Here I use and enum I've …

0
166
Member Avatar for Beginner sarah

Hello all , i am sarah , and i am a beginner in programming now i am making my first small programm but i am stuck with something the problem is : i have an array and i have to make calculations on it sum the values in the array …

Member Avatar for ddanbe
0
155
Member Avatar for suneye

helloo, I want to make a C# application that reads barcode from a scanner and then I want to know how to translate this barcode to the price of the item. Does any body know? Best regards.

Member Avatar for suneye
0
111
Member Avatar for anum zaeii

hello can anyone help me in learning c#...i really want to learn it and start development using it regards anum zaeii beginner

Member Avatar for ChrisHunter
0
71
Member Avatar for Sedah

hi guyz. I want to implement a search functionality in my c# project. I'm using mysql db and I would like the results of my search to display one row in my database based on a unique id field in my database. e.g for a hospital system you can search …

0
45
Member Avatar for vistriv5

Hi all, Anyone know how to create a dynamic gridview with the following specs: 1. Fixed datasouce (sqldatasource) with a fixed string connection (and database name) 2. Fixed select statement: "SELECT * FROM " + <table name> 3. <table name> came from textbox input and there is a button available …

Member Avatar for sufyan2011
0
121
Member Avatar for jamessus

Hey everyone, I have a bit of an issue....I have a link: [CODE]<span class='deleteimg ui-icon ui-icon-search' style='cursor:pointer;margin-left:24px;' onclick=DownloadAssetPath();></span>[/CODE] I have a jquery function: [CODE]function DownloadAssetPath() { var link = "/Controls/Advertiser/Ads.ashx?Download"; window.open(link); }[/CODE] and I have a private void in C#: [CODE] private void Download() { String FileName = "webSitePlan.txt"; String …

0
60
Member Avatar for sudheer2250

Hi Experts, I am working on mixed language web project. In App_Code folder, Created 2 folders with names "VBCode", "CSCode". I added one class in VBCode folder with name "Class1.vb" and implemented 2 methods. And, I added one Class in CSCode folder with the name "Class2.cs". My Requirements is, I …

0
61
Member Avatar for Marucss

Hi, I am a new learner in c#programing and I am having difficulty solving this problems. Could you PLEASE PLEASE help solving this tasks?? I would be very grateful. cheers. Marcus Write a C program that will read in a set of numbers for the elements for a geometric shape …

Member Avatar for skatamatic
0
106
Member Avatar for craizile

I have a project to make a Phone Book Program using Hash Table, but I have to use two different type Hash Table, Hash Table .Net Framework and our own Hash Table. Does anyone know how to add, edit, search and delete the Hash Table? thanks a lot for your …

Member Avatar for craizile
0
109
Member Avatar for baladeveloper

Hi Friends . How to create the sub group in datagridview in asp.net with using c# coding Thanks in advance Balas....

0
63
Member Avatar for farshadak2004

Hi everyone: I am building a dictionary(translator) . My dictionary is completed, now I want to add some feature to it. I want to add a feature that once the user highlight a word in any application, afte 2 seconds which the mouse is IDLE my dictionary automatically COPY and …

Member Avatar for skatamatic
0
310
Member Avatar for happyhound

Objective: User enters a score then clicks Add button. Everytime Add button is clicked a Score is added to previous score to display total, averaged,counter. Issue: I enter first scores then click add. The first score displays but the second score overwrites the first. It is not accumulating. I believe …

Member Avatar for happyhound
0
196
Member Avatar for adamsmith1

I recently published DesktopBootstrap, which is my attempt to factor out the common elements that go into a medium sized C# project, like auto updates, installer, and logging. I'd love any feedback or contributions! It's at [url]https://github.com/adamsmith/DesktopBootstrap[/url] Thanks!, Adam

0
86
Member Avatar for menaka4u

i want to make a pharmacy control system, please help me to do this, this system is for small pharmacy, help me with samples.

Member Avatar for alaa sam
0
57
Member Avatar for naveedqadri

Dear Experts, New to C# , My page is in ASP.Net with C# coding, I am getting this error, while debuging. Your help would be appriciated. ---------- System.NullReferenceException was unhandled by user code Message="Object reference not set to an instance of an object." Source="App_Web_print.aspx.c0a41cfd.e1sjotnx" StackTrace: at ASP.soft_reports_print_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) …

Member Avatar for thines01
0
420
Member Avatar for gorosh

Hi to all I would like to ask for help with my C# project. It is a Memory game involving pictures. First the user clicks a picture box and the image shows and remains displayed, then the user clicks another picture box to find the first's pair. I'm having problem …

Member Avatar for mazzica1
0
351
Member Avatar for Lee Marsden

Hello everyone I am trying to code an address book in C#, the program should be a console application and should stores names address etc in a string. The menu should loop and continue wish I have done using a do loop, at the moment I am stuck on the …

Member Avatar for JLarner
0
4K
Member Avatar for surajrai

Hi All, I am trying to understand shift operator which is used in my project. What I came to know from google is that Bit shifting allows for compact storage of similar data as a single integral value. But how does that work. and what is the advantage. Can you …

Member Avatar for Narue
0
382
Member Avatar for roXy101208

Hi, I'm new to asp.net and C# and I want to ask how to implement a session login using asp.net and C#. where i will connect it to my database. Please advise. Thanks.

Member Avatar for crishlay
0
230
Member Avatar for freybelle

hi.. i'm newbie in C# and i want to learn How To ConnecT RFID into C#.. can you help me?

Member Avatar for lolafuertes
-1
89
Member Avatar for freybelle

hi..i am newbie in C# in Starting making a Program C# form with RFID,what are the components and installer i need before can i Start?

Member Avatar for james6754
0
76
Member Avatar for vigneshkbv

I ve a mask text box. mask is 00 00 00 00 format. my requiement is ,the box should accepts hexa decimal value too... my expect format look like 0A 0C 0a 0f...pls help me..thanks in advance..

Member Avatar for rexdon
0
141
Member Avatar for naveedqadri

Dear Experts, Thanks in advance for helping me out. I am new to C# as well asp.net. I have already running appllication asp.net , needs to change in asp file with C# code. Scenario: My application is using third party software "activepdf server,webgrabber" to convert and print to pdf. BUT …

0
533
Member Avatar for shilpa_gurnani

I have an UltraGrid Where Each cells Contains UltraControlContainerEditor inside that we have a UltraPanel and UltraPanel Contains UltraCheckEditor.All these Controls m creating Dynamically and are added as EditingControl. In short I have controls inside cell of the ultragrid. Now I want to knw Whether my checkbox is checked or …

0
91

The End.