Click here to Skip to main content
15,896,912 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: XML,Xhtml Pin
Any_India25-Oct-10 21:31
Any_India25-Oct-10 21:31 
GeneralRe: XML,Xhtml Pin
Nithin Sundar27-Oct-10 20:30
Nithin Sundar27-Oct-10 20:30 
QuestionConnectionStringa nd Web.config Pin
future383925-Oct-10 18:52
future383925-Oct-10 18:52 
AnswerRe: ConnectionStringa nd Web.config Pin
thatraja25-Oct-10 20:26
professionalthatraja25-Oct-10 20:26 
QuestionMVC and Dataset Pin
future383925-Oct-10 14:08
future383925-Oct-10 14:08 
AnswerRe: MVC and Dataset Pin
kadaoui el mehdi27-Oct-10 3:33
kadaoui el mehdi27-Oct-10 3:33 
QuestionWebpage template Pin
yakshasa25-Oct-10 11:56
yakshasa25-Oct-10 11:56 
QuestionLinq to SQL Pin
Satish_S25-Oct-10 2:39
Satish_S25-Oct-10 2:39 
using (apReportDataContext context = new apReportDataContext())
            {
                var appointments = (
                            from app in context.t_msts
                            join li in  context.Lead_In
 on app.apm_LeadID equals li.iLeadID into app_li
                            from li in app_li.DefaultIfEmpty()
                            join cs in context.custContactInfos on li.iLeadID equals cs.id into li_cs
                            from cs in li_cs.DefaultIfEmpty()
                            join apm in context.atm_appointment_type_masts on app.apm_type_id equals apm.atm_id into cs_apm
                            from apm in cs_apm.DefaultIfEmpty()


                            select new
                            {
                              app.apm_id,
                              app.apm_name,
                              app.apm_desc,
                              app.apm_start_time,
                              cs.CustomerName,
                              apm.atm_type_name,
                              
                            });

              




                grv.DataSource = appointments.Distinct();
                grv.DataBind();

            }


this is generating me result as expected now i need to pass paameters to this when generate report button is clicked, i have a drop down and if drop down value !=0 then i have to pass the value of it and if another text box field is filled then i have to pass that also as a parameter

how can i do this?

AnswerRe: Linq to SQL Pin
dan!sh 25-Oct-10 11:03
professional dan!sh 25-Oct-10 11:03 
GeneralRe: Linq to SQL Pin
Satish_S25-Oct-10 18:04
Satish_S25-Oct-10 18:04 
GeneralRe: Linq to SQL Pin
dan!sh 25-Oct-10 19:51
professional dan!sh 25-Oct-10 19:51 
GeneralRe: Linq to SQL Pin
Satish_S25-Oct-10 20:41
Satish_S25-Oct-10 20:41 
QuestionQuestions about ASPNETDB.MDF Pin
ibmkahm24-Oct-10 22:14
ibmkahm24-Oct-10 22:14 
AnswerRe: Questions about ASPNETDB.MDF Pin
kadaoui el mehdi27-Oct-10 3:41
kadaoui el mehdi27-Oct-10 3:41 
QuestionCan't figure out how to covnert this XML to XSL for a gridview Pin
Albert8324-Oct-10 19:01
Albert8324-Oct-10 19:01 
QuestionObjectDisposedException when using Response.Filter Pin
95ulisse24-Oct-10 5:06
95ulisse24-Oct-10 5:06 
QuestionWeb Service Complex Type returning Pin
Dirso23-Oct-10 13:06
Dirso23-Oct-10 13:06 
AnswerRe: Web Service Complex Type returning [modified] Pin
Karthik. A23-Oct-10 15:37
Karthik. A23-Oct-10 15:37 
GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:16
Dirso26-Oct-10 9:16 
AnswerRe: Web Service Complex Type returning Pin
Keith Barrow23-Oct-10 21:56
professionalKeith Barrow23-Oct-10 21:56 
GeneralRe: Web Service Complex Type returning Pin
Dirso26-Oct-10 9:17
Dirso26-Oct-10 9:17 
Questionweb service Pin
Any_India23-Oct-10 7:48
Any_India23-Oct-10 7:48 
AnswerRe: web service Pin
Keith Barrow23-Oct-10 8:02
professionalKeith Barrow23-Oct-10 8:02 
GeneralRe: web service Pin
Any_India23-Oct-10 8:23
Any_India23-Oct-10 8:23 
GeneralRe: web service Pin
Keith Barrow23-Oct-10 8:34
professionalKeith Barrow23-Oct-10 8:34 

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.