Click here to Skip to main content
15,122,185 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: PDF in VB6 Pin
Shah Rizal13-Sep-11 22:54
MemberShah Rizal13-Sep-11 22:54 
QuestionTimer control in ASP.NET Server Control [modified] Pin
Hari Om Prakash Sharma5-Sep-11 20:25
MemberHari Om Prakash Sharma5-Sep-11 20:25 
AnswerRe: Timer control in ASP.NET Server Control Pin
Paladin20006-Sep-11 7:07
MemberPaladin20006-Sep-11 7:07 
Questionhow to set focus on a textbox at specific index Pin
NetMan20125-Sep-11 5:12
MemberNetMan20125-Sep-11 5:12 
AnswerRe: how to set focus on a textbox at specific index Pin
Pete O'Hanlon5-Sep-11 5:33
mvePete O'Hanlon5-Sep-11 5:33 
AnswerRe: how to set focus on a textbox at specific index Pin
javadhelali5-Sep-11 19:32
Memberjavadhelali5-Sep-11 19:32 
QuestionDate filtering issues in Linq Query Pin
V Senthil4-Sep-11 21:51
MemberV Senthil4-Sep-11 21:51 
AnswerRe: Date filtering issues in Linq Query Pin
Morgs Morgan4-Sep-11 23:52
MemberMorgs Morgan4-Sep-11 23:52 
Firstly, looking at those square brackets on table column names, it appears to me this T-SQL not Linq as you say it is?

If it is T-SQL here goes it:

SQL
"SELECT * FROM [Table] WHERE [FromDate] >= '" + FromDate.Value  + "' AND [ToDate] <= '" + ToDate.Value + "';"


Otherwise if it's indeed Linq-SQL then try this:

C#
   var myTableData = dataContextInstance.MyTable.Where( e => e.FromDate >= DateTime.Parse( FromDate.Value ) && e.ToDate <= DateTime.Parse( ToDate.Value ) ).ToList();

//This will simply return a list or data matching your linq-query and there are many ways you can loop through a list e.g. for-loop, each loop


hope this will help otherwise clarify a little on ya question.

Morgs
AnswerRe: Date filtering issues in Linq Query Pin
Jassim Makki5-Sep-11 16:17
MemberJassim Makki5-Sep-11 16:17 
Questionbinding table data with img tag instead of image control in asp.net Pin
Member 79806753-Sep-11 8:12
MemberMember 79806753-Sep-11 8:12 
AnswerRe: binding table data with img tag instead of image control in asp.net Pin
Elham M4-Sep-11 19:46
MemberElham M4-Sep-11 19:46 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Member 79806755-Sep-11 9:07
MemberMember 79806755-Sep-11 9:07 
AnswerRe: binding table data with img tag instead of image control in asp.net Pin
m@dhu4-Sep-11 20:13
Memberm@dhu4-Sep-11 20:13 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Member 79806755-Sep-11 9:08
MemberMember 79806755-Sep-11 9:08 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Ali Al Omairi(Abu AlHassan)6-Sep-11 2:32
professionalAli Al Omairi(Abu AlHassan)6-Sep-11 2:32 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Member 79806757-Sep-11 11:19
MemberMember 79806757-Sep-11 11:19 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Ali Al Omairi(Abu AlHassan)7-Sep-11 22:20
professionalAli Al Omairi(Abu AlHassan)7-Sep-11 22:20 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Member 79806758-Sep-11 19:55
MemberMember 79806758-Sep-11 19:55 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Ali Al Omairi(Abu AlHassan)4-Sep-11 21:11
professionalAli Al Omairi(Abu AlHassan)4-Sep-11 21:11 
GeneralRe: binding table data with img tag instead of image control in asp.net Pin
Member 79806755-Sep-11 9:09
MemberMember 79806755-Sep-11 9:09 
Questionproblem in palying video Pin
uspatel2-Sep-11 23:14
professionaluspatel2-Sep-11 23:14 
QuestionAdd to DataGridView Pin
Elham M2-Sep-11 20:06
MemberElham M2-Sep-11 20:06 
AnswerRe: Add to DataGridView Pin
koolprasadd2-Sep-11 22:17
professionalkoolprasadd2-Sep-11 22:17 
Questionsuggest privileges and permissions module. Pin
Moustafa Safwat2-Sep-11 9:19
MemberMoustafa Safwat2-Sep-11 9:19 
AnswerRe: suggest privileges and permissions module. Pin
javadhelali5-Sep-11 19:42
Memberjavadhelali5-Sep-11 19:42 

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.