In an application I am currently working on I have the need to programmatically add files to the csproj file. The task of doing this, in and of itself, is pretty straight forward. However, I'm having trouble finding any useful (and complete) documentation on the csproj file schema...
I have some objects that I am serializing that contain collections. The collections are of List type (though I am not opposed to using a different type if it will help me accomplish my goal). When the objects are serialized I would like to serialize the contents of the collection without...
Hello,
I have a div which contains an input button and an image. The image is centered over the button inside of the div.
<div>
<input id="btnHistory" type="button" value="" onclick="DoSomething(this);" />
<img id="imgArrowDown" src="Images/DropDownArrow.gif"...
Although this questions pertains to a web project, it is c# specific.....
There is an event I need to subscribe to on a user control I'm working with. The user control has several of its own controls, one of which is a third-party treeview. I need to subscribe to the treeview's NodeClick...
I am using a TreeView control to display some hierarchical data. I want the TreeView to populate its nodes dynamically. I was hoping to achieve this using the TreeNodeExpanded event. Basically, when a node is expanded, the system will fetch the child rows, add them to the hierarchical...
I've created a simple Subversion command-line wrapper which I intended to use in a ASP.NET application. The wrapper uses System.diagnostics.Process to start cmd.exe and process the SVN commands. When I originally created the library I tested it with a console application; everything worked...
I have a cursor that I am creating to update data in a table. Even though I am certain there are records being returned in the cursor select statement (I know this because when I run the select along, it returns 3600 rows), the @@fetch_status is always -1. Can anyone tell me why this would be...
I apologize for asking a question that has been presented all too many times. However, after reading several threads and google hits, I can't figure out what I am doing wrong.
I have two tables, a customer table and an inquiry table. I need to update customer records based on a value in the...
Hello,
I'm trying to work through the following example:
http://www.eggheadcafe.com/articles/20020630.asp
Here is what my Cryptography class looks like:
using System;
using System.Collections.Generic;
using System.Text;
using System.Security.Cryptography;
namespace Rijndael
{
class...
This is driving me crazy... I've put way too much time into something that should be a relatively simple task...
I am programmatically changing the selected row on a datagridview. For the most part everything works as expected, however, the selected row indicator (the little arrow in the left...
This is driving me crazy!!!
I have a datagrid which uses the ItemCommand to run some code... When I try to use a ButtonColumn in the dg to fire the ItemCommand it doesn't work... However, when I use a template column and add a LinkButton to it the event fires fine... I want a PressButton...
I am tring to send CTRL-ALT-Home through a DDE but can't seem to figure out how to get the "Home" in there. Here is my code:
keystringsend.LinkTopic = "LCW|Info"
keystringsend.LinkItem = "Keystring"
keystringsend.LinkMode = 2
keystringsend = "^+{HOME}"
keystringsend.LinkPoke
I am using this...
I have a SQL Server 2000 db as a backend to an ASP.Net application that I am working on. The db contains a table named RecordLocks which is part of a custom record locking scheme. Basically, when a user selects a record in the app it checks the table to make sure someone else isn't already...
Hello,
I am trying to implement remoting in an Web App that I am working on. The problem is that the business layer has multiple classes and I can't seem to figure out how to make it work.
The remoting portion of my host config file looks like this:
<system.runtime.remoting>
<application>...
I am trying to figure out if there is anyway to change the color of a checkbox. I want to change the checkbox itself, not the border around it. I've read and read and can't seem to find an answer. Currently I have a checkboxlist and I would like the colors of each checkbox in the list to be...
I have a linkbutton which is used to simply refresh summary data. The problem is that the button is on a parent form which contains an iFrame. When the button is clicked it updates the summary info on the parent form, as is should, but it also redirects the child frame back to its src page...
I have a datagrid which contains a column that has records with intentional leading spaces. For some reason the datagrid is automatically trimming these spaces when the data is bound to the grid. Is there anyway to stop this behavior? I want the leading spaces!!!!
Any help is appreciated...
I have a datagrid with a checkbox in it. I am trying to loop through the grid so I can check if the checkbox is checked. My Code:
Dim dgItem As DataGridItem
Dim chkSelected As CheckBox
Dim intCorrespondenceID As Integer
For Each dgItem In dgReadyForLetter.Items
chkSelected =...
Can anyone tell me when this event actually fires?
I thought that whenever a user either closes the browser by pressing 'X' or when the user types in a new URL this event would fire, however that doesn't seem to be working that way when I try to run the app.
I've noticed that the event does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.