-
Select box in table header
I'm trying to put a select box in the column header of the ASP-db grid but it doesn't show up the way I want. I use the following code:
MyDb.dbNameMap = "Name,Description,<br><select size=1 name=D1></select>"
When running the code the select box is shown but for some reason also "BGCOLOR=red >" and then the name of the field.
My questions are:
1. How do I remove "BGCOLOR=red >" text from the header?
2. How do I change the code so the name of the field is shown first and then the select box on a second row?
Regards,
Abrazame
-
Select box in table header (reply)
Abrazame,
Remove the comma after the word Description ... like this:
MyDb.dbNameMap = "Name,Description<br><select size=1 name=D1></select>"
OR if your REALLY want a comma in the title, you must redefine the default delimiters. See Example 19 at:
http://www.aspdb.com/apps
That should help.
Mark.
------------
Abrazame at 10/23/00 3:01:45 PM
I'm trying to put a select box in the column header of the ASP-db grid but it doesn't show up the way I want. I use the following code:
MyDb.dbNameMap = "Name,Description,<br><select size=1 name=D1></select>"
When running the code the select box is shown but for some reason also "BGCOLOR=red >" and then the name of the field.
My questions are:
1. How do I remove "BGCOLOR=red >" text from the header?
2. How do I change the code so the name of the field is shown first and then the select box on a second row?
Regards,
Abrazame
-
Select box in table header (reply)
Amazing, Mark. Thank You very much!
/ Abrazame
------------
Mark at 10/23/00 3:17:49 PM
Abrazame,
Remove the comma after the word Description ... like this:
MyDb.dbNameMap = "Name,Description<br><select size=1 name=D1></select>"
OR if your REALLY want a comma in the title, you must redefine the default delimiters. See Example 19 at:
http://www.aspdb.com/apps
That should help.
Mark.
------------
Abrazame at 10/23/00 3:01:45 PM
I'm trying to put a select box in the column header of the ASP-db grid but it doesn't show up the way I want. I use the following code:
MyDb.dbNameMap = "Name,Description,<br><select size=1 name=D1></select>"
When running the code the select box is shown but for some reason also "BGCOLOR=red >" and then the name of the field.
My questions are:
1. How do I remove "BGCOLOR=red >" text from the header?
2. How do I change the code so the name of the field is shown first and then the select box on a second row?
Regards,
Abrazame
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|