4,588 Topics

Member Avatar for
Member Avatar for israruval007

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 …

Member Avatar for israruval007
0
399
Member Avatar for Michael27

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 …

0
170
Member Avatar for priyamtheone

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 …

Member Avatar for priyamtheone
0
967
Member Avatar for Mr.BunyRabit

Is it possible to send a variable from a console C# app to a C# script?

0
52
Member Avatar for JAYABAJAJ
Member Avatar for bo0ga

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 …

Member Avatar for hollystyles
0
162
Member Avatar for Mr.BunyRabit

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 …

Member Avatar for hollystyles
0
4K
Member Avatar for king03

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 …

Member Avatar for abhishekabhi
0
180
Member Avatar for jugal bharadwaz
Member Avatar for deceptikon
0
40
Member Avatar for shathiyan

Hello i dont know how to connect to a database in windows fprm application (in visual studio 2010) in C#

Member Avatar for pritaeas
0
35
Member Avatar for sonakrish

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

Member Avatar for walflo
0
2K
Member Avatar for pritesh2010

how to convert this code to C#. Protected Class Calendar Public Sub New(ByRef Picker As NullableDateTimePicker) End Sub End Class

Member Avatar for Michael27
0
116
Member Avatar for bhagawatshinde
Member Avatar for nesa24casa
0
165
Member Avatar for nesa24casa

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 …

Member Avatar for nesa24casa
0
185
Member Avatar for khakwani

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

0
131
Member Avatar for Village Idiot

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 …

Member Avatar for cristine.y07
0
222
Member Avatar for nesa24casa

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

Member Avatar for nesa24casa
0
188
Member Avatar for martand

plz do suggest ne good topic for final year project in .net . Right now i am a beginner in c# .

Member Avatar for Mike Askew
0
150
Member Avatar for MasterHacker110

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?

Member Avatar for VatooVatoo
-1
152
Member Avatar for Tinier
Member Avatar for jasonrle0332
0
280
Member Avatar for fafa.gagga

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()); } }

Member Avatar for Randlathor05
0
190
Member Avatar for solarissf

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 …

Member Avatar for Randlathor05
0
230
Member Avatar for onlineboy18

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 …

Member Avatar for Randlathor05
0
166
Member Avatar for onlineboy18

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 …

Member Avatar for onlineboy18
0
166
Member Avatar for Salman.developer

I'm a new programmer with C# can I ask afew Questions Because I need for your help

Member Avatar for JorgeM
0
81
Member Avatar for kanjali

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 :)

Member Avatar for pavithra R
0
2K
Member Avatar for klactose

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 …

Member Avatar for d2010
0
361
Member Avatar for vinnitro

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 …

Member Avatar for vinnitro
0
210
Member Avatar for vikas05nitb

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 …

Member Avatar for thewebhostingdi
0
2K
Member Avatar for napninjanx

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 …

Member Avatar for Momerath
0
256

The End.