- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
10 Posted Topics
Hi there, I tried this out and replicated your issue. After much head scratching and googling I found an MS article about a known issue with DataGridView that it does not update if it is not visible. To get round the problem I made each tab visible before binding the …
Hi, I think that when you use DocumentStream the webBrowser does not know what the root folder is thus only fully qualified paths will work. Try this: [CODE]webBrowser.Url = new Uri(@"..\HtmlPages\supportHtml.html");[/CODE] Hope this helps.
Hi, This artice will shows you how to get the 'type' for each adapter. In my case my ethernet is of type 'Ethernet' and my wireless 'Wireless80211'. [URL="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface.networkinterfacetype.aspx"]http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface.networkinterfacetype.aspx[/URL] I hope this helps. Regards Paul
Hi there, I had the same problem and the best solution I found was this: [URL="http://support.microsoft.com/kb/317881"]http://support.microsoft.com/kb/317881[/URL] Although once you have created your empty database, created your tables, populated any reference data you will probably find it much easier, if less elegant, to copy an empty database as you suggested. That …
Hi, You need to create a new instance of TextBox and add it to the controls of the Tab Page thus: [CODE] TextBox tb = new TextBox(); tb.Name = "tb" + tabPage1.Name; tb.Location = new Point(100, 100); tabPage1.Controls.Add(tb); [/CODE] This will create a control with the name 'tb<TabPage.Name>'. To use …
Hi, If you create your buttons with a standard naming convention for can use the Controls.Find function. E.g. Create Buttons [CODE] for (int i = 1; i <= 10; i++) { Button b = new Button(); b.Enabled = true; b.Left = 5 + ((i - 1) * 100); b.Top = …
Hi, I am not sure I understand what you are doing here: [QUOTE=mansoorhacker;1199478] i m actually sending the rows of the grid to the datatable and then counts the value throw [/QUOTE] But here is the code to total a column directly in the gridview: [CODE] int total = 0; …
[QUOTE=jellybeannn;1203858]I've tried this in the function, but it doesn't do anything [code] if (startDate.Day > vvaluationDay - 15) { startDate.AddMonths(1); } [/code][/QUOTE] Instead try this: [CODE] if (startDate.Day > vvaluationDay - 15) { startDate = startDate.AddMonths(1); } [/CODE] startDate.AddMonths returns a new DateTime it does not modify itself. Hope this …
Hi, Although I have done a reasonable amount of coding I have very little training (self taught) so apologies if this is a stupid question. I have written a basic Defect Management app which allows developers to create a release and assign defects to it. The release object has the …
Hi, I had a similar requirement and found the following solution (can't remember where to give credit). In your case I would replace the switch with one that looks up what colour to display each item from an array or hash-table. First, set the DrawMode property of your ListBox to …
The End.
slider212