456 Posted Topics

Member Avatar for king03

Try making the plans for it, think of what data your system will be handeling and what you want the system to do with the data (what functions your system will carry out). once you know what data needs to be input and what functions you will implement you can …

Member Avatar for Akill10
0
135
Member Avatar for shylock_1
Member Avatar for ChrisHunter
0
160
Member Avatar for Zzzy1005

Have a look at these's threads. Reading and writing to Xml has been discussed in the past so they might help you with your problem. If not just ask. http://www.daniweb.com/software-development/csharp/threads/420976/easiest-way-to-read-and-write-xml-files#post1796401 http://www.daniweb.com/software-development/csharp/threads/406137/dealing-with-xml#post1734164 Best of luck

Member Avatar for ChrisHunter
0
279
Member Avatar for kothaisaravan

make sure you have instantiated, assigned all you instances correctly and have all the correct DLL's at the top of your .cs files (example below). Using UIHelper; hope this helps

Member Avatar for kothaisaravan
0
220
Member Avatar for watoth

you could possibly update the Players and Managers table in the same update. The Draft table may need to be kept in it's own update because it has the year in it's where clause. Try something like: DECLARE @old_team_id AS int; DECLARE @new_team_id AS int; UPDATE Players SET Players.team_id = …

Member Avatar for BitBlt
0
621
Member Avatar for mujtabaaain

I did a quick google and found quite a lot of info on running background processes, Have a look at the two links below and see if they help at all (i typed "running background processes in C#" into google) http://msdn.microsoft.com/en-us/library/hybbz6ke.aspx http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/thread/26396b5e-6ebf-426a-86ae-a767719db9b9/ Hope this helps

Member Avatar for skatamatic
0
358
Member Avatar for carlakawill

