|
by: Neil |
last post by:
I have a gridview which is being populated with no problems.
I want to be able to reference the data from the cells in the row but
having followed an example on MSDN cannot get any data to be displayed
in a text box no matter which cell index I provide.
I tried a row of code that successfully displays the rowindex of the
selected row.
The code with comments is below:
|
by: george_Martinho |
last post by:
It seems that the ASP.NET Microsoft team didn't think about this!!
The profilemanager class has the following methods:
- DeleteInactiveProfiles. Enables you to delete all profiles older than
a specified date.
- DeleteProfile. Enables you to delete a profile associated with a
specified username.
- DeleteProfiles. Enables you to delete a set of profiles.
- FindInactiveProfilesByUserName. Returns a collection of ProfileInfo
|
by: Dick |
last post by:
I have a GridView bound to an ObjectDataSource. I have a Button that calls
GridView.DataBind. I want the row that is selected before the DataBind to
still be selected afterwards.
This happens automatically if the data doesn't change. But if records have
been added or deleted then it looks as if some code is necessary: I've done
this by using GridView.SelectedValue to get the key value of the currently
selected Row and then by itterating...
|
by: CorporateCoder |
last post by:
Hi,
I am trying to bind the selected value of a databound dropdown box in a
databound gridview control to the value being displayed in the template
column the dropdown box has been added to. Both the grid and the dropdown
box are retrieving and displaying data fine, I just cant bind the two
together.
I followed the instructions in the help document called 'Walkthrough:
Displaying a Drop-Down List While Editing in the GridView Web...
|
by: Steve Kershaw |
last post by:
Hi,
I have a GridView in which I have selected a row. I now want to use
the 1st column value of that selected row in another GridView as an
input to select the particular row in the second GridView. I know that
"GridView1.SelectedRow.Cells" dosen't work along with some other
things I have tried.
Can anybody help me with this?!
|
|
by: kageyone |
last post by:
I have a gridview in .net 2.0 with a dropdownlist of two items - that being "active" and "inactive".
<EditItemTemplate> <asp:DropDownList ID="ddlStatus" runat="server" AutoPostBack="true">
<asp:ListItem Text="active" Value="active"></asp:ListItem>
<asp:ListItem Text="inactive" Value="inactive"></asp:ListItem
</asp:DropDownList>
</EditItemTemplate>
I also have AutoGenerateEditButton="true"...
|
by: E. Kwong |
last post by:
In a Gridview control, I have several BoundFields, and also a couple of
TemplateFields.
In the Rowupdating event, I try to retrieve one of the BoundFields (i.e. 4th
column of the Gridview control) for comparision purpose. However; I got
null string everytime. On the other hand, I'm able to retrieve the
dropdownbox value in the TemplateField. I would like to know what I did
wrong with the BoundField. Thanks.
Code fragment:
|
by: SAL |
last post by:
hello,
I'm using a radiobuttonlist in an updatepanel in an item template in a
Gridview control. I'm populating the radiobuttonlist in the RowDataBound
event. I have the control toolkit registered in the page and I've got code
to get the selected value from it in the
Radiobuttonlist_SelectedIndexChanged event.
The code in there is:
Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs)
|
by: furtiveferret |
last post by:
Hi
I'm still a newbie here, so please bear with me.
At the top of the page, I display a gridview as a small scrollbox with 3 sortable columns (customer, region & contact) & a select button for each row. The source is a recordset (? dataset) from a SQLServer db query involving several joins and containing around 15 fields in total. The DataKeyNames is a further, customer ID, column which is not visible to the user. (As a point of interest,...
|
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: 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: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|