Click here to Skip to main content
15,512,632 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionopen a new webform on another explorer Pin
vikas shukla22-Oct-09 2:43
vikas shukla22-Oct-09 2:43 
AnswerRe: open a new webform on another explorer Pin
Abhishek Sur22-Oct-09 3:03
professionalAbhishek Sur22-Oct-09 3:03 
GeneralRe: open a new webform on another explorer Pin
vikas shukla22-Oct-09 3:07
vikas shukla22-Oct-09 3:07 
GeneralRe: open a new webform on another explorer Pin
Abhijit Jana22-Oct-09 3:19
professionalAbhijit Jana22-Oct-09 3:19 
GeneralRe: open a new webform on another explorer Pin
sashidhar22-Oct-09 3:27
sashidhar22-Oct-09 3:27 
QuestionControl to use Pin
hrishiS22-Oct-09 2:16
hrishiS22-Oct-09 2:16 
AnswerRe: Control to use Pin
sashidhar22-Oct-09 2:41
sashidhar22-Oct-09 2:41 
AnswerRe: Control to use Pin
compninja2522-Oct-09 3:53
compninja2522-Oct-09 3:53 
I don't know if I am interperting the question correctly, but on occasion for projects that involve having different pictures and text for users/products I use a panel or div control and then just dynamically place the controls per each data row in there.

So, assume I have a panel control named "panel1" on the aspx file, I would then use something like this in my code behind:
DataReader dr1 = Connection1.Read()

While (dr1.Read)
{
   Image pictureBox1 = new Image();
   TextBox tb1 = new TextBox();

   pictureBox1.ImageURL = dr1["imageLocation"].toString();
   tb1.Text = dr1["textBlurb"].toString();

   panel1.Controls.Add(pictureBox1);
   panel1.Controls.Add(tb1);
}


Then I just work on formatting the layout using the css.

Hope this helps! Smile | :)

Knowledge is not power, however, the acquisition and appropriate application of knowledge can make you a very powerful individual.

AnswerRe: Control to use Pin
shashankbv22-Oct-09 6:02
shashankbv22-Oct-09 6:02 
Questionxslt compilation error Pin
tasoss22-Oct-09 1:44
tasoss22-Oct-09 1:44 
AnswerRe: xslt compilation error Pin
Richard MacCutchan22-Oct-09 2:25
mveRichard MacCutchan22-Oct-09 2:25 
GeneralRe: xslt compilation error Pin
tasoss22-Oct-09 12:24
tasoss22-Oct-09 12:24 
GeneralRe: xslt compilation error Pin
Richard MacCutchan23-Oct-09 0:17
mveRichard MacCutchan23-Oct-09 0:17 
Questionjavascript close page Pin
Denver Thomas22-Oct-09 0:47
Denver Thomas22-Oct-09 0:47 
AnswerRe: javascript close page Pin
Abhijit Jana22-Oct-09 0:59
professionalAbhijit Jana22-Oct-09 0:59 
AnswerRe: javascript close page Pin
pons_saravanan22-Oct-09 1:01
pons_saravanan22-Oct-09 1:01 
AnswerRe: javascript close page Pin
Abhishek Sur22-Oct-09 1:02
professionalAbhishek Sur22-Oct-09 1:02 
GeneralRe: javascript close page Pin
Denver Thomas22-Oct-09 1:47
Denver Thomas22-Oct-09 1:47 
AnswerRe: javascript close page Pin
dan!sh 22-Oct-09 1:57
professional dan!sh 22-Oct-09 1:57 
QuestionEvaluate expression in string Pin
fcis200822-Oct-09 0:02
fcis200822-Oct-09 0:02 
AnswerRe: Evaluate expression in string Pin
sashidhar22-Oct-09 0:17
sashidhar22-Oct-09 0:17 
AnswerRe: Evaluate expression in string Pin
nagendrathecoder22-Oct-09 0:20
nagendrathecoder22-Oct-09 0:20 
AnswerRe: Evaluate expression in string Pin
Abhishek Sur22-Oct-09 1:04
professionalAbhishek Sur22-Oct-09 1:04 
Questioninsert only date Pin
m@dhu21-Oct-09 22:57
m@dhu21-Oct-09 22:57 
AnswerRe: insert only date Pin
Christian Graus21-Oct-09 23:01
mveChristian Graus21-Oct-09 23: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.