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

ASP.NET

 
AnswerRe: Export Access Reports Pin
Pallavi Bhoite27-Jun-07 1:03
Pallavi Bhoite27-Jun-07 1:03 
GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 1:24
André Stroebel27-Jun-07 1:24 
GeneralRe: Export Access Reports [modified] Pin
Pallavi Bhoite27-Jun-07 1:44
Pallavi Bhoite27-Jun-07 1:44 
GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 1:57
André Stroebel27-Jun-07 1:57 
GeneralRe: Export Access Reports Pin
Pallavi Bhoite27-Jun-07 2:12
Pallavi Bhoite27-Jun-07 2:12 
GeneralRe: Export Access Reports Pin
André Stroebel27-Jun-07 2:37
André Stroebel27-Jun-07 2:37 
QuestionMid function.......... Pin
n_gchaitra27-Jun-07 0:03
n_gchaitra27-Jun-07 0:03 
AnswerRe: Mid function.......... Pin
SHatchard27-Jun-07 0:14
SHatchard27-Jun-07 0:14 
Hi
Firstly i would recommend moving the logic out of the form and into a class which could be used thoughout your application ensuring that the same business rule is followed consistently.

For readability i would also suggest working through as single rules which would then ensure that less processing would take place as the whole statement need not be parsed and the function would return as soon as an invalid pNo rule was reached.

Public Function ValidatePNo(ByVal pNo as string) as boolean

If pNo.startswith("p") then return false
if pNo.startswith("oth") then return false

..

Return True

End Function
GeneralRe: Mid function.......... Pin
n_gchaitra27-Jun-07 2:22
n_gchaitra27-Jun-07 2:22 
AnswerRe: Mid function.......... Pin
Craster27-Jun-07 1:35
Craster27-Jun-07 1:35 
QuestionHow to sort data in datagrid? Pin
Amit Sk Sharma26-Jun-07 23:58
Amit Sk Sharma26-Jun-07 23:58 
AnswerRe: How to sort data in datagrid? Pin
rahul.net1127-Jun-07 0:31
rahul.net1127-Jun-07 0:31 
QuestionIFrames in ASP.NET Pin
J Liang26-Jun-07 23:31
J Liang26-Jun-07 23:31 
AnswerRe: IFrames in ASP.NET Pin
SHatchard27-Jun-07 0:06
SHatchard27-Jun-07 0:06 
GeneralRe: IFrames in ASP.NET Pin
J Liang28-Jun-07 17:58
J Liang28-Jun-07 17:58 
QuestionValidating TextBox with Javascript generated value Pin
ZeedijkMike26-Jun-07 22:37
ZeedijkMike26-Jun-07 22:37 
AnswerRe: Validating TextBox with Javascript generated value Pin
Eduard Keilholz26-Jun-07 22:42
Eduard Keilholz26-Jun-07 22:42 
GeneralRe: Validating TextBox with Javascript generated value Pin
ZeedijkMike26-Jun-07 22:48
ZeedijkMike26-Jun-07 22:48 
AnswerRe: Validating TextBox with Javascript generated value Pin
ZeedijkMike26-Jun-07 23:14
ZeedijkMike26-Jun-07 23:14 
GeneralRe: Validating TextBox with Javascript generated value Pin
Eduard Keilholz26-Jun-07 23:18
Eduard Keilholz26-Jun-07 23:18 
Questionhelp plz [modified] Pin
Devkranth Kishore Vanja26-Jun-07 22:33
Devkranth Kishore Vanja26-Jun-07 22:33 
AnswerRe: help plz Pin
ZeedijkMike26-Jun-07 22:41
ZeedijkMike26-Jun-07 22:41 
GeneralRe: help plz Pin
Devkranth Kishore Vanja26-Jun-07 23:09
Devkranth Kishore Vanja26-Jun-07 23:09 
AnswerRe: help plz Pin
mohantfor.net27-Jun-07 0:37
mohantfor.net27-Jun-07 0:37 
Questioncreating object inside a loop Pin
raj_developer26-Jun-07 20:40
raj_developer26-Jun-07 20:40 

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.