Click here to Skip to main content
15,887,304 members
Home / Discussions / C#
   

C#

 
GeneralRe: sending messages with smart bro using c# Pin
Glendonz30-Dec-12 5:36
Glendonz30-Dec-12 5:36 
Questionremobjects and simular products Pin
Menelaos Vergis20-Dec-12 6:22
Menelaos Vergis20-Dec-12 6:22 
AnswerRe: remobjects and simular products Pin
Super Lloyd20-Dec-12 18:11
Super Lloyd20-Dec-12 18:11 
GeneralRe: remobjects and simular products Pin
Menelaos Vergis23-Dec-12 22:00
Menelaos Vergis23-Dec-12 22:00 
GeneralRe: remobjects and simular products Pin
Super Lloyd24-Dec-12 3:40
Super Lloyd24-Dec-12 3:40 
QuestionPls help me with repeater control....!! Pin
Yasir88720-Dec-12 4:24
Yasir88720-Dec-12 4:24 
RantRe: Pls help me with repeater control....!! Pin
Richard Deeming20-Dec-12 4:46
mveRichard Deeming20-Dec-12 4:46 
GeneralRe: Pls help me with repeater control....!! Pin
Yasir88720-Dec-12 6:20
Yasir88720-Dec-12 6:20 
Really sorry for the way in which i asked the question.

thanks for the code you had mentioned here . I tried the same thing. But not working.
Below is the code which i did.

In the aspx page:

protected void Page_Load(object sender, EventArgs e)
{

DataTable dt = new DataTable();

dt = db.table("SELECT UserDetails.UserName, UserDetails.Image, Article.ArticleId, Article.ArticleTitle, Article.ArticleDescription, Article.ArticleDate FROM Article INNER JOIN UserDetails ON Article.UserName = UserDetails.UserName");
Repeater1.DataSource = dt;
Repeater1.DataBind();

}
protected void Repeater1_ItemCommand(object source, RepeaterCommandEventArgs e)
{
string aid = Request.QueryString["aid"];
}

And the html side:

<asp:repeater id="Repeater1" runat="server"
="" onitemcommand="Repeater1_ItemCommand">
<HeaderTemplate>


</HeaderTemplate>

<itemtemplate>
<%#DataBinder.Eval(Container,"DataItem.ArticleTitle")%>

Posted by <%#DataBinder.Eval(Container,"DataItem.UserName")%> | on <%#DataBinder.Eval(Container,"DataItem.ArticleDate")%>
<asp:image id="Image1" runat="server" imageurl="<%# Eval("Image", "~/UserImage/{0}") %>">


<separatortemplate>







<footertemplate>



GeneralRe: Pls help me with repeater control....!! Pin
Richard Deeming20-Dec-12 6:50
mveRichard Deeming20-Dec-12 6:50 
GeneralRe: Pls help me with repeater control....!! Pin
Yasir88720-Dec-12 7:02
Yasir88720-Dec-12 7:02 
GeneralRe: Pls help me with repeater control....!! Pin
Richard Deeming20-Dec-12 7:12
mveRichard Deeming20-Dec-12 7:12 
GeneralRe: Pls help me with repeater control....!! Pin
Yasir88721-Dec-12 6:35
Yasir88721-Dec-12 6:35 
GeneralRe: Pls help me with repeater control....!! Pin
Paul Conrad20-Dec-12 17:56
professionalPaul Conrad20-Dec-12 17:56 
QuestionHow to combine C# projects/classes to one file? Pin
gibsray20-Dec-12 4:16
gibsray20-Dec-12 4:16 
AnswerRe: How to combine C# projects/classes to one file? Pin
PIEBALDconsult20-Dec-12 4:29
mvePIEBALDconsult20-Dec-12 4:29 
GeneralRe: How to combine C# projects/classes to one file? Pin
gibsray20-Dec-12 4:40
gibsray20-Dec-12 4:40 
GeneralRe: How to combine C# projects/classes to one file? Pin
PIEBALDconsult20-Dec-12 4:50
mvePIEBALDconsult20-Dec-12 4:50 
QuestionC# Improvement Pin
Deewan219-Dec-12 22:59
Deewan219-Dec-12 22:59 
AnswerRe: C# Improvement Pin
Richard MacCutchan19-Dec-12 23:08
mveRichard MacCutchan19-Dec-12 23:08 
AnswerRe: C# Improvement Pin
harold aptroot20-Dec-12 0:48
harold aptroot20-Dec-12 0:48 
AnswerRe: C# Improvement Pin
Jibesh20-Dec-12 1:16
professionalJibesh20-Dec-12 1:16 
AnswerRe: C# Improvement Pin
Thomas Daniels20-Dec-12 1:54
mentorThomas Daniels20-Dec-12 1:54 
AnswerRe: C# Improvement Pin
Alan Balkany20-Dec-12 4:29
Alan Balkany20-Dec-12 4:29 
AnswerRe: C# Improvement Pin
Super Lloyd20-Dec-12 18:21
Super Lloyd20-Dec-12 18:21 
AnswerRe: C# Improvement Pin
M.Edmison26-Dec-12 4:31
M.Edmison26-Dec-12 4:31 

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.