Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7514795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T00:36:33+00:00 2026-05-30T00:36:33+00:00

Hi i have application where i have to export grid data on a page

  • 0

Hi i have application where i have to export grid data on a page to another grid on other page..

my logic is i have grid with check boxes………and i have an admin and 3 users…i have one page for “admin” and one page for other “3 users” when they login they are taken to thier own page…..when admin logins he has the grid filled with data with check boxes…….

       1)now the "admin" logins and visits his page his page looks like this
        he has a button called assign work and a dropdownlist binded with three users                      names.
       2)The admin selects some data using checkbox and selects the username from the dop down list ,and clicks on assign work button.
        3)In the same way he does for other two users....
       4)Here all the users have same page when user 1 logins he should be seeing only the  work assigned to him by admin,when user two logins his work should be shown.

can any 1 tell me how to start this…how should i prepare the database and use that….
and can any provide me the required code…will be helpfull to me…

thanks in advance guys…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T00:36:35+00:00Added an answer on May 30, 2026 at 12:36 am

    For your reference, please check the following. It is not perfect solution, need to modify some referential integrity, etc. Just provide you some idea for your requirements.

    — DB design

    -- user information
    create table USERS (USER_ID INT IDENTITY PRIMARY KEY, USER_NM NVARCHAR(100) NOT NULL)
    insert into USERS values ('Admin');
    insert into USERS values ('User 1');
    insert into USERS values ('User 2');
    insert into USERS values ('User 3');
    
    -- role description
    create table ROLES_DESC (ID INT IDENTITY PRIMARY KEY, ROLE_ID INT NOT NULL, ROLE_DESC NVARCHAR(50) NOT NULL)
    INSERT INTO ROLES_DESC VALUES (1,'Admin');
    INSERT INTO ROLES_DESC VALUES (2,'User');
    
    -- assing each user to at least one role
    create table ROLES (ID INT IDENTITY PRIMARY KEY, USER_ID INT NOT NULL, ROLE_ID INT NOT NULL)
    insert into ROLES (1,1) -- admin
    insert into ROLES (2,2) -- User 1
    insert into ROLES (3,2) -- User 2
    insert into ROLES (4,2) -- User 3
    
    
    -- task infomration
    create table TASKS (ID INT IDENTITY PRIMARY KEY, TASK_DESC VARCHAR(100))
    insert into TASKS values ('C# Programming');
    insert into TASKS values ('Database Programming');
    insert into TASKS values ('Match Homework');
    
    
    -- admin can assing task to each user.. save here
    create table ASSINGMENTS (ID INT IDENTITY PRIMARY KEY, USER_ID INT NOT NULL, TASK_ID INT NOT NULL, ASSING_DT DATETIME DEFAULT GETDATE())
    insert into ASSINGMENTS (USER_ID,TASK_ID) values (2,1);
    insert into ASSINGMENTS (USER_ID,TASK_ID) values (2,2);
    insert into ASSINGMENTS (USER_ID,TASK_ID) values (3,1);
    insert into ASSINGMENTS (USER_ID,TASK_ID) values (4,3);
    

    ———in aspx you have admin page and user page
    In admin page, use templatefiled columns (user dropdown and task dropdown )
    for User dropdown

    SELECT USER_ID, USER_NM) FROM USERS WHERE ID <> 1 -- (only select non-admin user)
    

    for task drop down list

    SELECT ID, TASK_DESC FROM TASKS
    

    — when update task to each user event, read data from grid and save into ASSINGMENTS table

    For User Page —

    Just read data from ASSINGMENTS table join with USERS , TASKS tables as follow and bind to gridview

    SELECT A.TASK_ID, T.TASK_DESC, A.ASSING_DT
    FROM ASSINGMENTS A
    INNER JOIN TASKS T ON (A.TASK_ID = T.ID)
    WHERE A.USER_ID = 2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So I have an 'export' application that arrives the user at an end page
I want to have a one-click excel export feature for my application. I therefore
I have Application written with GWT 1.7. I have one page where I upload
One of the missions of an export tool I have in my application, is
We have an application that, amongst many other things, has an export to Excel
I have data analysis application and I need to be able to export database
We have a web application where users often export files from a 3rd party
I have this application I'm developing in JSP and I wish to export some
I have a web application that has a report. I export this report as
The application we have takes large amount of data most of which is called

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.