I am working with linq to insert a new record.
Do i need to specify a new Unique Key to insert the object, it is identified as "uniqueidentifier" in my MS SQL Database.
Or how do i do th...
I want to have this line
private void dataGridView1_MouseDown(object sender, MouseEventArgs e)
in my web app what is the class for MouseEventArgs in a web application for desktop its s...
Hi, I am using vb.net 2008, sql server back end 2005.
I already have the code to create dynamic connection strings, but I need to detect if the user is internal or external and therefore chan...
Is there a way to convert an ArrayList to a generic List?
I am trying to debug some data loss in an app which is using a TcpClient instance (socket) with a NetworkStream instance (nws) as the underlying stream to a StreamWriter instance (sw). I use ...
Hi,
I want to make an xml file using string builder is there a tutorial i can follow, or any hints i shoud ldo this.
Please help
Hello,
I've got a 2 x yes/no radio button pair. When the first answer is yes, the 2nd list is enabled. When the 1st answer is no, the 2nd is disabled. The controls are created dynamicall...
My webform includes a textbox with the following properties:
<asp:TextBox ID="txtStatus" runat="server" BorderStyle="None" BorderColor="White">
It does not show any border at run time. T...
1. What are the Pros and Cons of Typed DataSets ?
2. Do you recommend using Typed DataSets ?
Experts,
I have 5 dropdown boxes that searches 5 diffrent columName in database table. there is no sequence on from which DDL user will select first. The search on dataset returned by eac...
i have two windows form, in one form i am getting data from textbox (form1),
another form (form2)i am populating it in datagridview
i can populate it but if i close the form1,
and ...
how to change the title of my pop up window displayed using javascript
there is only one page in my application. when somebody request it i want it to be displayed with out address bar.
Hello,
I would like to create an event handler that is raised when any control is clicked on a form. However I don't want to have to hook up the event handler for each control on the form a...
I am working on a client - server model program for doing monitoring and transferring files back and forth between the server and the client(s).
I am having trouble wrapping my head around ...
I need to direct logging with log4net to different log files but it seems I don't understand how to use PropertyFilter correctly. I only get empty ReportSuccessLogFile and ReportFailureLogFile...
Hi,
I need to write some VB.NET code that allows me to get the external domain name from an IP address.
I've found a lot of code that returns IP address from domains, but I need to go th...
i have the following gridview, would like the column DIFF to change to red if the result is negative. How can i do this?
My application is being installed in the Documents and Settings folder on the target PC, I assume because I've not set ApplicationFolder defaultlocation. Where do I find this setting, I've loo...
Hi,
I am trying to highlight a row in richtextbox with the function below.But it does not seem to work always..tried find
Private Sub ErrorSelectLine(ByRef lineNum As Long, ByRef rtb...
I am trying to get my cart to look alright. When I have adde my product I want it to show
product Price
---------------
Total:
No it not showing Price. Why`?
Another problem is t...
Hello,
How can I make a datatable read only. I have a public datatable, which will be used across multiple classes. i do not want other classes to modify the contents inside the datatable. ...
I'm searching for files on my C:\ with a specific extension and adding them to a checkedlistbox. I want to be able to select one or many of the items in the checkedlistbox and when I click my ...
I have a folder with a large number of files.
Sometimes the user may add, remove or change a file directly from the OS.
Now. i have an application that keeps track of the files and their ...
Hello, here is the issue I'm having.
I am able to rdp into most sites just fine. Yesterday however, there is one site I can no longer RDP into. I will post the error message below. The ...