Why you use this??
Do you use SMTPClient class? to send un\attached mails
Why you use this??
Do you use SMTPClient class? to send un\attached mails
Have a look on http://bytes.com/groups/net-xml/178906-change-node-attribute-value
You can googlize it also, I did that :)
Look when you treat with dataset you treat with database (I don't know if you've to set Enforce relationship property to true or it's set by default) so you can update it then reflect these changes to the physical database.
What the problem?
After the last "." get the string is after
you may have file, its name readme.program.user.txt!!
It's the time to play with string class, you can also use regular expression and you can use FileInfo.
Dear, if you've time to read I can send you a book about Data warehouse.
About your questions
Say we've business man who has super market with a lot of branches...
The business man interested to know net profit by year\region\product\sales persons
Fact table: is th point of interest the decision maker needs to know (simple business definition about it)
Fact table: net profit
Dimension table: the categorization used to spread out an aggregate measure aka fact (net profit) to reveal its constituent parts.
Dimensions tables: Year, Region, Product and Sales persons.
Send me email @ <EMAIL SNIPPED> if you need a book regarding this.
System.Diagnostics
With pleasure ProcessStartInfo commandPromptProcess = new ProcessStartInfo("cmd.exe");
Find out how to make use of this.
I think there no method to do so, you can use DOS commands and call\send parameters to them from C# application.
neither... nor ... represents some table(s) and their relationships in memory it may contain 1 or more tables.
You can make it directly from DataSet, also read in DataSet class
DataSetObject. ??
The idea I don't mean to be silly with you, but you've to try and read in help more than copying code, I hope you understand me well.
Close this thread, I think you open similar one and it's solved!
Mark it as solved, to be used as reference later.
If you need me to work with you it's much appreciated from you, unemployed state feels me sadness :)
Yes, if I were you, I'd make it UserControl
1- You have constant control (be used in this App and others)
2- You need this control to give you "a matrix" more than textboxs values, some how you isolate logic from UI and UI controls from UI processing elements.
Look I feel you can do it on your own just try
First tell me you can get the ListView columns?!
- listView1.Columns
Then you can treat with XML file as we discussed in the previous post.
Try using System.XML you'll find classes help you to do anything with XML files.
There's some sites have desired data! but you've to pay! fits you?
Did you try googlize that?
Lizr and Danny don't answer people with code especially who don't show their effort in solving easy problem, they're right, aren't they?!
Ok, please give me sample Data and your desired output
So the output should be
2008-03-09 13:15:12.513
2008-03-09 13:16:53.700
2008-03-26 13:30:20.077
2008-03-26 13:30:51.810
right?
declare simply array from object datatype then call AddRange for all combo boxes and pass this array!
[User] table still the same
[Rating] table has (Voter_Member int #, Voted_Member int #, Rating int)
- Composed primary keys (to maintain user can't de\vote user two times)
- Rating int (if you need some higher rating 1 2 3 4 or -1 -2 -3 -4)
users can 'approve' or 'disapprove' another member
User is Member?! or each another entity!!
Welcome, Phillip please mark it as solved if it be.
Marke this thread as solved! please.
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
System.Diagnostics.Process.Start(openFileDialog1.FileName);
}
What shall you to do is to call GetAllParents and give it the ChildID you need to get all its parents
GetAllParent 27937
It's really the most hard question I've met! loool I don't use to write SQL frequently, I just did the half of task to you, is to get parent ID, please care and ask if you didn't understand anything in my script, I work more than 2 hours in :(
Create proc GetParent
@Child int,
@Parent int output
AS
SELECT @Parent = o_parentno
FROM phillip
WHERE o_projectno = @Child
Create proc GetAllParent
@ChildID int
AS
if @ChildID != 0
begin
Declare @CurrentParent int
while @ChildID != 0
begin
exec GetParent @ChildID, @Parent = @CurrentParent output
Select @CurrentParent
set @ChildID = @CurrentParent
if @ChildID <= 0
break
Else
continue
end
end
Learn how to add Media Player component to your windows form application.
mmmm, just take a look
bool Validate(string username, string password)
{
//you're code
}
//button login event handler
void onClick_btnLogin(object sender, EventArgs e)
{
if(Validate(txtUserName.Text, txtPassword.Text))
{
Form2 form2 = new Form2().Show();
this.Hide(); //to hide login form
}
else
{
//invalid username or password
}
}
In regular windows you can switch between parent and child windows, on the other hand you can't.
Check if your array comes in order or not.
I don't understand you, your question was to open web page in webbrowser control when selecting a node... I thought my code works, let me know what texts nodes hold?
Please SerogaM, mark this thread as solved if you question correctly answered.
If you saved this bitmap on client's HDD, what the result, also black?
You should have integral value decreases each time tick
int tik = 30;
private void timer1_Tick(object sender, EventArgs e)
{
if (tik >= 0)
label1.Text = (tik--).ToString();
else
label1.Text = "Stopped";
}
Not to mention you can use navigate method
webBrowser1.Navigate(e.Node.Text) 'without need to add "http://"
Assume you've parent node and its child two nodes with text (www.microsoft.com and www.daniweb.com)
From treeview event handler, double click on NodeMouseClick
Private Sub treeView1_NodeMouseClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles treeView1.NodeMouseClick
webBrowser1.Url = New Uri("http://" + e.Node.Text)
End Sub
C# used for developing OS and it succeeds, Will it lacks in developing professional game?! I think you may be wrong! so please if you want us to argue what C# can do and can't, let's start new thread in geek forum
It's not advanced C++, it's language from Microsoft combines strength of C++ and easiness of VB. you can read about C# in http://MSDN.com
You can bind data in ListBox by some criteria, and in ComboBox selected index changed event handler re-bind the data into ListBox. search in http://msdn.com you'll find a lot of exampls...
Set the property SelectedIndex to the item's index you want it to be the default...
Say we want to show the 6th item
In form load handler add this piece of code
comboBox1.SelectedIndex = 5;