No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
10 Posted Topics
The approach is correct and i guess you are worrying about the performance facotr or overhead created if the array.Legth is too big. But i think thats the optimised code since you have used the dictionary data structure which is pretty fast hash. But if your aim is to reduce …
By becoming unsocial geek like me!!!
Not into much of networking but try doing the CCNA certification....its hot cake nowadays.....sorry to see MCSE going down.
Its very easy try this. Put this in 1st combo Box's index change event take the cmbBox1 s selected value in a variable make a search using that variable value against the source where Items are kept indexed with the CustomerName. If found then keep on adding in the 2nd …
Firstly if u want good solution write more clearly. Anyways what i understood is say at C:\ there is a pic caroline.jpg now suppose the file with the same name replaces it but dynamically u want that pic to be loaded in ur application. Good one! Look try creating a …
Can be done by two methods depending on the type of usage write this code in Form1 control events [COLOR="Red"]Form2 form2object=new Form2(); for2object.Show();[/COLOR] another way is to show as dialog box meaning you can click back to Form1 until Form2 is closed [COLOR="red"]Form2 form2object=new Form2(); for2object.ShowDialog();[/COLOR]
OH great way of doing that i didnt know that too. Thats why i always used dr[0] based indexing instead of the names. Thanks for putting this question it helped me a lot.
name = txtName.Text; employeeNumber = Convert.ToInt32(txtPNumber); Please pay your attention here I beleieve txtPNumber is the name of the textBox assigned by you and not a variable if yes thats why its throwing that error TRY THIS: name = txtName.Text; employeeNumber = Convert.ToInt32(txtPNumber.Text);
Well please try out the Clone() method it creates a copy of the image which you want to drag and drop Clone is a method of BitMap class as per my memory says. Try this BitMap bmp= (BitMap)img.Clone(); please check in MSDN.
char[] option = charQuery.Clone(); In a loop u are declaring an array. Please its so wrong. Declare it outside the for loop and enter the values inside the loop that should solve the problem for itself. And your logical concept is not clear to me. You want to put the …
The End.
lonelyrider