I'm quite new here..
How do you open 2 iframe on a click? or to be specific, how do you do it inside the asp.net vb sub function?
so i have 3 frames in my index.aspx : top, main, bottom
i have a function in main frame which needs to change the top frame and main frame itself?
how do you do this?
I've tried using javascript like this:
Response.Write("<script language=Javascript>window.open('member.aspx','main');window.open('vtopm.aspx','top');</script>")
=> this doesn't work
I tried another javascript:
Response.Write("<script language=Javascript>parent.main.location='member.aspx';parent.top.location='vtopm.aspx';</script>")
=> this also didn't work :(
So how do you do this?
Another question:
How do you get a specific data from database without having it as a list? (Without DataGrid?)
This what i've done:
1. specify the sql connection
2. specify the sql command (select * from member where memail='" & Mail & "';")
then what do i do?
can i just get the value from database using Request.QueryString? But I tried that, it didn't work.
I tried this after executing the sqlcommand:
Label.title.Text = Request.QueryString("title").ToString()
Label.fname.Text = Request.QueryString("fname").ToString()
Label.lname.text = Request.QueryString("lname").ToString()
but it didn't work.
I just want to get the person's title, fname, and lname from the database
Please can anyone help me..
Thank you so much ..i got the first qst solved..
how about the second one? does anyone know?
0 comments:
Post a Comment