Forum: C# Aug 12th, 2009 |
| Replies: 4 Views: 241 What exception it is throwing?
How do you know its not working? |
Forum: C# Aug 11th, 2009 |
| Replies: 10 Views: 714 Based on what information you want to add child nodes?
Can you explain more about why you want to do this, this will help us to provide better solution. |
Forum: C Aug 11th, 2009 |
| Replies: 7 Views: 229 Its ok hket89, our point is use the english whatever you know, don't make it like SMS language, even if you are not understandable it is OK, but don't use SMS like language.
Now, if you dont have... |
Forum: C# Aug 10th, 2009 |
| Replies: 7 Views: 809 Simple way will be to fill the data in to DataTable and simply set DataSource property as table:
DataTable table = new DataTable();
//fill the table with data
dataGridView1.DataSource = table;
... |
Forum: C# Aug 10th, 2009 |
| Replies: 7 Views: 809 Some suggestions:
==============
1. Use data grid for it.
2. First divide number.
3. Fill it in data grid. |
Forum: C Aug 10th, 2009 |
| Replies: 21 Views: 906 Please use proper English, didn't you read above posts by yellowSnow? |
Forum: C Aug 10th, 2009 |
| Replies: 7 Views: 229 Please post your question.
Please use English which every one can understand.
What is vf? |
Forum: C Aug 7th, 2009 |
| Replies: 21 Views: 906 I think you should start with a basic C book. You can not learn each and every language construct by communities. |
Forum: C# Aug 7th, 2009 |
| Replies: 18 Views: 554 @ adatapost thanks for mentioning my mistakes. :)
regarding StreamWriter from msdn: "StreamWriter defaults to using an instance of UTF8Encoding unless specified otherwise."
so i think it would... |
Forum: C Aug 7th, 2009 |
| Replies: 12 Views: 723 Try to avoid GOTO. Put main loop inside one more loop or try some other logic. Use of GOTO will create all the mess at last. |
Forum: C# Aug 7th, 2009 |
| Replies: 18 Views: 554 if you have to create a file then you should not use:
StreamWriter oFile = new StreamWriter(@"C:\Users\fjones\Documents\Visual Studio Projects\bin\Debug\output.txt");
[code]
instead use this:... |
Forum: C# Aug 6th, 2009 |
| Replies: 5 Views: 340 The link i have is given is good to start what else you need? |
Forum: C# Aug 6th, 2009 |
| Replies: 5 Views: 340 wpf (http://en.wikipedia.org/wiki/Windows_Presentation_Foundation)
wcf (http://en.wikipedia.org/wiki/Windows_Communication_Foundation)
wwf (http://en.wikipedia.org/wiki/Windows_Workflow_Foundation) |
Forum: HTML and CSS Aug 6th, 2009 |
| Replies: 2 Views: 366 please also post the HTML code as in above code you have lot of divs |
Forum: ASP.NET Aug 6th, 2009 |
| Replies: 6 Views: 264 Interoperability
Interoperability is a property referring to and the ability of diverse systems and organizations to work together (inter-operate).
-wikipedia... |
Forum: C# Aug 5th, 2009 |
| Replies: 2 Views: 241 Hi
Do this:
if (e.KeyChar == (char)Keys.Enter)
{
//do something
}
inside textBox1_KeyPress function |
Forum: PHP Aug 2nd, 2009 |
| Replies: 2 Views: 285 Hi,
I am giving algo to do the job:
1. Sort the table row by Item ID.
2. Take two array arrayItemId to store Item Id and arrayAmountSum to store sum of amount.
3. Now look throw the data base... |
Forum: C# Jul 31st, 2009 |
| Replies: 7 Views: 257 Dividing means dividing the big (complex number) struct in to several other classes. Or I should say regrouping all your methods in to several classes.
I am sure you wont use all of the methods at... |
Forum: C# Jul 31st, 2009 |
| Replies: 3 Views: 422 Hi,
Simply user XmlDocument and its method LoadXml().
You can find example code here (http://msdn.microsoft.com/en-us/library/system.xml.xmldocument.loadxml.aspx). |
Forum: C# Jul 31st, 2009 |
| Replies: 7 Views: 257 What about creating a small complex number struct and dividing methods around it in different classes? |
Forum: C# Jul 24th, 2009 |
| Replies: 7 Views: 538 if you dont want to display more than 1 Form2
keep following code out side the foreach statement:
Form2 form2 = new Form2();
form2.Show(); |
Forum: C# Jul 23rd, 2009 |
| Replies: 2 Views: 431 do in this way:
...............
Object x;
x = s.Pop();
ArrayList al=x as ArrayList ;
if(al!=null)
{
al.Add("Something");
} |
Forum: C# Jul 23rd, 2009 |
| Replies: 5 Views: 429 Hi,
Read example here (http://msdn.microsoft.com/en-us/library/system.data.oledb.oledbdatareader(VS.71).aspx). It will help you. You have to call dataReader4.Read() before reading it. If still... |
Forum: C# Jul 23rd, 2009 |
| Replies: 2 Views: 438 there is a problem in following line:
string FileList = Directory.GetFiles(DirPath).ToString();
it should be :
String[] FileList=.............. |
Forum: C# Feb 19th, 2009 |
| Replies: 2 Views: 188 install framework 2.0, it will have backward compatibility, but vice verse is not going to work. |
Forum: C# Feb 11th, 2009 |
| Replies: 3 Views: 244 return true or false from WPChk() based on success or failure,
on the base of return value of WPChk() you decide whether you want to proceed further or not. ex:
if(WPChk())
{
//do this
}... |
Forum: C# Feb 11th, 2009 |
| Replies: 14 Views: 2,721 check this (http://harriyott.com/2006/05/using-begininvoke-to-update-gui-safely.aspx). |
Forum: C# Feb 10th, 2009 |
| Replies: 14 Views: 2,721 Create a method as RamyMahrous said then invoke it using any UI thread. You can do it by control.BeginInvoke(). |
Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008 |
| Replies: 5 Views: 1,851 Hi,
define a new array with function: arr3=new Array(no_of_element);
then use for loop to populate member of both array in to it as u want.
use arr_var[index] to access individual member of... |
Forum: C# Aug 29th, 2008 |
| Replies: 2 Views: 561 Hi,
FastCar fc = new FastCar();
Car c1 = fc;
will be ok.
but what you have done is opposite.
you can assign pointer of object of child class to pointer variable of... |
Forum: JavaScript / DHTML / AJAX Apr 3rd, 2008 |
| Replies: 18 Views: 2,902 yes i got it, i just forgot it, any way thanks,,,
then there is no problem at all, you can check at server side the name of button and on the base of this you can have intended functionality..... |
Forum: JavaScript / DHTML / AJAX Apr 3rd, 2008 |
| Replies: 18 Views: 2,902 yes it is correct, but when you are submitting how you are making difference at server side(of which button user has clicked), if you have problem in that see my suggested solution.... |
Forum: JavaScript / DHTML / AJAX Apr 3rd, 2008 |
| Replies: 18 Views: 2,902 Hi,
you cant have two submit button on one form, do one thing:
have two simple button< input type="button" value="delete"......> and have on hidden field in form with name "task".On onclick event... |
Forum: JavaScript / DHTML / AJAX Apr 2nd, 2008 |
| Replies: 4 Views: 1,758 you can store that object in data base. and later you can retrive it.
why actually you want to do that ? |
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008 |
| Replies: 14 Views: 5,127 try to use code what i have posted just above your post,
i think you need to give action on form, remove src from iframe. |
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008 |
| Replies: 14 Views: 5,127 can you post your code here ?
are you trying like following ?
<form name="form1" action="url_here" method="post" target="hidden_form">
<input type="text" />
<input type="submit"... |
Forum: JavaScript / DHTML / AJAX Mar 13th, 2008 |
| Replies: 14 Views: 5,127 as that discussion suggested now no need of using ajax, simple use your previous method just use invisible iframe.
actually i forgot previously that you have to send file not data. so ajax will... |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 14 Views: 5,127 hi
you try here (http://www.thescripts.com/forum/thread517087.html), may be it will help you to solve your problem. |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 14 Views: 5,127 hi
here (http://www.w3schools.com/ajax/default.asp) you can find help ! |
Forum: JavaScript / DHTML / AJAX Mar 12th, 2008 |
| Replies: 14 Views: 5,127 you can get rid of this problem using ajax.
if you are using ExtJS in your application, use it for ajax, or you can write your own function to handle ajax.
basically in ajax you will send and... |