Hello!
I'm just starting out and i'm using asp.net, masterpages, and mysql.. and i'm lost at one part.. and i'm desperately in need of help.. coz this is my submission for tomorrow..
i'm using mysql 5 with the .net connector 5.1.2.
Here's my problem..
i have a login.aspx page that is not connected to the masterpage. and then 4 other pages, default.aspx, studentinfo.aspx, studentgrades.aspx, and studentschedule.aspx that are connected to my masterpage named studentmasterpage.. i'm able to do everything from skining and changing overall layout and stuff by watching tutorial videos that i borrowed, but i can't connect the figure out how to connect the 3 pages to their databases.
here's how my webpage is supposed to work
- when a student logs in with his username and password (i coded my own login page because i can't use my tables for the mysqlroleprovider thing), he is directed to the default.aspx page that display some welcome message. the 3 pages are on the left hand side as a treeview menu.
- then lets say the student wants to check his personal information, so he clicks the student information link. and he gets directed to the studentinformation.aspx page. in this page, i have a sqldatasource with a mysql table named studentino and a detailsview to show the data. and heres where my problem is..
i don't know how to populate the detailsview. i tried to use request.querystring and get the username as a string. but i land on the default.aspx page first.
how can i be able to use the request.querystring, or any other method to be able to select the data from each of the pages?
and the other 2 pages holds the almost the same items, a sqldatasource with their databases and a gridview or detailsview. and each
should i use parameters? how do you use parameters to start with? and what about stored procedures? do i need them?
sorry if my question seems too long and noobish.. coz i really am a noob... any help is really really appreciated..
thanks...
ps. and my codebehind is c# though i'm more proficient with vb.net
thanks again...