Click here to Skip to main content
15,908,111 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Code behind for ASP tables Pin
wbeetge26-Mar-08 2:47
wbeetge26-Mar-08 2:47 
GeneralRe: Code behind for ASP tables Pin
J4amieC26-Mar-08 2:49
J4amieC26-Mar-08 2:49 
GeneralRe: Code behind for ASP tables Pin
J4amieC26-Mar-08 2:45
J4amieC26-Mar-08 2:45 
GeneralRe: Code behind for ASP tables Pin
wbeetge26-Mar-08 2:52
wbeetge26-Mar-08 2:52 
GeneralRe: Code behind for ASP tables Pin
J4amieC26-Mar-08 2:54
J4amieC26-Mar-08 2:54 
GeneralRe: Code behind for ASP tables Pin
wbeetge26-Mar-08 3:03
wbeetge26-Mar-08 3:03 
GeneralRe: Code behind for ASP tables Pin
Abhijit Jana26-Mar-08 3:02
professionalAbhijit Jana26-Mar-08 3:02 
GeneralRe: Code behind for ASP tables Pin
Sneaki26-Mar-08 2:59
Sneaki26-Mar-08 2:59 
Well the problem with merging is that due to the fact that the cells has nothing in it the table just ignores it, therefore best way to prevent that is putting something in it like a label, textbox, etc. But if you would like to leave it blank then best option is insert a new line statement
"<br/>".

<!--Made the border to 2 to see the effect-->
<div style="text-align: left">
<table border="2" cellpadding="1" style="position: relative">
<tr>
<td rowspan="4" style="width: 100px">
<br/>
</td>
<td style="width: 100px">
<br/>
</td>
</tr>
<tr>
<td style="width: 100px">
<br/>
</td>
</tr>
<tr>
<td style="width: 100px">
<br/>
</td>
</tr>
<tr>
<td style="width: 100px">
<br/>
</td>
</tr>
</table>
</div>

Then you could try to do it in the code-behind with the feature of Response.Write("...html coding...."), i tried it with a picture

e.g.
This is adding a picture with a string from the database to a checkListBox collection

cblNames.Items.Add((string)readerSet["Nam"] + "<br/><img src=\"" + (string)readerSet["Nam"] + ".jpg\" height=100px width=150px/><br/>");

Any other questions be free to ask, i'll try my best...
GeneralRe: Code behind for ASP tables Pin
wbeetge26-Mar-08 3:20
wbeetge26-Mar-08 3:20 
QuestionQuery Regarding Textbox Pin
Abhijit Jana26-Mar-08 2:05
professionalAbhijit Jana26-Mar-08 2:05 
GeneralRe: Query Regarding Textbox Pin
J4amieC26-Mar-08 3:56
J4amieC26-Mar-08 3:56 
GeneralRe: Query Regarding Textbox Pin
Abhijit Jana26-Mar-08 4:00
professionalAbhijit Jana26-Mar-08 4:00 
GeneralRe: Query Regarding Textbox Pin
N a v a n e e t h26-Mar-08 4:04
N a v a n e e t h26-Mar-08 4:04 
GeneralRe: Query Regarding Textbox Pin
Abhijit Jana26-Mar-08 4:15
professionalAbhijit Jana26-Mar-08 4:15 
GeneralRe: Query Regarding Textbox Pin
J4amieC26-Mar-08 4:11
J4amieC26-Mar-08 4:11 
GeneralRe: Query Regarding Textbox Pin
Abhijit Jana26-Mar-08 4:15
professionalAbhijit Jana26-Mar-08 4:15 
GeneralRe: Query Regarding Textbox Pin
J4amieC26-Mar-08 4:19
J4amieC26-Mar-08 4:19 
GeneralRe: Query Regarding Textbox Pin
Abhijit Jana26-Mar-08 4:20
professionalAbhijit Jana26-Mar-08 4:20 
QuestionHow to print first two tables present in an aspx Page..? Pin
Balagurunathan S26-Mar-08 2:03
Balagurunathan S26-Mar-08 2:03 
AnswerRe: How to print first two tables present in an aspx Page..? [modified] Pin
eyeseetee26-Mar-08 2:16
eyeseetee26-Mar-08 2:16 
GeneralRe: How to print first two tables present in an aspx Page..? Pin
Balagurunathan S26-Mar-08 2:38
Balagurunathan S26-Mar-08 2:38 
GeneralName of file shud change in datagrid.. Plz help me check this Thread Pin
praveen.khade26-Mar-08 2:01
praveen.khade26-Mar-08 2:01 
GeneralRe: Name of file shud change in datagrid.. Plz help me check this Thread Pin
eyeseetee26-Mar-08 2:14
eyeseetee26-Mar-08 2:14 
GeneralRegarding login page Pin
mukkanti00726-Mar-08 1:47
mukkanti00726-Mar-08 1:47 
GeneralRe: Regarding login page Pin
eyeseetee26-Mar-08 2:01
eyeseetee26-Mar-08 2:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.