209 Topics

Member Avatar for
Member Avatar for yousafc#

I have two text box [COLOR="Red"]Textbox1[/COLOR]and [COLOR="red"]Textbox2[/COLOR] and [COLOR="red"]button1[/COLOR] textbox1.text = 1; textbox2.text = 0; Now I want when I click on button1.textbox2's data increment. this is my code [CODE]for (int i = 0; i <= 5; i++) { textBox2.Text = textBox1.Text[i].ToString(); }[/CODE]

Member Avatar for ddanbe
0
137
Member Avatar for punnoosepj

I have some problem i am trying to create a pdf with itextsharp in an aspx page i published in web service and called it but for the first time when i called aspx page i am getting an error message. But for every subsequent call to the webpage with …

0
106
Member Avatar for arsalanghouri

what query should i write in c# with backend sql server for finding all purchases i did from george in a date range. from purchases table.

Member Avatar for hericles
0
64
Member Avatar for arsalanghouri

please tell me c# code i want to determine largest number in a column of sql server 2000 table and store it in a variable.

Member Avatar for Momerath
0
148
Member Avatar for scrivomcdivo

Hey folks. I'm tying to carry out a simply task of writing a variable double value to a label on my form. The label is called 'lblTotalSeats'. Here's my code below: [CODE]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 ABCDEFG { …

Member Avatar for scrivomcdivo
0
342
Member Avatar for scrivomcdivo

Hey folks. I've just took up a course in C# and so this is part of a homework. I've tried various attempts but to no avail and so I thought I'd ask on here. I have been asked to write a class to verify if a valid double has been …

Member Avatar for bribissell
0
1K
Member Avatar for scrivomcdivo

Hey folks. I currently have the below code:- [CODE] int double weeksInYear = 52; int double num; while (num <= weeksInYear) Console.WriteLine("Week " + num); num += 2; [/CODE] Now when my code runs, it produces approximately 26 lines of text as below:- Week 1 Week 3 Week 5 etc..... …

Member Avatar for ddanbe
0
267
Member Avatar for jeffcogswell

A couple weeks ago, Microsoft Research made available a project that had been under development for a while called Debugger Canvas. This is a visual tool for debugging applications where your functions appear as bubbles, similar to a database diagram or UML diagram. It only works on Visual Studio 2010 …

Member Avatar for pseudorandom21
1
364
Member Avatar for jamesrichards

Hi, Lately I found a C# sip sms example. With it an efficient system can be built for sending sms information or notification. I want to ask your opinion if I should try it or not. It can be found here: <URL SNIPPED> Thank you.

Member Avatar for jfarrugia
0
102
Member Avatar for ChrisHunter

Hi, i'm tryin to use windows authentication to log into an application i have made. I have already worked out how to get the username but i can't figure out how to get the password too. Is this possible ? if so can anyone suggest any ways to do this …

Member Avatar for ChrisHunter
0
119
Member Avatar for ScubaSam

Hey everyone can I get some help please. I read through a few threads with the same problem as me but i can't seem to get the answer i'm looking for. I'm doing a school project and I need to save a Access DataBase that I have created in C#! …

Member Avatar for kplcjl
0
799
Member Avatar for ScubaSam

Hey every one i need some help please! I am trying to save a Database through c# but cant seem to crack it. I read a few threads but every one explains how to save an existing DB. In my program I am creating a new DB in c# then …

Member Avatar for breath2k
0
227
Member Avatar for ChrisHunter

Hi, i'm having a problem trying to print out a list of strings. i can get them to print out using rectangles successfully but when the bottom of the page is reached it wont go onto the next page, instead it just stops printing. I've done this so far which …

Member Avatar for ChrisHunter
0
936
Member Avatar for jay200032

Hi Everyone, I want to seek advice on how to acquire to strong background in Client-Server Programming, i mean learn it from scratch since having no knowledge about it but with networks Thanks

Member Avatar for \007
0
188
Member Avatar for ChrisHunter

Hi, i'm trying to implement a print function and i can print a single string out but i'm having trouble configuring the page setup properly, mainly moving to a new line when the margin of the page is reached and moving to a new lines for each string in a …

Member Avatar for ChrisHunter
0
157
Member Avatar for geekman92

Hi me again! =) if you didn't already know i am making a simple HTTP Server using TCP/IP sockets for a project. i have a method to get an image and send it over to the browser but i am having problems doing so, i have tried doing it different …

