Search:
Type: Posts; User: CuteAssistant
Search:
Search took 0.03 seconds.
-
January 14th, 2011, 12:14 AM
item.Clone() and then you're asking why its duplicated?? Thats what Cloning does. Why not copy the row as strings??
-
January 14th, 2011, 12:12 AM
Yes System.IO.File has enough functions to deal with all this - and moreover splitting by . may not work all the time . The best way to do it is by using GetFileNameWithoutExtension()
-
January 14th, 2011, 12:10 AM
I would use the LostFocus or the Leave event of the first textbox and then do what the above post says. If you are populating the textbox as it loads, you may want to check if the form is visible...
-
January 6th, 2011, 08:07 PM
Show us the exception details - What does the message and data say int he exception object???
-
January 6th, 2011, 07:37 PM
Okay, I narrowed down the problem and fixed it - with a weird side effect.
Calling bindingsource1.EndEdit() before calling WriteXml() will make sure the rows are saved and they dont disappear as...
-
January 5th, 2011, 06:54 PM
Is it an order of operations problem? Try making the smaller calculations into a double and then adding it.
-
January 5th, 2011, 06:52 PM
Okay! The code does exactly this - there is a datagridview thats has few columns like Name, Description and say DateTime field. This gridview is bound to a BindingSource object that is in turn bound...
-
January 4th, 2011, 02:55 PM
95 views and none could help - anyway, I'll find out and post it here for others.
-
January 3rd, 2011, 05:37 PM
Try windowsclient.net - they do give you a general idea as well as detailed articles\examples, and may be you can learn from there. I would start from WPF.
-
January 3rd, 2011, 05:35 PM
Menus do invoke dialogs right?? Usually buttons and menus are given to do the same operations liek New, Edit, Delete. Menus are a good space saving technique as well.
-
January 3rd, 2011, 05:31 PM
I have simple datagridview that saves each line as a record to XML as they are entered. I use the CellEndEdit event to call the WriteXml() of the gridview which should save the coulmns as nodes in...
-
January 3rd, 2011, 04:53 PM
So, you do not have the source code? If you are trying to hack another's program, then thats against copyright laws and possibly you cant get legal help here. .NET reflector will let you see the...
-
November 2nd, 2010, 10:50 PM
Any control's property can be read by getting its name during runtime. It can also be set similarly. Does e have a Name property here? You can use that retrieve checkbox control itself.
May be...
-
October 29th, 2010, 05:17 PM
MSDN is the best source of information. You may want to look at C#'s Programmers reference. Its very nice to learns its concept first and then check out examples at
http://windowsclient.net/ as...
-
October 29th, 2010, 04:57 PM
Note: Using
Double dVal = Double.Parse(strValue).ToString("N");
gives a pretty decent formatted output. How can I use () to show -ve values I would like to show 3 decimal places. Like 123.4567...
-
October 29th, 2010, 04:27 PM
Hi,
I have some currency values to be formatted. They are stored as double and when I use String.Format("{0:C2}", strValue); it does NOT yield the right results.
I need all the...
-
September 29th, 2010, 10:13 AM
Thanks for the inputs though. As I said, I fixed it by commenting out the droppeddown statement. I understand it as when a combobox drops down it generates drop down event which also is an...
-
September 28th, 2010, 03:51 PM
Use a query and get the results you want for 12112 -like Select * from xyz where projectnum= "12112" and then set this as datasource to gridviews 2 and 3 appropriately.
You can read the datareader...
-
September 28th, 2010, 03:46 PM
Ok, I fixed this error a min after I posted it -- but its still strange.
So, GetDeliveryPoints() had this statement: cmbAccountCodes.DroppedDown = true;
This was causing the keydown event...
-
September 28th, 2010, 03:39 PM
Hi all,
I basically want to have a combo that lists some account codes (e.g ALB1E, BSE2F) and when the user types the first few letters and presses enter, I calla function that will...
-
September 28th, 2010, 03:18 PM
Great explanation. Thank you, TechGnome.
-
September 28th, 2010, 03:12 PM
Thank you and sorry for that.
-
September 28th, 2010, 12:09 PM
viperbyre, techgnome thank you for your replies as well. Yes, Iam simply going to read through the cells from the gridview columns - I can take data any format it comes. :)
1. Yes, DataReader is...
-
September 27th, 2010, 04:50 PM
Technically, that did not make sense anyway. Iam not surprised that you are an MVP?? and a Mod?? Ok, that goes against the basic principles of any OO lang like C#. Local Objects do NOT go out of...
-
September 27th, 2010, 03:43 PM
I'll try it and post the results here...
|
Click Here to Expand Forum to Full Width
|