Click here to Skip to main content
15,900,258 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to implement blog and forum in asp.net with vb.net Pin
Colin Angus Mackay20-Sep-07 7:11
Colin Angus Mackay20-Sep-07 7:11 
AnswerRe: how to implement blog and forum in asp.net with vb.net Pin
Sathesh Sakthivel20-Sep-07 1:15
Sathesh Sakthivel20-Sep-07 1:15 
QuestionTreeView Inside GridView Control Pin
varshavmane20-Sep-07 0:01
varshavmane20-Sep-07 0:01 
AnswerRe: TreeView Inside GridView Control Pin
Imran Khan Pathan20-Sep-07 1:32
Imran Khan Pathan20-Sep-07 1:32 
GeneralRe: TreeView Inside GridView Control Pin
varshavmane20-Sep-07 1:35
varshavmane20-Sep-07 1:35 
GeneralRe: TreeView Inside GridView Control Pin
Member 164611026-Apr-11 13:59
Member 164611026-Apr-11 13:59 
GeneralRe: TreeView Inside GridView Control Pin
varshavmane28-Apr-11 8:58
varshavmane28-Apr-11 8:58 
Questiondynamic values in the string Pin
ybasha19-Sep-07 23:35
ybasha19-Sep-07 23:35 
Hi there,

i have a function which store value of document path, in my web application i have two path for example
1. path one domainname\jp\xyz
2. path two domainname\sg\xyz

the application able to get the location path of number 2 and it function is use to delete that path folder. when the user from the jp domain try the function thro error the document path cannot found?

how can i assist the string a dynamic value? since it taken value from web config
<add key="SG_PostFolder" value="D:\DMStest\Post\">
<add key="JP_PostFolder" value="D:\DMSTest\Post\">

This is the function
public string GetPostLocation(string strDocumentNumber)
{
int intTypeLength =0 ;
string strPostLocation = string.Empty;

try
{

if(strDocumentNumber.Trim().Length == 16)
intTypeLength =1;
else if(strDocumentNumber.Trim().Length == 17)
intTypeLength = 2;
strPostLocation = _postFolder;


}
catch(Exception ex)
{
throw ex;
}
return strPostLocation;
}


any suggestion please

regards
Ybasha
AnswerRe: dynamic values in the string Pin
Sandeep Akhare19-Sep-07 23:39
Sandeep Akhare19-Sep-07 23:39 
GeneralRe: dynamic values in the string Pin
ybasha20-Sep-07 16:50
ybasha20-Sep-07 16:50 
GeneralRe: dynamic values in the string Pin
Sandeep Akhare20-Sep-07 21:01
Sandeep Akhare20-Sep-07 21:01 
Questionfrom child window ,invoke a JS function in parent widow Pin
Vipin.d19-Sep-07 23:14
Vipin.d19-Sep-07 23:14 
AnswerRe: from child window ,invoke a JS function in parent widow Pin
Sandeep Akhare19-Sep-07 23:34
Sandeep Akhare19-Sep-07 23:34 
GeneralRe: from child window ,invoke a JS function in parent widow Pin
Vipin.d19-Sep-07 23:55
Vipin.d19-Sep-07 23:55 
QuestionHow to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex19-Sep-07 23:09
Malayil alex19-Sep-07 23:09 
AnswerRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Paddy Boyd19-Sep-07 23:18
Paddy Boyd19-Sep-07 23:18 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex19-Sep-07 23:36
Malayil alex19-Sep-07 23:36 
AnswerRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Sandeep Akhare19-Sep-07 23:20
Sandeep Akhare19-Sep-07 23:20 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex19-Sep-07 23:34
Malayil alex19-Sep-07 23:34 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Sandeep Akhare19-Sep-07 23:45
Sandeep Akhare19-Sep-07 23:45 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 0:00
Malayil alex20-Sep-07 0:00 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Sandeep Akhare20-Sep-07 0:06
Sandeep Akhare20-Sep-07 0:06 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 0:24
Malayil alex20-Sep-07 0:24 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Sandeep Akhare20-Sep-07 0:31
Sandeep Akhare20-Sep-07 0:31 
GeneralRe: How to display modal popup dialog only if some statement is TRUE ? Pin
Malayil alex20-Sep-07 0:35
Malayil alex20-Sep-07 0:35 

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.