Hello,
a running application was transfered to another server an now brings above
error message. .NET Framwork Version 2.0.50727.42, ASP.NET Version
2.0.50727.210
Backround: I create a dataset with information from a database request. I
create a Session, add the dataset and one row of data. Then I have the
statement "row.BeginEdit( )".
If eg. a textbox is changed I write the changes:
Dim row As DataRow = _
CType(Session(" DS"), DataSet).Tables (0).Rows(0)
row("Name") = txtName.Text
At the end, I want to show the user, which data was changed with original
and changed data by the following coding:
Dim row1 As DataRow = CType(Session(" DS"), DataSet).Tables (0).Rows(0)
Dim row2 As DataRow = CType(Session(" DS"), DataSet).Tables (0).Rows(0)
Dim tblUI As New Table
Dim tblUIrow As TableRow
Dim tblUITcell As TableCell
Dim tblUIcell As TableCell
Dim item As Integer
Dim numItems As Integer = row1.ItemArray. Length
Dim title As String() = {"GID", "EMail", "Surname", "First name",
"Telephone" , _
"Department ", "Location", "Country",
"Company", _
"Boss", "Superuser" , "SAP-login",
"SAP-printer"}
tblUIrow = New TableRow
tblUIrow.Style. Add("Font", "bold")
tblUIcell = New TableCell
tblUIcell.Text = " "
tblUIrow.Cells. Add(tblUIcell)
tblUIcell = New TableCell
tblUIcell.Text = "old:"
tblUIrow.Cells. Add(tblUIcell)
tblUIcell = New TableCell
tblUIcell.Text = "new:"
tblUIrow.Cells. Add(tblUIcell)
tblUI.Rows.Add( tblUIrow)
For item = 0 To numItems - 1
If Not row1(item, DataRowVersion. Current).ToStri ng() = _
row2(item, DataRowVersion. Proposed).ToStr ing() Then
......
I assume, that with some kind of server settings the proposed data now is
empty if no changes occured. Unfortunately I can not debug on the new server
and in my VMWare I have no problems.
Does anyone have an idea? I'd really appreciate it, as the app hasn't been
working for a week now and users are getting uneasy :-/
If a German developer can help, you can write in German. I'm posting in
English for the larger amount of readers (or so I hope).
--
Regards
THaggy 0 1080 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Josiah Carlson |
last post by:
Good day everyone,
I have produced a patch against the latest CVS to add support for two
new formatting characters in the struct module. It is currently an RFE,
which I include a link to at the end of this post. Please read the
email before you respond to it.
Generally, the struct module is for packing and unpacking of binary
data. It includes support to pack and unpack the c types:
byte, char, short, long, long long, char, *, and...
|
by: G Matthew J |
last post by:
http://htmatters.net/htm/1/2005/07/evaling-JSON.cfm
This is more or less in response to Mr Crockford's admonition a few
months ago, "fork if you must". Ironically, although in that usenet
post he calls what I am suggesting "brittle", his own Javascript JSON
parser is not valid JSON, but rather conforms to my proposed variation
on JSON!! With an identifier prepended to the front of the JSON block,
and function literals as values: see...
|
by: Richard Cornford |
last post by:
Anyone who has taken a look at the online FAQ today may have noticed
that I have updated it. The majority of the changes are the updating of
broken links and the implementation of that extensive suggestions for
re-wording provided by Michael Winter. Other changes are listed below.
Fore those interested, a zipped snapshot of the entire FAQ and notes, as
it now is, is available at:-
<URL:...
|
by: Oliver Elphick |
last post by:
The attached proposal is written primarily for Debian. Its
motivation is that the current package upgrade process is pretty flaky
and also that the current packaging does not really provide for multiple
simultaneous postmasters, which are wanted by people hosting several
database clusters.
I assume these proposals may also be of interest to Red Hat packagers.
I am copying it to the PostgreSQL list in case there are any
obvious...
|
by: Shravan |
last post by:
When I am accessing a column value in a row using
DataRowView, its throwing
VersionNotFoundException with message "No original data to
access".
The exception occurs in - Paint column of my Custom Combo
Column Style when I access column value using
GetColumnValueAtRow(<CurrencyManager>, <RowNum>), when I
used DataRowView instead of that one, it
| |
by: James J. Besemer |
last post by:
I would like to champion a proposed enhancement to Python. I describe the
basic idea below, in order to gage community interest. Right now, it's only
an idea, and I'm sure there's room for improvement. And of course it's
possible there's some serious "gotcha" I've overlooked. Thus I welcome any
and all comments.
If there's some agreement that this proposal is worth further consideration
then I'll re-submit a formal document in...
|
by: Randy Webb |
last post by:
The list below has the current section number, proposed anchor name, and
then the current title of that section. Some make sense, some don't.
There are a few that don't have proposed anchor names yet as I couldn't
come up with a decent anchor name. Some anchor names are duplicated
(#ajax is one), where the idea would be to combine those entries into
one entry.
Any proposed anchor name changes, thoughts, or ideas are welcome.
The major...
|
by: Peter Olcott |
last post by:
So far the only way that I found to do this was by making a
single global instance of the container class and providing
access to the contained class, through this single global
instance. Are there any other no-overhead ways that a
contained class can access its container?
The obvious choice of passing (a pointer or a reference to
the container) to the contained class is not a no-overhead
solution, it requires both memory and time. I am...
|
by: sharsy |
last post by:
Hi guys,
I would like to setup a validation rule for a database in microsoft
access that restricts data entry so that a certain field can only be
filled in if another field has a specific answer (that is selected via
a drop down list).
Example
Field1 - options are "In" or "Out"
Field2 - options are "Join" or "Not Joining"
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |