View Complete Post
hi i am having a gridview on each row i am having a update and add button.
on click of either of the button i am opening a popup where the end user will enter data and on clck of ok button in the child page
based on the click ie
if i clicked update i need to update that particular row with the values from child page.
if i clicked on add i need to add a row below the row where i clicked add button .
can anyone help me with this?
I have a problem that can't find a way to do it, I have a gridview with this columns:
ID | AreaName | CostCenter
with the "Enable Editing" option check and what I want to do is to get the values of areaname and costcenter and assign them to a label control so I can use the values for something else, for example:
ID AreaName CostCenter
1 Multiconector 1025
2 One Conector 2065
3 Plug & Play 1445
I finally got membership and roles setup and seems to be working.
I have setup a page to allow the creation of a user and editing of roles for a user.
I would like to setup a page with a gridview that displays all users and what roles they are assigned. I remember running across someone else that was looking to do the same thing, but cant find it. Not sure if it was in this forum or online somewhere else.
But i found that i can use the aspnet_Membership_GetAllUsers procedure in my db to get all the users, but how can i add the roles to each person and possibly setup the gridview so that each role they have, is displayed on their row in the gridview
So i would like to see something like this maybe more data displayed depending on the client request.
Username Email Last Login Roles
what i need is when enter some values(varchar ) in txt 1 and 2
it should be added in database and shown in gridview1 after i press butt1
any bodyknows full code answer/akdj
I have a form, which contains 2 textboxes. When i click on the first textbox, i have to open a child window (tool), that contains a gridview control with 2 columns (corresponding to the 2 textboxes). When the user clicks on any row in the gridview, it should send back the 2 column values back to the parent window to the corresponding 2 textboxes. Can anyone help me on how do i achieve this?
I can open the child window and get back the values using window.opener method in JS.
But can anyone help on how to bind the JS code to the onClick of every row in the gridview. How can i activate the OnClick event of every row/alternating row item of the gridview and bind the JS code and pass each column value to that JS method? The no of columns in the gridview can vary depending upon the data? So in that case, i have to have a collection to be passed to JS code that can contain n number of column values.
I have 5 controls on the page - textbox, radiobutton, listbox, checkbox, and any other one more. And i have a grid. The grid has 5 corresponding columns. I have to make the grid row clickable, and on the click, i have to populate my 5 controls with each of the corresponding grid column values.
Before that wanted to know if there is any other approach to achieve this. Please help!
How Get particular selected cell value from gridview . my grid so many cell available..
i'm created dynamic row and cell ...