4,588 Topics

Member Avatar for
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
205
Member Avatar for paddypowa

Hey all, A quick question, i've been picking my brain and browsing the net for a few hours now and still can't get any further. I have a simple C# windows form which acts as a login, but also has a form to change the password of a user. When …

Member Avatar for zachattack05
0
4K
Member Avatar for sachintha81

I'm using .NET 3.5 with VS 2005 C#. I created a simple application where when I select the time zone from a combo box, it displays the current time of that time zone. To do this I simply use the GetSystemTimeZones() method of TimeZoneInfo class, and then populate the combo …

Member Avatar for darkagn
0
1K
Member Avatar for JudeV

•Generate a random number from 1 to 100 inclusive. •Input a guess. Use a while loop to check the guess to ensure that it is within the range of 1 to 100, If the guess is outside that range, continue to input guesses until it is within the desired range. …

Member Avatar for Momerath
0
193
Member Avatar for vincezed
Member Avatar for Enderz

I am trying to learn C# and have an idea for an application. I am building a windows form application in C# that will convert an area code from my Access database into the time zone that area code is located in. I have the database connected to Visual Basic …

0
99
Member Avatar for peck3277

Hi guys, Does anyone know if it's possible to connect to the MYSQL database in wamp using C#. I basically want to take information from the COM port using C# and write it to the database. Any thoughts/tutorials/links would be greatly appreciated!

Member Avatar for griswolf
0
109
Member Avatar for peck3277

Hi guys, Does anyone know if it's possible to connect to the MYSQL database in wamp using C#. I basically want to take information from the COM port using C# and write it to the database. Any thoughts/tutorials/links would be greatly appreciated!

Member Avatar for Momerath
0
111
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 psathish2

hi i am sathish. i am asp.net beginner i want learn grid view in asp.net using C# . i donot how to do. so any one know plz send me step by step.. thank you

Member Avatar for afroz khan
0
301
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
214
Member Avatar for Gobytza

Hi,I am new in c# development and I have some problems in my smart device application.I have 3 forms: Orders, Add_orders, Add_client. Orders is the mainform. What I want is that when I click 'Save' on Add_orders form, to navigate back to Orders form but not to close the Add_orders …

Member Avatar for lolafuertes
0
130
Member Avatar for canadiancoder

Hi Folks, I've been looking around all day and I've tried numerous suggestions, but to no avail. I've got a struct in C# defined as: [code] [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct GenericTrackRecord<T> { public Int32 hasValue; public T value; } [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct OTXFixDetailsStruct { public …

Member Avatar for canadiancoder
0
3K
Member Avatar for Shailu kumrawat

plz sir help to ,how code to login form with database and chage to password with to similar to pc

Member Avatar for kvprajapati
0
100
Member Avatar for canadiancoder

Hi Folks, This quandary should be fairly straight forward but I have yet to find an example that works. Essentially I have a struct, I create an array of these structs in C#, pass the array to C++, do some manipulation on the C++ side and return the results to …

Member Avatar for canadiancoder
0
1K
Member Avatar for kishor20

Dear Sir, I am taking up first VC# Project i.e Nursing Home/Hospital Management, I require help like how to capture the informations from client & how to design tables & decide about classes & objects functions. I require overvall view of the new project. Thanks & Regards, Kishor

Member Avatar for kishor20
0
443
Member Avatar for revjim44

I'm trying to code a C# homework assignment that takes a phone number in this format XXX-XXXX (8 digits that can be alphanumeric) and then "Define a method named ReadDials( ) that reads each digit/letter dialed into eight separate char variables (DO NOT USE ARRAYS). All digits are sent back …

Member Avatar for Ketsuekiame
0
381
Member Avatar for ichigo_cool

Hello! I programmed in c++ for a while but did not get very far into OOP; I want to make video games and I believe C# would be more accommodating for a beginner to achieve such a task? I'm wondering if what I will learn about OOP in C# will …

Member Avatar for Momerath
0
75
Member Avatar for unclepauly

hello, im writing an HTTP proxy in C#. the proxy should capture both HTTP and HTTPS traffic from the web browser. so far i have implemented the GET and POST requests no problem, but the CONNECT request i am having a little trouble with. there does not appear to be …

Member Avatar for unclepauly
0
2K
Member Avatar for adambomb1945

Hello all I am a disabled college student trying my best to learn how to program in either C/C++ or C#. I have come here with the hope that I could find a guru to help explain some of issues I am still fuzzy on. I would like to chat …

Member Avatar for AndreRet
0
175
Member Avatar for qrkr0730

