4,588 Topics
| |
just asking for assistance with the menu items as they are set to uppercase M, R, C, X in the case statements how can this be modified to accept 'm' or 'M' as valid input. [CODE] using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; namespace PracticalTest5 { class … | |
What polar coordinates are is explained [url=http://en.wikipedia.org/wiki/Polar_coordinate_system]here[/url]. I wanted to draw some polar functions myself, so I changed my [url=http://www.daniweb.com/software-development/csharp/code/217204]plotting class [/url] a bit and added a polar struct to a new project.. Just posted code for the Plot class and the polar point structure here. You can find an … | |
can one give me a link or code for forum. i am doing a project and i want to add a forum in my website so user can interact with other i want a perfect c#.net code and back end is sql server 2005 can any one help me pls? | |
hi this is my first qery here.i joined a software company.my stream is .net i am from a maths background,id dontknow any thing at allabout c and c++.i joined a crsh course in c and completed nearly 60%.what topics should i stress in c and c++ so that i can … | |
I wrote a program that converts Celsius to Fahrenheit and vice versa. when converting Celsius to Fahrenheit I used the formula (9/5) * Celsius + 32. but that didn't work, I discovered that 9/5 was returning 1 rather than 1.8 and I'm not sure why that is. I fixed the … | |
I wanted to connect mysql with C# But I was faced with the following error error text:connection unexpectedly terminated Please help me | |
I want to develop a [B]web application[/B] using asp.net(C#) that can take an image from a scanner (Microtek: scanmaker 1000XL). when a "Scan" button is clicked then the application will capture the image from the scanner. The scanner is Twain compatible. Can I get any sample codes for this web … | |
Hey guys, I need a really simple code for chatting across consoles. I have looked up many tutorials on how to do this, yet they all seem to fail. All I want is a VERY simple chat that sends data from the client to a file, and then receives the … | |
We have a Timestamp site on our network that uses an older version of IE to render the page, every time you visit the page in IE8 you cannot interact with it, what shows is an infinite image of the hour glass next to the mouse. We have been using … | |
Hi everyone. I have a web server that I wrote in C#, and it serves HTML documents pretty fine. The code is a bit messy, and I'm going to clean it up, but my main question is how to handle POST when submit buttons are used in HTML? Thanks! This … | |
Hi all, I am a newbie to C# and need help bad. I am to use looping (do,for, while or any combination).The program will accept a letter 'A' example and then end. What am i doing wrong. Three salespeople work at Sunshine Hot Tubs-Andrea, Brittany, and Eric. Write a program … | |
Hi Guys, Can Anybody tell me where i am wrong. The event can't be fired on clicking button6[CODE] private void button6_Click(object sender, EventArgs e) { this .button7.Click +=new EventHandler(button7_Click); } private void button7_Click(object sender,EventArgs e) { MessageBox.Show("Button7 Clicked when ur pressing button6"); }[/CODE] | |
I have developed c# application which is not having any database.I have saved the application with data in rich textboxes in my custom file format.When i click on the saved application,I can open my application but,i was unable to open with the data saved in it. How to load the … | |
Hi all, I want to create code to delete row in datagridview based on checkBox selection. I've managed added the checkBox Button using code below: private void FormTampil_Load(object sender, EventArgs e) { DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn(); checkboxColumn.Width = 30; checkboxColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.Columns.Insert(0, checkboxColumn); // add checkbox header Rectangle … | |
I want to insert data from the textBox to MySQL Database. Here is the code snipped that I have created. [CODE]private void button6_Click(object sender, EventArgs e) { string connectionSQL = "server=localhost;database=db_junisman_kulit;uid=root;password=;"; MySqlConnection conn = new MySqlConnection(); double no_simpan = 0; try { conn.Open(); MySqlCommand cmd = new MySqlCommand("INSERT INTO tb_backorder … | |
I'm a mid-level web developer (4 years of experience) with most of my programming background in PHP and MySQL. Recently I have gotten interested in C# to expand my knowledge and I have grown fond of it. but I'm encountering a problem in looking for an appropriate job that reflects … | |
[COLOR="Green"]i wanna ask u if there are new fine and good controls in c# 2010 ???[/COLOR] | |
I've been working on compression and decompression between Java and C#, using deflate and inflate. Everything else I tried produced varying results which were never able to be compressed/decompressed flawlessly between Java and C#. I tested out using DeflateStream (C#) to compress data, and InflaterInputStream (Java) to decompress the data, … | |
What do you call those statements highlighted in red? [CODE] using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication1 { class Program {[COLOR="Red"] static void Main()[/COLOR] { int choice; Console.WriteLine("Please select below"); Console.WriteLine(); Console.WriteLine("1. Area of a Circle"); Console.WriteLine("2. Area of a Rectangle"); Console.WriteLine("3. Area of a Cylinder"); Console.WriteLine(); choice = … | |
I am a newbie in Visual Studio (C#). I want to store a text read from a text file and display it on a TextBlock control, but just for a specified row. How can I do that? I've try to search on the internet, and most of them just show … | |
hi, i am creatnig an windows desktop application. and in the main form i have a menu stript. what i want to do is attached one user control to eacn menu stript. each user control has a different design. how can i do this??? any tutorial | |
Hi, I am trying to call a simple fortran subroutine from a C++ interface and in turn call this C++ function from a C# application. Here is the fortran subroutine : [CODE]program hello_world2 implicit none c call hello call hello end subroutine hello !DEC$ ATTRIBUTES DLLEXPORT :: hello implicit none … | |
I want let exe detect new version of exe. Then it will update itself. my program is develop in Microsoft Visual Studio 2008 C# windows form application. | |
every body how can ı add a report from access to c# for showing the all of things | |
Hi, I'm trying to send an email using a lotus notes account and c# which is working fine. It is a two part mail which consistes of an HTML formatted message and attachment/s. The problem i'm encountering is when I have multiple attachments in different file formats. For example when … | |
Hi All, I have a problem I have a MySQL Table, one of the columns' Data Type is TinyInt(1) When I use this line of code it gives an error int newNumber = int.Parse(string.Format("{0}", reader["someField"])); I think the reader is reading a bool value however MySQL Table has row values … | |
I have a winform with 3 textboxes; 1 for Day, 2 for Month & 3 for Year plus a button when clicked opens a new form which has the reportViewer1 control there to display the report. I have no problem with just adding a dataset and adding fill & get … | |
hello I want create game server in my City which can many people play at the same time, but not only one game, there can n games running. i want to create 2 programs: [LIST=1] [*]for Clients (players) [*]for server (game server) [/LIST] So when someone would like to start … | |
I saw a thread lately on this site to rotate an integer. Seemed like a fun project to do. There are probably more efficient solutions out there but this is mine, and indeed it was fun! It is mostly a demo on how you could use the less known shift … | |
Hi I have just started C# (again) and written a small program. I have installed Microsoft Visual C# 2008 Express Edition. Now I want to compile and run my program but "start debugging (F5)" option is faded. Also I can't find any csc.exe file in the main directory where Visual … |
The End.