Click here to Skip to main content
15,915,042 members
Home / Discussions / C#
   

C#

 
GeneralRe: looping problem Pin
Guffa29-Nov-05 20:04
Guffa29-Nov-05 20:04 
GeneralRe: looping problem Pin
ybasha29-Nov-05 20:17
ybasha29-Nov-05 20:17 
QuestionGlobal access Pin
B I Khan29-Nov-05 17:38
B I Khan29-Nov-05 17:38 
AnswerRe: Global access Pin
Christian Graus29-Nov-05 17:42
protectorChristian Graus29-Nov-05 17:42 
QuestionRegarding Page Navigation at server side. Pin
Murthy India29-Nov-05 17:25
Murthy India29-Nov-05 17:25 
AnswerRe: Regarding Page Navigation at server side. Pin
Ankit Aneja29-Nov-05 23:28
Ankit Aneja29-Nov-05 23:28 
GeneralRe: Regarding Page Navigation at server side. Pin
Murthy India2-Dec-05 0:44
Murthy India2-Dec-05 0:44 
GeneralRe: Regarding Page Navigation at server side. Pin
Ankit Aneja2-Dec-05 1:10
Ankit Aneja2-Dec-05 1:10 
Response.Redirect("/cldetail.aspx?bid=" + id + "&mail=" + email);

and cldetail page
public string clmail; //for taking emailid coming from status.aspx or link
public int id;
clmail=Request.QueryString["mail"].ToString();
id = int.Parse(Request.QueryString["bid"].ToString());

if am not understanding even now send me the example
see this example this may help u
Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
' Fires at the beginning of each request

Dim Context As HttpContext = HttpContext.Current
Dim oldpath As String = Context.Request.Path.ToLower()
Dim lastpath() As String = Split(oldpath, "/")
Dim laname As String = lastpath.GetValue(lastpath.Length - 2)
Dim token As String = "/category/"
Dim i As Integer = oldpath.IndexOf(token)
Dim len As Integer = token.Length
If i <> -1 Then
Dim j As Integer = oldpath.IndexOf("/index.aspx")
If j <> -1 Then
Dim strName As String = oldpath.Substring(i + len, j - (i + len))
Dim id As Integer
id = database.getId(laname)
Dim navpath() As String = database.navigation(id)
Dim Newpath As String = oldpath.Replace(token & strName & "/index.aspx", "/user/home.aspx?action=1&cid=" & id)
Context.RewritePath(Newpath)
End If

End If
token = "-"
i = oldpath.IndexOf(token)
Dim proIndex As Integer = oldpath.IndexOf("/category")
len = token.Length
If i <> -1 Then
Dim j As Integer = oldpath.IndexOf(".aspx")
If j <> -1 Then
Dim strLid As String = oldpath.Substring(i + len, j - (i + len))
Dim strold As String = oldpath.Substring(proIndex, i - proIndex) & "-"
Dim NewLidpath As String
NewLidpath = oldpath.Replace(strold & strLid & ".aspx", "/user/moreinfo.aspx?lid=" & strLid)
Context.RewritePath(NewLidpath)
End If
End If
token = "/type/"
i = oldpath.IndexOf(token)
len = token.Length
If i <> -1 Then
Dim j As Integer = oldpath.IndexOf(".aspx")
If j <> -1 Then
Dim strName As String = oldpath.Substring(i + len, j - (i + len))
Dim typepath As String
typepath = oldpath.Replace(token & strName & ".aspx", "/user/type.aspx?ptype=" & strName)
Context.RewritePath(typepath)
End If
End If
End Sub

Ankit Aneja
"Nothing is impossible. The word itself says - I M possible"
GeneralRe: Regarding Page Navigation at server side. Pin
Murthy India2-Dec-05 18:14
Murthy India2-Dec-05 18:14 
GeneralRe: Regarding Page Navigation at server side. Pin
Ankit Aneja2-Dec-05 18:28
Ankit Aneja2-Dec-05 18:28 
QuestionPoor company - do we need an obfuscator? Pin
Libor Tinka29-Nov-05 13:09
Libor Tinka29-Nov-05 13:09 
AnswerRe: Poor company - do we need an obfuscator? Pin
Christian Graus29-Nov-05 13:54
protectorChristian Graus29-Nov-05 13:54 
GeneralRe: Poor company - do we need an obfuscator? Pin
Libor Tinka30-Nov-05 0:51
Libor Tinka30-Nov-05 0:51 
AnswerRe: Poor company - do we need an obfuscator? Pin
leppie29-Nov-05 22:25
leppie29-Nov-05 22:25 
AnswerRe: Poor company - do we need an obfuscator? Pin
Rob Philpott30-Nov-05 1:12
Rob Philpott30-Nov-05 1:12 
GeneralRe: Poor company - do we need an obfuscator? Pin
leppie30-Nov-05 3:33
leppie30-Nov-05 3:33 
QuestionTransaction Rollback timeout Pin
Mark DeVol29-Nov-05 12:51
Mark DeVol29-Nov-05 12:51 
AnswerRe: Transaction Rollback timeout Pin
rakesh_nits29-Nov-05 23:55
rakesh_nits29-Nov-05 23:55 
QuestionOverriding the Label.CanSelect property Pin
AnneThorne29-Nov-05 12:39
AnneThorne29-Nov-05 12:39 
AnswerRe: Overriding the Label.CanSelect property Pin
Dave Kreskowiak30-Nov-05 5:56
mveDave Kreskowiak30-Nov-05 5:56 
GeneralRe: Overriding the Label.CanSelect property Pin
AnneThorne30-Nov-05 6:02
AnneThorne30-Nov-05 6:02 
GeneralRe: Overriding the Label.CanSelect property Pin
Dave Kreskowiak30-Nov-05 11:00
mveDave Kreskowiak30-Nov-05 11:00 
GeneralRe: Overriding the Label.CanSelect property Pin
AnneThorne30-Nov-05 11:07
AnneThorne30-Nov-05 11:07 
Questioncalling win32 dll in C# Pin
Manu_8129-Nov-05 11:51
Manu_8129-Nov-05 11:51 
AnswerRe: calling win32 dll in C# Pin
Mark DeVol29-Nov-05 12:46
Mark DeVol29-Nov-05 12:46 

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.