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 7055391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:44:33+00:00 2026-05-28T03:44:33+00:00

I have many users. Once the user logs in, he will see a gridview

  • 0

I have many users. Once the user logs in, he will see a gridview containing documents list in his profile. Say there are two users abc and xyz. abc has documents list like little, tiger, load and xyz has documnets list flower, tiger. I want to create web page in such a way when abc logs in, his home page’s gridview should contain little, tiger, load and when xyz logs in, his home page’s gridview should contain flower, tiger. How can I do this?

  • 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-28T03:44:34+00:00Added an answer on May 28, 2026 at 3:44 am

    Thnx all for ur support. I finally found the solution. In my database table I included one more column named username. When i create any documents i made clear tht i have included the username also to store in the database table. While displaying the gridview which gets the data from the database table, i filtered the data depending on the username like select filename, date from abc where username = @username. I have added a loginName just above the gridview and stored its value in an invisible lable. I made use of this lable as a control ID in the where clause in the database table. So now whoever logs in, creates the documents, will be able to see only those documents.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a countries list. Each user can check multiple countries. Once saved, this
I have a User class and want to display many users' thumbnails w/ their
In my web application we have many users.I want to set permission for each
In my domain: Users have many Bills Bills have many BillItems (and therefore Users
I've an application in the market and many users have reported that the app
I wonder how many users still have not upgraded their phones from version 2.2.1.
I have 3 tables users(id,name),groups(id,name) and users_groups(user_id,group_id). users and groups have many to many
I have a many-to-one relationship that users can edit via checkboxes. PK of Foo
I am writing an application and I will have some dictionary values in many
I have a standard many-to-many relationship between users and roles in my Rails app:

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.