4,588 Topics
| |
Ok lets say i have the following xml file <Users> <User> <Name>Jonathan</Name> <Tests> </Tests> </User> <User> <Name>John</Name> <Tests> </Tests> </User> </Users> Im writing a C# program, and what I want is to search for a specific name(eg Jonathan) and add elements and values to that specific tag in my xml … | |
This tutorial is about extension methods in c# **What is an extension method** Sometimes it is necessary to add functionality to a library for which you do not own the source code and where using inheritance to subclass functionality is not viable. This problem can be overcome with the careful … | |
I created a UserControl that contains a custom ToolStrip Control. While using the UserControl throughout an application, the ToolStrip control cannot be accessed directly, as logically it's embedded in the UserControl. So, to access the items of the ToolStrip I defined a readonly property in the UserControl class that returns … | |
Is it possible to send a variable from a console C# app to a C# script? | |
Bought a book in the Head First series about C#. The command to output text that they keep using in the book is MessageBox.show("text"). However in order to work for me I need to do Response.Write("text"). Is this because I downloaded Visual Web Developer instead of Visual Studio? The project … | |
PDF's Full of Images only. Open one in note pad, delete a few lines and close it again -- Effectively Breaking your pdf file. You can still open it, but all your pages will be blank with maybe a scribble at the bottom somewhere. Now... How do you check if … | |
Hi there guys I am encountering another problem with my code, it says Error: 'Francis.Form1.Dispose(bool)': no suitable method found to override. I have uploaded the screenshot of my problem, please help me guys I don't understand why I am encountering such problems and a fix will be very helpful. Thanks … | |
what is the correct declaration of a nullable boolean type? | |
Hello i dont know how to connect to a database in windows fprm application (in visual studio 2010) in C# | |
Hiii Alll I need to display a message to the user after clicking the button control. How to do this in c#.net? I could not find Msgbox() option as we hav in vb.net. can any one help me | |
how to convert this code to C#. Protected Class Calendar Public Sub New(ByRef Picker As NullableDateTimePicker) End Sub End Class | |
Hi guys, How to unzip folder in c# programatically. Thanks in advance. | |
Hello, i have issue that i cant solve for some time since i dont fully understand regex. How can i get selected data from table to array? Example class="fb s10" title="Get This Info"> class="fb s10" title="Get That Info"> How can i extract Get This Info Get That Info from selected … | |
Hi, i creating an application in C#, I am using nokia E71. My application can send SMS using AT commands, but it is not receving and reding SMS. Please help me in reading SMS | |
I am fairly new to asp.net, I am trying to connect to a sql (mysql prefferably) database, it must be using C#. I have been searching all of yesterday and today, I cant figure out how. Could someone help me here (if this has been asked, please point me to … | |
Hello, how to get all data in .php file Example i have webwebweb.com/work.php?worker=1&shop=52 How can i get **strings in worker to string [] worker strings in shop to string [] shop?** Thanks in advance | |
plz do suggest ne good topic for final year project in .net . Right now i am a beginner in c# . | |
Like you would compile a C++ program. But with C# you always need the .NET framework (such a draw back sometimes). Is there anyway that you can compile the program and run it without .NET? | |
Hello professionals, can any one tell me how to extract PDF attachments with c#? | |
this program is running but how can i make this in two class by using get set? using System; class Program { static void Main() { DateTime now = DateTime.Now; Console.WriteLine(now.ToShortDateString()); } } | |
Hello All, I am using a winapp form c# (.net4.0)to login and navigate deep into a webpage, upload a file, download a file. All this works successfully... MOST of the time. Everyonce in a while, when I hit the download button, the system seems to hang. Like a webpage that … | |
Hi, I have a sign up form and i want image upload functionality there which will save the path of the image or can save image somewhere in project and after login then the image will display in Picture Box available in the Edit Profile. The problem is i am … | |
Hi, I have a form with some textboxes comboboxes. On editing there is a combobox for selecting which user to edit. On selecting a user, i have managed to fetch all the records from the db. But now here the problem occurs -> There is a combox (say deptno) which … | |
I'm a new programmer with C# can I ask afew Questions Because I need for your help | |
HI, How to use multiple forms in c# windows application? Where i need to fetch the information form "Form2" to "Form1". Here Form2 is used to get information from user and again those informations will be used in Form1. Please suggest me to do this. Thanks a lot, Anjali :) | |
Hello all and Happy Thanksgiving, I am converting a program from Lisp into C#. Everything is going well for most of the program but there are 2 functions where I don't really understand what is going on because I am not very well versed in Lisp. I originally submitted the … | |
This is my program: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace CountryCurrency { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void rdbRupees_Click(object sender, EventArgs e) { if (rdbIndia.Checked == true) MessageBox.Show("You are right"); else … | |
hii, i m facing problem in logout code in asp.net c#. please give the code which can do:- 1) session end 2) when pressing back button after logout it should be redirect to login page. 3)by pasting url of somebody's account in address bar it should not enter in the … | |
| I keep taking the test over and over I get 2 out of 10 correct. I think something is wrong with the test can you list me the answers so I could take it if it's wrong then i can contact the admin and tell him his test is not … |
The End.