Click here to Skip to main content
15,881,089 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionGenerate Events from Controls in ModalPopupExtender [modified] Pin
astrovirgin24-Aug-09 22:36
astrovirgin24-Aug-09 22:36 
QuestionASP.Net with Java Script Pin
Amit Patel198524-Aug-09 22:34
Amit Patel198524-Aug-09 22:34 
AnswerRe: ASP.Net with Java Script Pin
N a v a n e e t h25-Aug-09 0:50
N a v a n e e t h25-Aug-09 0:50 
QuestionCould not load file or assembly Pin
gtaure24-Aug-09 22:14
gtaure24-Aug-09 22:14 
Questionmenu index of a certain menu item.... Pin
RajpootRohan24-Aug-09 22:03
professionalRajpootRohan24-Aug-09 22:03 
AnswerRe: menu index of a certain menu item.... Pin
N a v a n e e t h25-Aug-09 1:14
N a v a n e e t h25-Aug-09 1:14 
QuestionRetrive an image in web page Pin
rinku soni 2324-Aug-09 21:56
rinku soni 2324-Aug-09 21:56 
AnswerRe: Retrive an image in web page Pin
RajpootRohan24-Aug-09 22:07
professionalRajpootRohan24-Aug-09 22:07 
hi,

You can try like this:

cmd = new OleDbCommand("select * from gallery where event_id='"+ id +"'", conn);


dr = cmd.ExecuteReader();
if (dr.HasRows)
{

    cmd1 = new OleDbCommand("select event_name from events where event_id=" + id, conn);
    dr1 = cmd1.ExecuteReader();
    dr1.Read();
    lblevent.Text = "<h3>" + dr1[0].ToString() + "</h3>";
    lblevent.Text = lblevent.Text + "<p>";
    dr1.Close();
    while (dr.Read())
    {
        lblevent.Text = lblevent.Text + "<a href='images/events/" + dr[3].ToString() + "' rel=\"lightbox[events Photos]\"><img src=\"images/events/thumb/" + dr[2].ToString() + "    \" alt='' width=\"100\" height=\"96\" border=\"1\" /></a>";
    }
    lblevent.Text = lblevent.Text + "</p>";


cheers,
sneha

AnswerRe: Retrive an image in web page Pin
SeMartens25-Aug-09 0:43
SeMartens25-Aug-09 0:43 
QuestionC# in ASP.Net Pin
darolia.manish24-Aug-09 21:30
darolia.manish24-Aug-09 21:30 
AnswerRe: C# in ASP.Net Pin
Suresh Suthar24-Aug-09 21:34
professionalSuresh Suthar24-Aug-09 21:34 
AnswerRe: C# in ASP.Net Pin
RajpootRohan24-Aug-09 21:39
professionalRajpootRohan24-Aug-09 21:39 
AnswerRe: C# in ASP.Net Pin
Blue_Boy24-Aug-09 22:09
Blue_Boy24-Aug-09 22:09 
QuestionC# in ASP.Net Pin
darolia.manish24-Aug-09 21:27
darolia.manish24-Aug-09 21:27 
AnswerRe: C# in ASP.Net Pin
Suresh Suthar24-Aug-09 21:30
professionalSuresh Suthar24-Aug-09 21:30 
GeneralRe: C# in ASP.Net Pin
darolia.manish24-Aug-09 21:34
darolia.manish24-Aug-09 21:34 
AnswerRe: C# in ASP.Net Pin
geeeeeeeetha25-Aug-09 0:05
geeeeeeeetha25-Aug-09 0:05 
QuestionA grid view from scratch Pin
mrkeivan24-Aug-09 20:32
mrkeivan24-Aug-09 20:32 
AnswerRe: A grid view from scratch Pin
Suresh Suthar24-Aug-09 21:14
professionalSuresh Suthar24-Aug-09 21:14 
Question.net with flex Pin
Amit Patel198524-Aug-09 20:17
Amit Patel198524-Aug-09 20:17 
QuestionIs "string" be the only thing i can send from client to server side Pin
subramanian.rtechconet24-Aug-09 19:53
subramanian.rtechconet24-Aug-09 19:53 
AnswerRe: Is "string" be the only thing i can send from client to server side Pin
SeMartens24-Aug-09 20:26
SeMartens24-Aug-09 20:26 
QuestionGrid View with null data Pin
Member 426027024-Aug-09 19:39
Member 426027024-Aug-09 19:39 
AnswerRe: Grid View with null data Pin
padmanabhan N24-Aug-09 19:49
padmanabhan N24-Aug-09 19:49 
AnswerRe: Grid View with null data Pin
Amit Patel198524-Aug-09 19:50
Amit Patel198524-Aug-09 19:50 

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.