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

ASP.NET

 
AnswerRe: Continue Pin
Parwej Ahamad6-Jul-08 7:11
professionalParwej Ahamad6-Jul-08 7:11 
Questionpic in database Pin
strawberrysh6-Jul-08 3:59
strawberrysh6-Jul-08 3:59 
AnswerRe: pic in database Pin
N a v a n e e t h6-Jul-08 4:13
N a v a n e e t h6-Jul-08 4:13 
QuestionRe: pic in database Pin
strawberrysh6-Jul-08 6:47
strawberrysh6-Jul-08 6:47 
AnswerRe: pic in database Pin
merinkmathew8-Jul-08 7:12
merinkmathew8-Jul-08 7:12 
QuestionJoin tables in sqldatasource Pin
saquibsa6-Jul-08 2:03
saquibsa6-Jul-08 2:03 
AnswerRe: Join tables in sqldatasource Pin
Herman<T>.Instance8-Jul-08 4:00
Herman<T>.Instance8-Jul-08 4:00 
Questionobject not declared at runtime Pin
saquibsa6-Jul-08 2:02
saquibsa6-Jul-08 2:02 
Hi, i have sql membership provider in my database and i want to join two different tables in sqldatasource i.e. i have this select statement in my aspx page.

<asp:sqldatasource id="Games" runat="server" xmlns:asp="#unknown">
ConnectionString="<%$ ConnectionStrings:SecurityTutorialsConnectionString %>" SelectCommand="SELECT dbo.aspnet_Users.UserName, GameComment.Subject, GameComment.Body, GameComment.CommentDate, saquib.Reply.Subject, saquib.Reply.message From GameComment INNER JOIN dbo.aspnet_Users ON GameComment.UserId = dbo.aspnet_Users.UserId AND saquib.Reply.UserID = dbo.aspnet_Users.UserId ORDER BY GameComment.CommentDate DESC" />

their is three tables asp.net_users, GameComment and reply, should understand what i say on my above code.

and other query is that, i want to put the statement like that

<asp:sqldatasource id="Games" runat="server" connectionstring="<%$ ConnectionStrings:NorthwindConnectionString %>">
SelectCommand=SELECT dbo.aspnet_Users.UserName, GameComment.Subject, GameComment.Body, GameComment.CommentDate, saquib.Reply.Subject, saquib.Reply.message From GameComment INNER JOIN dbo.aspnet_Users ON GameComment.UserId = dbo.aspnet_Users.UserId AND saquib.Reply.UserID = dbo.aspnet_Users.UserId ORDER BY GameComment.CommentDate DESC" >



Please help me to solve this.

if you wish, i can show my database structure and relationship to you.

Thank you

saquib

GeneralRe: object not declared at runtime Pin
Guffa6-Jul-08 3:21
Guffa6-Jul-08 3:21 
QuestionOpenFileDialog Pin
two_man_only6-Jul-08 1:53
two_man_only6-Jul-08 1:53 
AnswerRe: OpenFileDialog Pin
Steve Westbrook6-Jul-08 16:01
Steve Westbrook6-Jul-08 16:01 
GeneralRe: OpenFileDialog Pin
two_man_only6-Jul-08 19:27
two_man_only6-Jul-08 19:27 
GeneralRe: OpenFileDialog Pin
Steve Westbrook7-Jul-08 1:42
Steve Westbrook7-Jul-08 1:42 
Questionhow to call a javascript function from javascript file in asp.net 2.0 Pin
vijaylumar5-Jul-08 20:21
vijaylumar5-Jul-08 20:21 
AnswerRe: how to call a javascript function from javascript file in asp.net 2.0 Pin
N a v a n e e t h6-Jul-08 3:08
N a v a n e e t h6-Jul-08 3:08 
Questiontimer in wepage Pin
Panks_macho5-Jul-08 20:20
Panks_macho5-Jul-08 20:20 
AnswerRe: timer in wepage Pin
N a v a n e e t h6-Jul-08 3:12
N a v a n e e t h6-Jul-08 3:12 
Questionprint problem Pin
lav naphade5-Jul-08 18:51
lav naphade5-Jul-08 18:51 
QuestionAccessdatasource control help plzz Pin
dream_liner_7e75-Jul-08 17:21
dream_liner_7e75-Jul-08 17:21 
AnswerRe: Accessdatasource control help plzz Pin
N a v a n e e t h5-Jul-08 18:10
N a v a n e e t h5-Jul-08 18:10 
QuestionAccessdatasource control help Pin
dream_liner_7e75-Jul-08 16:25
dream_liner_7e75-Jul-08 16:25 
AnswerRe: Accessdatasource control help Pin
N a v a n e e t h5-Jul-08 16:42
N a v a n e e t h5-Jul-08 16:42 
QuestionIssues with sorting a dynamically created Gridview Pin
AaronM_NZ5-Jul-08 16:07
AaronM_NZ5-Jul-08 16:07 
AnswerRe: Issues with sorting a dynamically created Gridview Pin
N a v a n e e t h5-Jul-08 16:40
N a v a n e e t h5-Jul-08 16:40 
GeneralRe: Issues with sorting a dynamically created Gridview Pin
AaronM_NZ5-Jul-08 17:24
AaronM_NZ5-Jul-08 17:24 

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.