0
108
Member Avatar for geekman92

Hi i need to make a [B]BASIC[/B] HTTP server for a project using [B]JUST[/B] TCP/IP Sockets so please don't suggest anything that would use some of C#'s higher level networking components, Thanks =). [B]Anyway my problem:[/B] i have created the server and it all works so far but i haven't …

Member Avatar for geekman92
0
246
Member Avatar for zifina

how to save the state of radio buttons on application exit.how to get or set check state of radio buttons of a form,from another form.pleasssssssssssssssssssssssssssss help me with dis..its very urgent.i am new to c sharp.i will be really very grateful. :) thank you

Member Avatar for zifina
0
222
Member Avatar for Nevillelajru

hi i am looking for some code and step by step instructions for the c sharp encryption and decryption process. if anyone is willing to send me some instructions i would be grateful. thanks Neville

Member Avatar for Nevillelajru
0
327
Member Avatar for ChrisHunter

Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using …

Member Avatar for gusano79
0
190
Member Avatar for WASDted

The devastation is horrifying to see, all the videos, pictures... awful. On a tech note, I wonder what kind of effect this will have to pricing and availability of products from our friends in the East. Memory, LCD panels, Blu-ray, Sony, Sharp and others affected already, see here: [url]http://www.channelnews.com.au/Hardware/Industry/P4L9C8M3[/url]

Member Avatar for benmar
0
215
Member Avatar for ChrisHunter

Hi i keep getting an exception when i'm trying to update table values within a database. the exception is below but i dont change from datetime to varchar it always stay as datetime. is there any other reasons why this is happening ? "The conversion of a varchar data type …

Member Avatar for ChrisHunter
0
177
Member Avatar for chintan_1671

I am creating new thread everytime in the for loop .. but many times the loop takes the same filename and creates new thread. Doesn't Work: [code] foreach (string s in fileEntries) { t = new Thread(() => Shrink(s)); t.Start(); } [/code] I have tried individually for each file creating …

Member Avatar for chintan_1671
0
199
Member Avatar for ChrisHunter

Hi, Could anyone tell me the best way to implement a propertygrid? currently I'm doing it like this but I'm having truble setting the value of the private variable with the values returned but a single SqlDataReader: [CODE] [DefaultPropertyAttribute("ObjectTypeID")] public class ObjectType { private int _objTypeID; private int _stateType; private …

Member Avatar for lolafuertes
0
522
Member Avatar for micmo

Hi guys, I've been searching for hours now and haven't yet found a good source of C# information for what I need to do. The general gist is this: I have 1 Client app (a simple windows form which gathers data) and 1 Server console app (which holds the business …

Member Avatar for micmo
0
650
Member Avatar for rachaelginge

I need to get codes for ADD DELETE SEARCH (WHICH GOES TO ANOTHER FORM WHEN CLICKED) UPDATE (WHICH UPDATE AND SAVES RESULTS) [ATTACH]19289[/ATTACH] just the code for that thank you! :) it's from a SQL Database;

Member Avatar for Mitja Bonca
-1
124
Member Avatar for ChrisHunter

Hi i need to add a combo box to a property grid that can be populated with the result of an sql statement, i can more than likely populate it when i come to it but i have no idea how to add the combo box. Currently i am creating …

0
167
Member Avatar for junioryz

I have a text file with the following numbers: 1 2 3 4 5 6 How do I read each individual number into an array? It needs to move along each row so read in 1, 2 and then 3 into a array of 6 integers. Then move to the …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for ChrisHunter

Hi I'm pritty new to C# I'm having trouble with items repeating in a combo box This method gets the values from my table and stores it in the list of strings which it does fine . . . I think. [CODE]public class EditStates { public List<string> getStates(CEditStates ced) { …

Member Avatar for lolafuertes
0
211
Member Avatar for JPByD

I have a C# website that includes AJAX. The site has a master page and sub pages. I am revamping the photo gallery sub page to include a jquery function that displays a larger version of a thumbnail image when hovered. The thumbnails are listed in a xaml file, at …

Member Avatar for JPByD
0
223

The End.