I have two computers on my home network. At some point in time, I logged onto computer2 from computer1 using username1. Being lazy, I told the system to remember the username and password.
Now, I want to log onto computer2 from computer1 using username2.
What the heck should I do to get the...
I am working on a document that I did not create. In the 'Styles and Formatting', I have selected to show only 'Formatting in use'.
To update a document's formatting, I typically right-click on the format that I want to change, choose 'Select all <x> intances', then click the format to which I...
Can't quite wrap my head around this one...
Given a datagrid, based on an underlying DataTable, that has two Button Columns and several bound columns:
<Columns>
<asp:ButtonColumn Text="Edit" ButtonType="PushButton" CommandName="Edit"></asp:ButtonColumn>...
I am putting together a new computer. After installing XP (and third party device drivers), all of my devices were present. In particular, both my CDRW and DVD/WR drives were present in the device manager.
After installing all of the Windows updates, the DVD/RW drive is no longer in the device...
In my application, I get a string of data from a user. I need to determine the length of the string, because if it is longer than some predetermined length, I need to insert a carriage return so that it fits inside a fixed width box on a PDF form.
All of the methods I have seen for calculating...
Consider an application for which different classes of users are granted diffeent levels of access to the underlying data. (Not too hard to imagine!)
Now, consider the case where one class of users is permitted to query the database based on some value of some field but another class cannot...
The syntax of the SQL commands created by VS.NET puzzle me. Hopefully you can offer a rational explanation.
Here is an example table, name myTable:
ValID (int, Identity, primary key)
Value (varchar(50))
From VS.NET toolbox, I select SqlDataAdapter. I enter the connection and ask it to generate...
Consider a DB with two tables:
PurchaseOrder
PO_ID as int
Username as varchar
(etc)
Items
Item_ID as int
PO_ID as int
Description as varchar
(etc)
What I want to do is the following
Select * from items
where description is distinct
and item_id is maximum item_id for the user...
I am trying to do the following: On a page have a button that fires a code-behind function (to perform some server-side actions) which in turn calls a javascript function to launch a dialog window. The dialog window accepts some user input and upon the user's pushing a button, fires a...
I have an ASP.NET application to which I want to limit access depending on the user's level of authorization. Currently, I do this by maintaining a database table with the requisitie information.
However, this is a poor method. What I would rather do is have each page (class) define a method...
I have written an Word macro that generates a Visio chart (based on information automtically gathered from a Word document combined with user input) and pastes this chart into the document. The structure of the program looks like this:
+++ begin psuedo code +++
Sub BuildForm
Load UserForm...
For a Windows application (not ASP), I wish to present a two column datagrid. The first column shows student's names and the seocnd should have a listbox that lists the professors' names. My plan is to have the user select a single professor for each student. Upon clicking a fished button, each...
I suspect that I am making this much harder than necessary...
Consider a form with four TextBox'es: txtFName, txtMName, txtLName and txtUserName. The first three have Autopostback=true. The UserName is created algorithmically from the user's name.
The problem is this: when I enter a name in...
One of the fields on my DataGrid is a long text field. I would like to display the field with some inserted characters to facilitate reading the data. For example:
Data: abcdefghijklmnop
Display: abcde-fghi-jklmnop
It seems that applying a "Dataformatting Expression" to the column...
Is it possible to use one of the provided validators to determine if a ListBox has at least one item selected? If so, how does one do this?
Thanks!
----
Gerry Roston
gerry@pairofdocs.net
For developing a DB application, .NET provides the FillSchema method for populating certain aspects of a DataSet's schema. This includes the PK column, allow NULL and several other properties.
However, FillSchema will not populate the AutoIncrementStep, AutoIncrementSeed or FK information...
I am planning to upgrade my notebook. My two leading contenders are:
Area-51m Performance (which uses a SiS648FX + SiS963L AGP8X Chipset with an 800 MHz FSB)
vs:
ProStar 5614 (which uses a Intel i865PE+ICH5 chipset with an 800 MHz FSB)
Assuming they are configured the same: 3.2 GHz...
I have two tables:
Table1: columns: tblID (unique, pk), data1, data2, etc
Table2: columns: tblID, data1, data2
Both tables have about 6000 rows.
What I want to do is find all rows in Table1 for which there is no related entry in Table2.
The dumb approach:
Select * from Table1, Table2 Where...
This problem is killing me!
What I have doen si greatly simplified the problem and cast it into MS Access (instead of MS SQL from whence it sources) to allow easy distibution.
A zip file with the database and all vb.net files can be found at www.pairofdocs.net/TestTable.zip. The file is a...
On a web form, I have a datagrid and the necessary controls to add items to the underlying table. What I would like to do is have a 'Done' button positioned just beneath the table, that when pushed, commits the changes to the database.
Now, this may seem silly, but the part I cannot figure out...
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.