Write a program that calculates and prints the take-home pay for a commissioned sales employee. Create appropriate variables and enter the values of variables that will change for each employee using Console.ReadLine(); Jessica received 7% of her total sales. Her federal tax rate is 18%. She contributes 10% to a …

Member Avatar for ddanbe
0
80
Member Avatar for newbie14

Dear All, I am generating a report via crystal report. I am reading data from mysql db and one of the sample field I format is Cast(DATE_FORMAT(tblFranchiseTransfer.franchiseTransferFromDate, '%d-%m-%Y') As Char) as franchiseTransferFromDateOriginal. One problem I have few data which is ordered in this flow 04-01-2011,12-01-2011,13-01-2011,18-12-2010. I have ordered as ascending …

Member Avatar for Momerath
0
96
Member Avatar for kardo

Hi, I'm about to develope a little application in C# where I need to save some data in an XML file. I'm viewing data from XML file in a DataGridView, but I would like to make changes and save it in the same XML file. I can't get it to …

Member Avatar for kardo
0
2K
Member Avatar for murtaza1234

[CODE] <% response.buffer=True %> <!--#include file="inc-adovbs.asp"--> <!--#include file="DataStore.asp"--> <!--#include file="inc-nocache.asp"--> <!--#include file="func-conversions.asp"--> <!--#include file="error-catcher.asp"--> <!--#include file="func-getvars.asp"--> <% if userrights < 5 then response.redirect("default.asp") end if sort=wclng(request("sort")) delete=nonull(request.form("delete")) ' Set up the database connection Set ddConn=Server.CreateObject("ADODB.Connection") ddConn.Open strConnect Set ddRs=Server.CreateObject("ADODB.RecordSet") startdate=wcdate(request("sd")) enddate=wcdate(request("ed")) if startdate="" then startdate="09/01/2001" end if with response .write …

Member Avatar for kvprajapati
-3
151
Member Avatar for murtaza1234

[CODE] <% response.buffer=True %> <!--#include file="inc-adovbs.asp"--> <!--#include file="DataStore.asp"--> <!--#include file="inc-nocache.asp"--> <!--#include file="func-conversions.asp"--> <!--#include file="error-catcher.asp"--> <!--#include file="func-getvars.asp"--> <% if userrights < 5 then response.redirect("default.asp") end if sort=wclng(request("sort")) delete=nonull(request.form("delete")) ' Set up the database connection Set ddConn=Server.CreateObject("ADODB.Connection") ddConn.Open strConnect Set ddRs=Server.CreateObject("ADODB.RecordSet") startdate=wcdate(request("sd")) enddate=wcdate(request("ed")) if startdate="" then startdate="09/01/2001" end if with response .write …

-2
346
Member Avatar for arjunpk

hi guys.... can someone please give me the code to automatically enter the movie name and the imdb id in the website given below... and then pull out the poster which it generates.... [url]http://api.movieposterdb.com/console[/url] i have to use this in an ssis package script component... to pull out images for …

Member Avatar for arjunpk
0
123
Member Avatar for chirag.makwana

Hiii I am developing one window application in c#.net with sql server 2005 as database. now, i have Some questions: How To Use OpenFileDialog control in C# window application. and how to give the validation for it. How To copy this file On The Other Folder also store the path …

Member Avatar for ikunu
0
163
Member Avatar for dakota5150

I have a label and text block on a WPF window and I'm trying to update those from a 2nd cs code file. I've tried the below code but the label is not getting updated...any help is greatly appreciated! [CODE] MainWindow main = new MainWindow(); main.statusLabel.Content = "Blah...blah"; main.statusTextBlock.Text = …

0
75
Member Avatar for bhavna_816

I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I …

Member Avatar for rickyenjohns
0
225
Member Avatar for ammarahmad001

I want a programme in c# in which , Delete phone numbers from csv file,if these phone no. exist in database Please helo me regarding this

Member Avatar for ddanbe
0
70
Member Avatar for irenecct

Hi i have been trying to do voice recording using c# for window mobile programming. I tried using OpenNETCF, but because the free OpenNETCF version i downloaded is a community version which doesn't provide a full source code. I found out that i can use waveinopen for voice recording too. …

0
61
Member Avatar for simpleonline123

I am somewhat new to C# and I've started with the basics. I need to create a Windows Form application where I can interact with the Web. My needs are that I need to access my website and log in to my account to check my stats. How does one …

Member Avatar for kvprajapati
0
125
Member Avatar for john_beginner

hello , i am going to build a web site in which i want to transfer the session variable value from master page to other page i try some code like i have use session variable in master page in button click event [code=.aspx] Session["name"] = txtemail.Text; Response.Redirect("userpage-1.aspx"); [/code] now …

Member Avatar for serwan Gupta
0
126
Member Avatar for lanzslumber

