Search Results

Showing results 1 to 21 of 21
Search took 0.02 seconds.
Search: Posts Made By: DangerDev ; Forum: C# and child forums
Forum: C# Aug 12th, 2009
Replies: 4
Views: 246
Posted By DangerDev
What exception it is throwing?
How do you know its not working?
Forum: C# Aug 11th, 2009
Replies: 10
Views: 734
Posted By DangerDev
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 10th, 2009
Replies: 7
Views: 850
Posted By DangerDev
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: 850
Posted By DangerDev
Some suggestions:
==============
1. Use data grid for it.
2. First divide number.
3. Fill it in data grid.
Forum: C# Aug 7th, 2009
Replies: 18
Views: 566
Posted By DangerDev
@ 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: 18
Views: 566
Posted By DangerDev
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: 344
Posted By DangerDev
The link i have is given is good to start what else you need?
Forum: C# Aug 6th, 2009
Replies: 5
Views: 344
Posted By DangerDev
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: C# Aug 5th, 2009
Replies: 2
Views: 242
Posted By DangerDev
Hi
Do this:

if (e.KeyChar == (char)Keys.Enter)
{
//do something
}

inside textBox1_KeyPress function
Forum: C# Jul 31st, 2009
Replies: 7
Views: 260
Posted By DangerDev
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: 426
Posted By DangerDev
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: 260
Posted By DangerDev
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
Posted By DangerDev
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: 447
Posted By DangerDev
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: 437
Posted By DangerDev
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: 453
Posted By DangerDev
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: 196
Posted By DangerDev
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: 247
Posted By DangerDev
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,809
Posted By DangerDev
check this (http://harriyott.com/2006/05/using-begininvoke-to-update-gui-safely.aspx).
Forum: C# Feb 10th, 2009
Replies: 14
Views: 2,809
Posted By DangerDev
Create a method as RamyMahrous said then invoke it using any UI thread. You can do it by control.BeginInvoke().
Forum: C# Aug 29th, 2008
Replies: 2
Views: 562
Posted By DangerDev
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...
Showing results 1 to 21 of 21

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC