|
by: Zarn Bou via DotNetMonster.com |
last post by:
Hi,
I am creating a site that uses a master/detail type structure, where I
am using the Gridview to display the master records, and when the user
selects one of these I display all the details for this record in a
FormView detail section.
Now I want to be able to enable and disable certain controls in the
FormView, e.g. a textbox depending on some of the properties for that
record.
I capture the selectedindexchange event for the...
|
by: Shawn Wildermuth |
last post by:
I have a *single* SqlDataSource that loads up a single result set that I
show in a GridView. In the GridView, i've added a "Select" button and handling
the SelectedItem event. I also have a DetailsView (though FormView has this
same issue) where I want to be able to set the current item to bind to from
the DataSource. All the examples I've seen use two data sources and on every
*select* they do another round-trip to the Database (which...
|
by: yuchang |
last post by:
Hi,
Using the FormView control is very efficient. But I want to do some
action,like showing a success message or redirect to another page, after
inserting, updating and deleting. How do I get these message?
|
by: Rob |
last post by:
Hey all,
So.. a simple FormView/SqlDataSource to handle inserting records into a
table. The table has a primary key that the user enters (eg DiscountCode).
If the user enters a duplicate the database complains about a primary key
violation (which is what I want) and an exception is thrown. The OnInserted
event of the SqlDataSource provides access to the exception so, presumably,
you can provide nice handling for various errors.
For...
|
by: Q. John Chen |
last post by:
I have a GridView and a FormView serve as master/detail relation.
The GridView has paging enabled - 10 rows/page.
The formView is linked to gridView's SelectedValue as the sole
parameter.
All works well, for example:
1. Select the first row in GridView; The FormView shows the detail
correspond to the first record.
|
|
by: hardieca |
last post by:
Hi,
My formview or gridview control stops updating or deleting a record
once the record has a null value.
I have table tblTest with the following
pkID int NOT NULL **IDENTITY COLUMN**
string1 varchar(30)
string2 varchar(30)
|
by: LiamLiamLiam |
last post by:
G'day all.
I having a problem with my formview. I'll ty to explain my situation as best as i can.
I have a page with a search field at the top which is just a simple asp:textbox. Below that i have a gridview which displays the results of the search. if no search is entered, then the gridview shows all records. Below the gridview i have a formview for inserting and editing the records. when a user clicks on one of the records in the...
|
by: andy |
last post by:
I have several forms with formviewa on them.
When a new record is inserted the users want to see the readonly
version of that record.
Default behaviour is to show the first record in the collection.
So if there are 5 entries and the user adds a 6th they want to see the
6th rather than the 1st after it's added.
Changing the criteria for the collection they see is not an option.
My quick and dirty solution is to sort on descending id so...
|
by: DesCF |
last post by:
If I set the DataKeyNames property of a FormView control, for example:
MyFormView.DataKeyNames = New String() {"CustomerID"}
I can retrieve the current FormView Page CustomerID value using:
MyFormView.DataKey.Value
My question is how do I retrive other field values ? for example, how do
|
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: 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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|