Hello, I'm a beginner in these to programming language. Here I want to know how to display the actual value of variable of enum holds. Like this in C++: [code] #include <iostream> #include <conio.h> using namespace std; int main(void) { enum Difficulty { Low = 1, Medium, High }; Difficulty …

Member Avatar for ddanbe
0
248
Member Avatar for jas2010

hi my friends I developing shop program and want my software can read price from POS device , i dont have information about POS please help me

Member Avatar for Ketsuekiame
0
129
Member Avatar for arunkumars

Hi, In my current project we have been inserting quite a few records into the data base, we dint chk abt implementing locks, my client doesnt want any duplicate records for a column in a table, there is no primary key constraint on any of the column for the table …

Member Avatar for kvprajapati
0
111
Member Avatar for ashishkumar008

hello, Actually, i want to play sound file from [COLOR="green"]resource[/COLOR]. I am using [COLOR="green"]WindowMediaPlayer[/COLOR] Control for window application. But there is only option is "[COLOR="Red"]URL[/COLOR]" (Property of control) to play sound file. I don't want to use [COLOR="Red"]URL[/COLOR] property. Because my sound file is present in the [COLOR="Green"]Resource[/COLOR]. Any body …

Member Avatar for zinnqu
0
1K
Member Avatar for vedro-compota

hi guys)) please -someone who use MS Visual C# Express Edition - tell me is there System.Math (with mathematic functions) library there? Thanks in advance!)

Member Avatar for vedro-compota
0
120
Member Avatar for xanawa

Hi, I am studying to become a software developer. This year is the last year of school and to pass i need to create a System myself. I know C# very well not as good as java. I wish that the software project will be programmed with C#. What ideas …

Member Avatar for xanawa
-2
237
Member Avatar for Nemo_NIIT

Hi I want to generate sequence number in C# window application I have got one link on Google, but I it is not helpful. I want that on click to add button an order sequence number should generate and stored in SQL Database i have written this code but it …

Member Avatar for ashishkumar008
0
1K
Member Avatar for Baby G

heyz... i need help. i new to C#. i need to add timer to my code. but i don't know how to do it... can help mi!! all i have done to the code is declared int time. :(:(

Member Avatar for Baby G
-3
264
Member Avatar for TheDocterd

Can anyone perhaps help me with my problem please? I want to apply security to my winform application but I am stuck.. This is the code I have that will run when the view job button is clicked and I it doesn't work [CODE] private void viewJobBtn_Click(object sender, EventArgs e) …

Member Avatar for TheDocterd
0
207
Member Avatar for jainendra.shah

hi frds, i have create a .txt file and write some data. i want to open on screen that .txt file for reading by a click a button. if you have the answer, so please help me. thanks in advance ....

Member Avatar for Amit Dhemar
0
194
Member Avatar for moone009

Hello! Basically I need this program to go line by line down my text file and tell me if it sees "000-00-0000"......we use this as a dummy number otherwise the file wont process. Right now the program will tell me it sees "000-00-0000" in the file but a few lines …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for john_zakaria

hi guys thanks everyone for help in my last post now i made my windows service that get response from a web service and everything is working well. all that i need now is: 1- The windows service should pop-up something saying there is a new application to be downloaded …

Member Avatar for jonsca
0
103
Member Avatar for stevanity

Please help me debug this. Ive used a permutation generator class as a dll file. Its not loading. Please help me. Main Project: [code]http://www.mediafire.com/?7glk636ncm49spx[/code] DLL: [code]http://www.mediafire.com/?l41b3l2uaugqmwz[/code] Thanks. I had some problems with strings and stringbuilders. It would be nice if someone could suggest a better solution after seeing my code. …

Member Avatar for stevanity
0
139
Member Avatar for walerhola

The bit of code below is giving me the error: Cannot read from a closed TextReader. [CODE]public static int maxUsers(int logMinute) { StreamReader maxNum = new StreamReader(@"C:\Users\jplishka\Desktop\LoginSorted.csv"); string sortedstrline = ""; string sortedUser = null; string sortedComputer = null; string sortedDate = null; string sortedInTimeSec = null; string sortedOutTimeSec = …

Member Avatar for Mitja Bonca
0
5K
Member Avatar for meensatwork

I tried many codes in internet for this but it says Access violation. Can somebody provide me the code snippets in C++ and C# for this?

Member Avatar for ddanbe
0
246
Member Avatar for pikkas

hi, i m trying to make something like a login page and i used the following code to compare the Users password from a password text box and then compare it with the Database password to see if it is the same. nevertheless when i compare the strings the system …

Member Avatar for pikkas
0
271
Member Avatar for GAME

The End.