Hi can anyone help.

i have a table called student and i have set up a link to it using gridview i have set it up so you can edit the field CourseID does anyone know if i can set it so that edit will only be shown where the username (used to log on the page) matches the studentid

(hope i explained ok)

Thanks

Jess x

I would use SQL Select Statments to select the correct data based on a (WHERE) criteria

See "VB.NET" > "How to use SQL" on or <snipped>DaniWeb Code Snippet 696

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.