Answer Questions
Carnage_bz getting the cellValues of a datatbound DGV row before it is removed
hiya, I am struggling with the above.I have grabbed the RowsRemoved eventHandler, but I can't seem to get the values from the eventArgs..So, I tried this instead... <code> private void dataGridView1_RowsRemoved( object sender, DataGridViewRowsRemovedEventArgs e) { if (dataGridView1.CurrentRow != null ) //the CurrentRow ALWAYS seems to be null! { string currValue = dataGridView1.CurrentRow.Cells[0].ToString( ...Show All
Nori_at_Japan Datagridview and Excel question
Hi all. Is there a way to set an Excel WorkSheet to be the datasource of a datagridview Thx in advance. I make a little step forward: string strConn = "Provider=Microsoft.Jet.OLEDB.4.0;" + "Data Source=myFile.xls" + ";Extended Properties=Excel 8.0;"; ...Show All
Esquif Determine if a MenuItem is on MenuBar
Hai ....., I have designed a User control, a custom MenuItem, that is inherited from MenuItem. Now when the user adds my MenuItem to the mainMenu1 (MenuBar), I don't want to do anything to my custom menuitem control and leave it to its default behaviour. How can I determine that my custom menuitem control is on the menubar or not Regards, Hemant Hi, You could try using the Parent ...Show All
ZachSaw Disabling Buttons until Event has finished/finalised.
Hi all, I have a Button on a Form that populates a ListView with different ListView Items each time the Button is pressed. Currently, it may take some milliseconds (noticable) for the ListView to populate, and yet the user is still able to press the Button rapidly, so that the ListView Populates/gets scraped/populates/get scraped/populates etc - which I don't want. Is there a way I can press the button, then cancel the functionaly (not allow th ...Show All
BIODIGITZMAN Nodes and trees
Ok, need a little input here. I have been searching around for something so simple, it's driving me crazy. I need to create some nodes and leaves (NOT a treeview). These nodes will contain strings. The info in the nodes will come from a text file - or xml, haven't decided yet. Reading the text file or xml is not a problem. Writing to the nodes then reading the info inside is. Anyone have a link with a good C# sample An ...Show All
N.Raja Dataset updating.
I have a dataset returned everytime from querying database. The new data is to be shown on a datagrid binded to another dataset. So, how should I update the binded dataset with the returned dataset Currently, I cleared the datatable in ...Show All
eDevMachine Developer documentation is a little outdated, isn't it?
Who thinks so too I also think it could be a little more up to date, but if the reason for the delay is that they are working in releasing the new version of the client then I'm happy to wait ;) ...Show All
Scale_Oven_Stove Scrolling Form
it seems like a simple question (may be) but i dunno how to make it. I want to make a button that scrolls the form to a certiAN position or to the end of the Form. How to do that thx all Use the AutoScrollPosition&nbs ...Show All
Runamuk how would i do this...
hey all i have a decimal number 12345678.90 is there a quick way to pull out only the 345678 thanks, rodchar I'm not sure exactly what you're trying to do... (why drop the 1 and 2 ) The answer in this case is: Math.Floor(12345678.9).ToString.Sub ...Show All
woeter Where do you guys go?
I've noticed that windows developers are like hermits that talk through specific channels of communications where as web developers are like gossiping girls all over the place. I know quite a few Windows Developers all over IRC and certain sites, but I&n ...Show All
Carver42 Looking for control suggestions
I need to build a visual control for editing date/time ranges. I have a list of entities, each with an associated start and end datetime. I want to display these items in a list with the corresponding date range creating a gantt-chart like  ...Show All
Pavel Cristian Gabriel cannot log in with jdoe & welcome
I have installed the TaskVision Client, but when I try and log in with jdoe & welcome I get the message: the remote server is unreachable or request has timed-out I have read a number of messages in this forum from people with the same  ...Show All
MrNoBody System.CodeDom.Compiler.GeneratedCodeAttribute error
I downloaded a sample from MSDN for VS 2005, and tried to build it (using VS2005) as described in the documentation. I obtain 7 errors in the NorthwindCustomerOrders.XSD (NorthwindCustomerOrders.designer.vb file) saying that Type System.CodeDom.Compiler.GeneratedCodeAttribute is not defined. In the documentation there is a link to HOW TO: Set sample settings but unfortunately it is incomplete. It says I have to open the .Net framework SDK 2.0 co ...Show All
CMeister How to use MeasureCharacterRanges?
Hi Gurus, I’m trying to print one character at a time on the screen (something like a teletype). Using MeasureString is not working properly since it has some extra spaces around the character! I know I have to use MeasureCharacterRanges, but I&nbs ...Show All
Yoel Grodentzik missing storage-class or type specifiers error
i have declared a child form in the parent form 'Form1' . ' public: static Form2* childform; ' but in the line of ' public: static Form2* childform; ' where i ve defined the pointer, i receive the error 'missing storage-class or type specifiers' . i ve already included Form2.h in Form1.h and i create an instance of Form2 in Form1's constructor with 'new' operator... so why i receive this error... regards. ...Show All
