Click here to Skip to main content
15,899,014 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Alert window for gridview commandfiled Pin
Coding C#20-Aug-09 1:58
Coding C#20-Aug-09 1:58 
GeneralRe: Alert window for gridview commandfiled Pin
4anusha420-Aug-09 1:59
4anusha420-Aug-09 1:59 
GeneralRe: Alert window for gridview commandfiled Pin
Coding C#20-Aug-09 2:10
Coding C#20-Aug-09 2:10 
AnswerRe: Alert window for gridview commandfiled Pin
Anuradha 200920-Aug-09 2:07
Anuradha 200920-Aug-09 2:07 
GeneralRe: Alert window for gridview commandfiled Pin
Coding C#20-Aug-09 2:17
Coding C#20-Aug-09 2:17 
QuestionASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur19-Aug-09 20:43
Inderjeet Kaur19-Aug-09 20:43 
AnswerRe: ASP.NET Gridview, bring highlighted rows to top Pin
Vimalsoft(Pty) Ltd19-Aug-09 21:40
professionalVimalsoft(Pty) Ltd19-Aug-09 21:40 
GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
Inderjeet Kaur19-Aug-09 22:41
Inderjeet Kaur19-Aug-09 22:41 
Hi
Order By wll bring the rows in asc or desc order. What if i want in between records on top

SELECT
*
FROM

(
SELECT
TranID AS TranID,
CardAcceptorIdCode as MerchantNumber,
PrimaryAccountNumber AS CardNumber,
TranTime as TxnDate,
TransactionAmount as TxnAmount,
CASE CCL1.LutDescription WHEN 'REDEMPTION' THEN 'PURCHASE' ELSE CCL1.LutDescription END as TxnType,
CASE CCL1.LutDescription WHEN 'REDEMPTION' THEN 'CR' WHEN CCL1.LutDescription THEN 'DR' END as DbCrdDetails,
LocalTxnDate,
LocalTxnTime,
PrimaryCurrencyCode AS Currency,
TxnCode_internal AS MTC,
ISNULL(ExcludeRecon, 0) AS ExcludeRecon
--CASE ExcludeRecon WHEN NULL THEN 0 ELSE ExcludeRecon END AS ExcludeRecon
FROM
CCardTransactions inner join
CCardLookup CCL1 on TranType = CCL1.LUTCode and TranType in (10,40,37,42,30) and CCL1.LUTID = 'LM'
WHERE
TRANTIME BETWEEN 'Jul 29 2009 12:00AM' AND 'Jul 29 2009 11:59PM' AND
CardAcceptorIdCode = 48484
) AS CCARDTRAN1

WHERE
CardNumber = '2423423453534556'
--ORDER BY CardNUmber



UNION ALL

SELECT
*
FROM

(
SELECT
TranID AS TranID,
CardAcceptorIdCode as MerchantNumber,
PrimaryAccountNumber AS CardNumber,
TranTime as TxnDate,
TransactionAmount as TxnAmount,
CASE CCL1.LutDescription WHEN 'REDEMPTION' THEN 'PURCHASE' ELSE CCL1.LutDescription END as TxnType,
CASE CCL1.LutDescription WHEN 'REDEMPTION' THEN 'CR' WHEN CCL1.LutDescription THEN 'DR' END as DbCrdDetails,
LocalTxnDate,
LocalTxnTime,
PrimaryCurrencyCode AS Currency,
TxnCode_internal AS MTC,
ISNULL(ExcludeRecon, 0) AS ExcludeRecon
--CASE ExcludeRecon WHEN NULL THEN 0 ELSE ExcludeRecon END AS ExcludeRecon
FROM
CCardTransactions inner join
CCardLookup CCL1 on TranType = CCL1.LUTCode and TranType in (10,40,37,42,30) and CCL1.LUTID = 'LM'
WHERE
TRANTIME BETWEEN 'Jul 29 2009 12:00AM' AND 'Jul 29 2009 11:59PM' AND
CardAcceptorIdCode = 48484
) AS CCARDTRAN2
WHERE

CardNumber <> '2423423453534556'

This is my query and i want top bring records searched by CardNUmber or TxnType on top

Inderjeet Kaur
Sr. Software Engg

GeneralRe: ASP.NET Gridview, bring highlighted rows to top Pin
Vimalsoft(Pty) Ltd19-Aug-09 22:53
professionalVimalsoft(Pty) Ltd19-Aug-09 22:53 
AnswerRe: ASP.NET Gridview, bring highlighted rows to top Pin
Sundeep Ganiga20-Aug-09 2:18
Sundeep Ganiga20-Aug-09 2:18 
Questiongirdview and dropdown having listitem Pin
haleemasher19-Aug-09 20:21
haleemasher19-Aug-09 20:21 
AnswerRe: girdview and dropdown having listitem Pin
Vimalsoft(Pty) Ltd19-Aug-09 20:35
professionalVimalsoft(Pty) Ltd19-Aug-09 20:35 
GeneralRe: girdview and dropdown having listitem Pin
haleemasher19-Aug-09 20:38
haleemasher19-Aug-09 20:38 
GeneralRe: girdview and dropdown having listitem Pin
Vimalsoft(Pty) Ltd19-Aug-09 20:41
professionalVimalsoft(Pty) Ltd19-Aug-09 20:41 
GeneralRe: girdview and dropdown having listitem Pin
haleemasher19-Aug-09 22:24
haleemasher19-Aug-09 22:24 
GeneralRe: girdview and dropdown having listitem Pin
Vimalsoft(Pty) Ltd19-Aug-09 22:48
professionalVimalsoft(Pty) Ltd19-Aug-09 22:48 
AnswerRe: girdview and dropdown having listitem Pin
4anusha420-Aug-09 1:47
4anusha420-Aug-09 1:47 
QuestionFailed to convert parameter value from a String to a DateTime Pin
haleemasher19-Aug-09 19:36
haleemasher19-Aug-09 19:36 
AnswerRe: Failed to convert parameter value from a String to a DateTime Pin
haleemasher19-Aug-09 20:05
haleemasher19-Aug-09 20:05 
Questionaccess with role and membership Pin
mylogics19-Aug-09 19:30
professionalmylogics19-Aug-09 19:30 
QuestionIs there any way to show a textbox and a submit button in an email body? Pin
biyon19-Aug-09 18:36
biyon19-Aug-09 18:36 
AnswerRe: Is there any way to show a textbox and a submit button in an email body? Pin
Christian Graus19-Aug-09 18:40
protectorChristian Graus19-Aug-09 18:40 
GeneralRe: Is there any way to show a textbox and a submit button in an email body? Pin
biyon19-Aug-09 19:57
biyon19-Aug-09 19:57 
QuestionImplement Webpart with Custom Personlization [modified] Pin
$unil Dhiman19-Aug-09 18:21
$unil Dhiman19-Aug-09 18:21 
QuestionValidation of A Valid Email Domain Pin
HatakeKaKaShi19-Aug-09 15:26
HatakeKaKaShi19-Aug-09 15:26 

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.