Using VB.Net,
In my application, am using datagridview, when i clicking the particular row, that rows value should be appear in the textbox.
So the code should be come under the DataGrid3_CellMouseDoubleClick Event.
How to dispaly a rows value in the textbox.
For Example
3 rows means - 3 rows values should display in 3 textbox.
vb6...
Hi,
I have this table containing both parent and child elements.
CREATE TABLE Expenses(
[BudgetId] int,
[AccountGroupId] int,
[AccountNumber] int,
[Amount] decimal
)
In my domain model it's represented by this hierachy:
Budget
AccountGroup
ExpenseLine
ExpenseLine
ExpenseLine
So a Budget has a collection of A...
I'm writing an application in WinForms c# that is over 90k lines big. I am not very experienced coder and after some lines of code (depending if it's something new or something I've done before a lot of times) i start my project with F5 in Visual Studio to verify that the things I've done work as i wanted it to.
For example:
if data f...
What structure of a team should one keep in mind when making a team at the starting of the project ? Like what should be the ratio of Senior Software Engg. to Software Engg. or how many freshers should be attached to the team etc. and many other points.
Please share any point that has an importance when deciding the structure of a team...
Is there any things to take care of when running your process or executable as service.Things like silent logging.Critical error reporting scenarios? etc? How do you handle it ?
...
Is it possible to change PowerPacks.LineShape smoothingMode?
I tried to use this code(a class that inherits LineShape):
Protected Overrides Sub OnPaint(ByVal e As System.Windows.Forms.PaintEventArgs)
Dim g As Graphics = e.Graphics
' no difference when changing the SmoothingMode '
g.SmoothingMode = SmoothingMode.AntiA...
I've been an admirer of Juval Lowy's teaching and guidance in .NET development for a number of years. He's also written one of my favorite books: Programming .NET Components.
However on a recent DotNet Rocks podcast (Jan 2010) in discussing WCF/COM and .NET, he made some comments that greatly surprised me:
Juval Löwy: ..... in .N...
Good day people. I have never posted on these type of sites before, however lets see how it goes.
Today i started working with WCF for the first time, i watched a few screencasts on it and now i am ready to jump into my first solution implementing it. All is well and so far all is working, although my question comes when i create the WC...
Hello there,
I'm developing an application in C# using visual web developer. I'm displaying some text for reading and I want the user to be able to select a word or fragment, and then right click it to display a customized menu (One that has for example define, search, show grammar...). I
I don't know how to do it. I'm fairly new to th...
Hi,
about half a year ago I read about a programming language from Microsoft which is easy to learn (also for kids) and which uses .NET.
But unfortunately I am not able to find something about this language right now. The only thing I find is "Boku" from Microsoft, but I am pretty sure this is not the language I read about.
I hope someo...
I searched for a similar question, but haven't seen anyone ask this before.
I've been a web developer for a few years now and have never touched windows forms. However, I am taking a job that deals almost exclusively with windows forms.
What tips do you have for someone making such a move? Any resources you can share?
Thanks!
...
I wrote a generic EventArgs class in my VB.NET solution:
Public Class EventArgs(Of T)
Inherits EventArgs
Private _eventData As T
Public ReadOnly Property EventData() As T
Get
Return _eventData
End Get
End Property
Public Sub New(ByVal data As T)
_eventData = data
End Su...
I'm trying to create some drop-downs for a toolbar and want them to look like the Page Layout drop-downs in Word (such as the Orientation and Size menus).
I've attempted to do this using a ComboBox, but I can't figure out how to show the option name, rather than the selected item at the top of the ComboBox. Is it possible to make the C...
I know, where is XmlSchema class in dot net, but it does not allow to load file into it. Is there a clean solution to load xsd file and travel between elements?
...
Is there a way to map a many-to-many relationship using Fluent NHibernate to a dictionary?
Say I have the following (totally just made up) tables:
Person ( Id INT, Name
NVARCHAR(MAX) )
Address ( Id INT, StreetAddress
NVARCHAR(MAX) )
PersonAddresses ( PersonId INT,
AddressId INT, AddressType
NVARCHAR(MAX...
I have the following xml:
<span>sometext</span>
and I want to wrap this XmlNode with another tag:
<p><span>sometext</span></p>
How can i achieve this. For parsing i use XmlDocument (C#).
...
I am currently developing an application for an angle measurement device (goniometer).
A DataGridView component is used for configuring nominal values (and tolerances) for the measured angles. The user shall be able to enter the angles in various ways, such as 2° (for degrees) or 120' (for minutes of arc) or 7200" (for arcseconds). For t...
(excuse me for my bad english))
I am writing a class for simple requests to FTP-server using .NET-class
System.Net.Sockets.Socket.Synchronous functions (Socket.Connect, Socket.Send, Socket.Receive) works fine. But I need asynchronous operation to be able to interrupt the process from the outside.
I used an example from MSDN:
http://ms...
i'm worried about doing this since my changes will be overwritten when the dbml file is auto generated again (as they often are).
i'm thinking of doing a partial class and writing out the same properties to annotate them, but worried that it will complain about duplicates, and the reason i can't even experiment brings me to the second p...
I have a query as follows
select * from table where col1 = @param1 and col2 = @parm2
And another
select * from table where col1 = @param1
Is it possible do both operations in same query based on parameter passed, if it is null query all or when parameter has value select them.
My queries are very big and i have to create 2 version...