I have a Grid View .With in a gridview i'm using dropdownlist , i connect my grid to DataBase now i get the values in my dropdown, for ex i have a 10 records in my grid
like 1,2,3,4,5,6,7,8 ,9,10
now i changed the value 4 to 2 . now 4 is changed to 2, then 2 is increment by 1 , and 3 is increment by 1 automatically ,
again i changed the value 4 to 7. now 7 is decrement by 1, 6 is decrement by 1,5 is decrement by 1 upto my selected value. plz help me to do this
2 2021 Frinavale 9,735
Recognized Expert Moderator Expert
I'm not sure what you are trying to accomplish.
Are you trying to change the order of your rows?
-Frinny
you select 4 in your dropdown right? or you just select the value in the datagrid then select the value of the dropdown to change the data? hmm, do have any query making this happen ?
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Tom Petersen |
last post by:
I have a drop down box where the choices are populated from a database
query, this part works fine:
<option value><% = strEmail %></option>
I was wondering if it is possible to keep the value as strEmail, but make
the display Last_name, First_name. So when a user looks at the list, they
will just see the names, but when the form is submitted, the actual email
address associated with the name is passed along.
Long story short, there...
|
by: Eric Dan |
last post by:
Hi,
Even tough I was able to implement what I want in a weird and non efficient
way, I would like to get an opinion what is the right way to achieve my task:
Scenario:
• Display a DataGrid that contains rows from a table from a databse (so far
easy).
• I would like to add a column to the DataGrid that will be a drop-down list
so the user will be able to select a value from a pre-defined list of values
|
by: mimo |
last post by:
Hi,
I'm trying to use Stored Procedures with a Grid View and everytime I try the
update and the delete stored procedures fail. By the way I am doing this
through the wizard.
Is there a sample somewhere on how to do this? When I type in the
statements directly it works, but I really need to be able to call stored
procedures. And the stored procedures work fine in query analyzer.
|
by: rishu banerjee |
last post by:
hi all. I'm new to ASP. can anyone help me in getting values of a drop down to be displayed in a textarea.say if we have the drop down elements as color, flower,..etc. as we select color, it should display red,blue,green in the textarea below
|
by: jcassan |
last post by:
Hello folks. I am new to these forums and have something, which has been stumping me for little while.
I am using pspell to spellcheck a scrolling textbox (textarea) containing user input.
I analyze each word and rebuild the text string as a combination of correct text (not misspelled) and a drop down list offering suggestions in place of any misspelled words. Pretty common stuff using pspell.
I display the new string so that the user...
| |
by: lisles |
last post by:
i want to populate a drop down based on a selection from anoher drop down list.
my drop down values are stored in a seperate page as shown below:
//gazetted or non gazetted
$isGazetted = array(
"1" => "Yes",
"2" => "No"
);
//Gazetted
|
by: selvasoft |
last post by:
Hi
Please any one help me i want list out the values in drop down box.
But the values from my database.
How can am select that value from my database using JSP.give me example code
pleas.
|
by: jimgym1989 |
last post by:
Hi there,
I have 2 PHP files, memeber.php & view.php
This is my member.php
while($row = mysql_fetch_array($strSQL)){
$data .= "<tr>";
$data .= "<td>";
$data .= "<input type='checkbox' class='memberchk' name='membersID' value='".$row."' />";
$data .= "</td>";
$data .="<td>";
|
by: silwar |
last post by:
Hi,
I have already stored value of author id in list item value while page loads. but when I change index of drop down list to view author information error is shown. I tried to debug using check points and it seems Sqlreader isn't reading database second time.
Incorrect syntax near '='..
Here is my code
using System;
using System.Collections;
|
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: 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: 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: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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.
| |
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...
| |