Click here to Skip to main content
15,891,621 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: javascript problem in simulate tab menu???? Pin
Michael Sync20-Nov-07 4:22
Michael Sync20-Nov-07 4:22 
Questiondelegates Pin
Sonia Gupta20-Nov-07 3:10
Sonia Gupta20-Nov-07 3:10 
AnswerRe: delegates Pin
N a v a n e e t h20-Nov-07 3:25
N a v a n e e t h20-Nov-07 3:25 
QuestionGridView Control Question Pin
kenexcelon20-Nov-07 3:03
kenexcelon20-Nov-07 3:03 
AnswerRe: GridView Control Question Pin
mr.mohsen20-Nov-07 3:33
mr.mohsen20-Nov-07 3:33 
QuestionAdd webservice request custom http header Pin
felopater20-Nov-07 2:30
felopater20-Nov-07 2:30 
QuestionDynamic generation of web pages in asp.net 2.0 Pin
ysunil_7420-Nov-07 2:19
ysunil_7420-Nov-07 2:19 
AnswerRe: Dynamic generation of web pages in asp.net 2.0 Pin
Deepak the Cool20-Nov-07 2:46
Deepak the Cool20-Nov-07 2:46 
The following code may b helps you

This is just an idea you can change into this as your needs..


protected override void Render(HtmlTextWriter writer)
{
for (int i = 0; i < datatable.rows.count; i++)
{
Image img = new Image();
img.ImageUrl = string.Format("image1.gif");
img.AlternateText = "My Image";
writer.AddStyleAttribute(HtmlTextWriterStyle.TextAlign, "center");
writer.RenderBeginTag(HtmlTextWriterTag.Div);
img.RenderControl(writer);
writer.WriteBreak();
writer.Write(todayWeather.ToString());
writer.RenderEndTag();

}
}



Deepak

Smile | :) Smile a Lots,Its Costs Nothing

Questionproblem with web controls Pin
accessred20-Nov-07 2:11
accessred20-Nov-07 2:11 
AnswerRe: problem with web controls Pin
SunithaNallana20-Nov-07 2:19
SunithaNallana20-Nov-07 2:19 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 2:32
accessred20-Nov-07 2:32 
AnswerRe: problem with web controls Pin
Prateek G20-Nov-07 2:28
Prateek G20-Nov-07 2:28 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 2:37
accessred20-Nov-07 2:37 
GeneralRe: problem with web controls [modified] Pin
Prateek G20-Nov-07 2:40
Prateek G20-Nov-07 2:40 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:14
accessred20-Nov-07 19:14 
AnswerRe: problem with web controls Pin
Deepak the Cool20-Nov-07 2:37
Deepak the Cool20-Nov-07 2:37 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 2:40
accessred20-Nov-07 2:40 
GeneralRe: problem with web controls Pin
Deepak the Cool20-Nov-07 3:03
Deepak the Cool20-Nov-07 3:03 
GeneralRe: problem with web controls Pin
Michael Sync20-Nov-07 3:09
Michael Sync20-Nov-07 3:09 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:13
accessred20-Nov-07 19:13 
GeneralRe: problem with web controls Pin
Deepak the Cool21-Nov-07 17:31
Deepak the Cool21-Nov-07 17:31 
AnswerRe: problem with web controls Pin
Michael Sync20-Nov-07 3:08
Michael Sync20-Nov-07 3:08 
GeneralRe: problem with web controls Pin
accessred20-Nov-07 19:13
accessred20-Nov-07 19:13 
GeneralRe: problem with web controls Pin
Michael Sync20-Nov-07 19:34
Michael Sync20-Nov-07 19:34 
AnswerRe: problem with web controls Pin
MCEdwards20-Nov-07 7:44
MCEdwards20-Nov-07 7:44 

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.