Search:
Type: Posts; User: kristof1104
Search:
Search took 0.01 seconds.
-
July 14th, 2013, 08:53 AM
You are passing the user input to the output label:
outputLabel.Text = Fat.ToString("n1");
You need to pass the calories value to the output lable:
outputLabel.Text =...
-
August 14th, 2011, 09:14 AM
you could do something like this:
Dim s As String = "a_b_c_d"
Dim result = s.Split("_")(2)
Console.WriteLine(result)
-
January 16th, 2010, 02:55 PM
You have to declare score outside a methode. Because if you declare it within a methode, the variable will be destroid when you leave the methode and be created each time you enter the methode.....
-
January 16th, 2010, 02:38 PM
On top of your class declare a variable that will hold the score
like
private int score=0;
then you simply do this:
if ((textBox1.Text == c.ToString()))
{
...
-
December 26th, 2009, 03:24 AM
Make sure your item had 5 subitems!
-
December 17th, 2009, 06:05 AM
I went to a seminar on silverlight and if you make a app in silverlight you can right click it and click a option wich enables you to run it locally(it'll copy it to the harddrive and make a link on...
-
December 17th, 2009, 04:05 AM
I Would just use
<%="Hy There This is a Test"%>
Or
<% Response.Write("testing 1 2 3"); %>
-
December 16th, 2009, 06:14 AM
XNA isn't that fast..:) Its only used for smaller games for a reason..
Not using try catches is just a huge fail in my eyes it has nothing to do with being conservative.. it's just good coding!
-
December 16th, 2009, 06:00 AM
Here you go:
public statements only work outside functions.
public in [,,] test;
private void main()
{
test = new int[100,100,3];
}
-
December 15th, 2009, 10:41 AM
just make a getter for result in afmresult
-
December 15th, 2009, 04:15 AM
Instead of clicking the link try to extract the link and call this methode..
public void DownloadFile(String sFileUrl, String destination, String sFileName)
{
...
-
December 14th, 2009, 01:55 PM
-
December 14th, 2009, 11:35 AM
You're welcome :D here is how you can achive what you want to do:
lets say you have a class car like this one:
class car
{
public string Name { get; set; }
public...
-
December 14th, 2009, 05:56 AM
You should use an arrayList.. you can fill the listbox like this(i think you can do the same with linklists but i would use an arraylist):
List<string> list = new List<string>();
...
-
December 14th, 2009, 05:36 AM
Gladd I could help :)
greetz kristof
-
December 13th, 2009, 12:18 PM
try
SqlCommand filterAccounts = new SqlCommand
("SELECT * FROM Accounts WHERE Surname = '"+ criteria +"', connectionLine);
also.. is your connection open before you...
-
December 13th, 2009, 05:34 AM
Actually a string is an array of chars so you can just do this ;)
String s ="Hello";
then s[0] will be 'H' and s[1] will be 'e' and so on...
for the index you can use this:
String s="Hello";...
-
December 12th, 2009, 12:58 PM
Do you use asp or asp.net
if you use ASP.NET
you make a <asp:label ID="label1" runat="server"/> tag in your aspx page
and
label.text = frmOffice
fills in the text into that label
if you...
-
December 12th, 2009, 12:29 PM
I made a solution in your other thread :)
http://www.codeguru.com/forum/showthread.php?t=489660
kristof
-
December 12th, 2009, 11:57 AM
Strange..,
could you upload your project and db so I can take a look at it for you?
-
December 12th, 2009, 11:02 AM
It's just formatting.. it makes no difference
dovobet I see the problem..
you have more fields then you have values.. you have type 2times!
try
string SQLstr = @"INSERT INTO...
-
December 12th, 2009, 10:54 AM
Here you go..
I used 2 textBoxes just replace it with richttextbox.text and your set :) tested and works ;)
private List<string> Chains = new List<string>();
private...
-
December 12th, 2009, 09:58 AM
I would use Pannels make 4 pannels for example.. and when you click a button just hide all panels and unhide the one you want to show
-
December 12th, 2009, 09:55 AM
Windows Communication Foundation
Here you go:
http://msdn.microsoft.com/en-us/library/ms735119.aspx
-
December 12th, 2009, 09:49 AM
I agree with sotoasty, you should always use a try_catch block..
If the messagebox with text "2" shows up it doesn't mean the code above it is ok.
For example your input query, you're just making...
|
Click Here to Expand Forum to Full Width
|