Is your problem that in the time between loading your form (which will populate your comboBox automatically because it's databound) and selecting a comboBox item the data in the database may have changed and you would like your comboBox to update if the data in the database is changed ?

Member Avatar for ChrisHunter
0
199
Member Avatar for muthukumar46

use a lable instead of a textbox or just set the ReadOnly property of the textbox to true that will stop the user from being able to type in the 2nd textbox

Member Avatar for ChrisHunter
0
46
Member Avatar for sentongogray

Theres also XHTML which is a mix of Xml and HTML and i think it's used like CSS to style the website rather than for adding functionallity to a webpage.

Member Avatar for sentongogray
0
93
Member Avatar for poojavb

This should do i i think, let me know if it works or not. SELECT INP1.PatientID, PatientFName, PatientName, Gender FROM INP1 LEFT JOIN OTP1 ON INP1.PatientID = OTP1.PatientID;

Member Avatar for poojavb
0
165
Member Avatar for MasterHacker110

If you're using Windows you can just go to Start->Search and then start to enter the name of your program. to get the .exe you need to publish your program and save the published version to your desktop. Hope this helps . . .

Member Avatar for thines01
0
121
Member Avatar for Ancient Dragon

> Really? How could you say such a thing without any thought? I haven’t seen or read any news about food (or money) given to Greece for free… (If you have any such news –not loans- please share them). Don’t carry away, the problem certainly are not peoples. You really …

Member Avatar for happygeek
0
103
Member Avatar for king03

Code will be alot more organised if it's OOP developed and have more generic object and variable names than none OOP programs. Best thing to do might be to create an OOP program in something like Visual Studios to see how the code to create object is organised when you …

Member Avatar for muze
0
127
Member Avatar for akuvidz

It's suggesting that you use threading to avoid your application from hanging while a process is waiting for resources. For example if you have a mobile IM application for a mobile if you don't use threading and one device trys to send a message but has to wait for resources …

Member Avatar for akuvidz
0
211
Member Avatar for infinitus

Restrict your test box to only except ints so that the user can't enter charactors into the textbox.

Member Avatar for ChrisHunter
0
207
Member Avatar for arunkumars

Have a look at this [Click Here](http://msdn.microsoft.com/en-us/library/ms187922.aspx). Also do **WANT** to select COTDetails that **are** NULL or that are **NOT** NULL ?

Member Avatar for ChrisHunter
0
153
Member Avatar for polarbear125

As NormR1 said you don't appear to call the getNumDots() method. Also why are you returning value in getNumDots() when you haven't done anything with value in that method. Other than that your methods look ok you just need to call them at some point.

Member Avatar for DavidKroukamp
0
237
Member Avatar for riahc3

I don't know about the localization or configuration bit but i did the code below to import data from an Xml file. I used an OpenFileDialogBox (fileOK method belongs to OpenFileDialogBox) and created a class called ObjectTypeState containing get/ set properties to store the imported data which was then displayed …

Member Avatar for skatamatic
0
744
Member Avatar for wilen

If you carID column is a primary key field and it's a foreign key in another table i don't think you're allowed to update them because the foriegn key basically means it references the record in another table. For example if there is an ID of 1 and and it …

Member Avatar for ChrisHunter
0
248
Member Avatar for roboxslt

> expecting output which should be made in XSLT Good for you thanks for telling us i'll sleep better tonight now i know that! What problem are you facing ? you haven't stated that you're having a problem getting this output or what you're doing to get this output you're …

Member Avatar for Mike Askew
0
102
Member Avatar for M.Waqas Aslam

put .**E**xecuteScalar instead of .**e**xecuteScalar (use a capital E) Why are you doing: > convert.ToInt16(cmd.executeScalar().toString()); take off the .toString() (plus its **T**o.String()), convert it straight to string and put a capital C on convert. Hope this helps

Member Avatar for arunkumars
0
183
Member Avatar for Daffodil_Thursday

What is the problem you're facing, does the application not run? or are you just not seeing the correct answers being shown at the end of the test ? I noticed the arrary below is never used after it is declared, are you supposed to use it to check the …

Member Avatar for thines01
0
230
Member Avatar for silvercats

To answer your first question: No they are assigned different IP addresses. 192.168.0.1 is usually the default IP and is usually reserved for a router, the first computer connected to the router will have an IP of 192.168.0.1, the second 192.168.0.2 and i think you can guess the 3rd. to …

Member Avatar for JorgeM
0
202
Member Avatar for bettybarnes

Instead of using: > invalue = textBox1.Text; > guessedNumber = int.Parse(invalue); use: guessedNumber = Convert.ToInt32(textBox1.text); Hope this helps edit: if you enter any charactors into the textbox you will get an error because charactors cannot be converted into a numerice value the way you wish, you may have to do …

Member Avatar for Mitja Bonca
0
214
Member Avatar for nicewave

> string SearchText = "7,true,NA,false:67,false,NA,false:5,false,NA,false:5,false,NA,false"; > string Regex = @"\btrue\b"; > int NumberOfTrues = Regex.Match(SearchText, Regex).Count; stirng doesn't contain a Match() extention method so you can't do Regex.Match(). take a look at this [Link](http://msdn.microsoft.com/en-us/library/cc165449.aspx) it might help you

Member Avatar for Mitja Bonca
0
194
Member Avatar for taher_sk2000

I don't know much Java but by the looks of the error you're getting it looks like the ClassicRoom.Occupy field should never be null but is null at the point the error is thrown.

Member Avatar for taher_sk2000
0
180
Member Avatar for Pgmer

Next to "Logged in as" click your name and in the community contributions box click total posts. this will list all of your posts, it's a little confusing at first but they are all there

Member Avatar for Dani
0
71
Member Avatar for nicewave

When you renamed it did you click yes on the messagebox that asks if you want to change the the name everywhere it's references (if you've referenced form1 in other classes) ? i renamed the Designer file maulally i think . . .

Member Avatar for Mitja Bonca
0
86
Member Avatar for rick.eavans

You don't need to a static class just pass the username to the username variable Something like this: This would go in your login: private void button1_Click(object sender, EventArgs e) { a = comboBox1.Text; Form main1 = new main(); mail1.username = comboBox1.SelectedItem1.ToString; main1.Show(); } This would go in you main …

Member Avatar for Mitja Bonca
0
843
Member Avatar for anthonyjpv

Yeah it's not too difficult to get the hang of in C# if you've done it in another language reading data is just the This is to use the SQL DLL: using System.Data.SqlClient; and this is the code to read the data: string sql = "SELECT * FROM MyTable"; //creates …

Member Avatar for thines01
0
176
Member Avatar for nicewave

open your Program.cs file in your solution, and in the Application.Run(); type new MyLoginForm so would be like: Application.Run(new LoginForm()); This specifies the form that you wish to run first. Hope this helps.

Member Avatar for Mitja Bonca
0
87
Member Avatar for Vampiricx3

If you've got ears as saggy as a 90 year old bits and you go for the same job as someone who is clean cut, equally as qualified and experienced you're more than likely not going to get the job. If that wasn't the case i would have rocked up …

Member Avatar for BruceVA
0
204
Member Avatar for welshly_2010

I've never done this myself but i would assume you need to create your own custom event handler and event. have a look at [URL="http://stackoverflow.com/questions/585837/in-c-sharp-how-do-you-create-an-event-with-a-custom-event-handler-as-part-of-an"]this[/URL]

Member Avatar for ddanbe
0
159
Member Avatar for jjsmithy

i've only ever used a backend database to populate a list box but i don't know about the "Directory.GetFiles(@"C:\Users\James\Pictures\", "*.jpg").ToList();" part, but to put the names in the list box try this (the foreach section) [CODE] private void popListBox() { try { List<string> imgNames = Directory.GetFiles(@"C:\Users\James\Pictures\", "*.jpg").ToList(); foreach (string str …

Member Avatar for jjsmithy
0
111
Member Avatar for Fenrir()

What is it you mean by browsing the grid values ? do you do any functions or are the any functions that are triggered by something your doing whilst browsing the grid ?

Member Avatar for ChrisHunter
0
79
Member Avatar for saneeha.nust

Have you tried: [CODE] string variableName;[/CODE] And using this in-line: [CODE] '" + variableName + "'[/CODE]

Member Avatar for saneeha.nust
0
65
Member Avatar for izeko
Re: GUID

Yeah i would assume the GUID works the same way an ID field works for a database records.

Member Avatar for dwarvenassassin
0
78
Member Avatar for CertifiedMan

"An individual or collaborative enterprise planned and designed to achieve an aim." Thats the Google definition, so it's the entire process of creating a program including the design implementation and testing.

Member Avatar for jbennet
0
191
Member Avatar for RomeoX

If you have a WHERE clause you can't use the selected value from your comboBox you need to specify what field in the database table you want to check e.g. commandString = "Select * from tableadd where customerName like '%" + textBox1.Text + "%'" ; This will return all records …

Member Avatar for dwarvenassassin
0
168
Member Avatar for webjam

My advice is to do a project and not a dissertation if possible. I.T. is a practical profession, if you want to be database admin a project (which is documentation, the app or DB) will be better than a dissertation as it shows that you can walk the walk and …

Member Avatar for BitBlt
0
572
Member Avatar for uva1102

You need to provide a lot more detail before anyone will be understand what you actually asking. What do you mean by only view the website ? why would you let a user do anything other than view your website ? what are you trying to stop the user from …

Member Avatar for ChrisHunter
0
140
Member Avatar for zeeya

[QUOTE=bencash;1612210]im a computer science student and i need three topics for my final year project....can anyone help pls[/QUOTE] I've just done mine but i did mine for the company im working for now and it was a C# winForm app that manipulates data in an SQL server DB, exports selected …

Member Avatar for happygeek
1
334
Member Avatar for zachattack05

[QUOTE=ddanbe;1771876]Do NOT assume anything about a user. Users tend to know what you assumed about them and are going to do the exact opposite.[/QUOTE] [QUOTE=ddanbe;1771876]Do NOT assume anything about a user. Users tend to know what you assumed about them and are going to do the exact opposite.[/QUOTE] Too true …

Member Avatar for zachattack05
0
181
Member Avatar for vaultdweller123

I use Chrome and have that problem but i don't need to log in i can just click on any link that is linked to a daniweb page and it logs me in automatically. Bit annoying but like you should always do with word documents, save your work, just copy …

Member Avatar for Ancient Dragon
0
95
Member Avatar for jackbauer24

basic of C# and a little of SQL, Java and HTML (although i haven't used the last two in a long time)

Member Avatar for diafol
0
238
Member Avatar for saneeha.nust

As kamilacbe said you need to use execute reader, your code should be something like this, try to understand it and change it to suit: [CODE]public List<string> getName() { //SQL statement to select Name from MyTable string sql = "SELECT Name FROM Mytable.Name"; //SQL command establishes database connection and executes …

Member Avatar for saneeha.nust
0
145
Member Avatar for imranfarooq

I'm sure a quick Google will give you the answer but I'd say built-in functions are simply functions that are built into what ever it is your using. A C# example would be DateTime.Compare() which is a built-in function within the C# libraries.

Member Avatar for ChrisHunter
0
51
Member Avatar for The.Ree

Take a look at this [URL="http://msdn.microsoft.com/en-us/library/5011f09h(v=vs.71).aspx"]link[/URL] and give it a go. Bare in mind that you can get the length of the text box value by using: [CODE]myTextbox.Text.Length[/CODE] (use this in your if statement).

Member Avatar for ChrisHunter
0
112
Member Avatar for thisisspidey

Do some of your own research, try it yourself and the post a proper question with your own code rather than just "help me to get code as i m new to c#" isn't a question and "How can i get Combo-box values by typing in TextBox" isn't nearlly good …

Member Avatar for ChrisHunter
0
23
Member Avatar for asif49

[QUOTE=jbennet;1760431]Yeah, but generally a lower starting salary in a smaller business. Ie 22-24 rather than 24-26.[/QUOTE] Thats a bit generous ! i did 2 days a week in a company for a year while i was at uni and now working for them and am on less than 20G a …

Member Avatar for jbennet
0
167

The End.