- string path = System.IO.Path.GetFileName(System.Web.HttpContext.Current.Request.Url.AbsolutePath);
- string path1 = Request.FilePath.ToString();
- string path2 = Request.UrlReferrer.AbsolutePath.ToString();
- Uri UrlInfo = Request.Url; string path3 = UrlInfo.AbsolutePath;
Monday, November 10, 2008
Get Current Page Url using Asp.Net
There r many ways to take current page url. I have listed some ways here.
Sql Data Types Equivalent to C# Data Type
The Following things are to be useful for know the c# Data types which is equivalent to Sql Data types.
tiny int --- byte
small int --- short
int --- int
bigint --- long
varchar --- string
bit --- bool
small money --- decimal
money --- decimal
numeric --- decimal
decimal --- decimal
datetime --- datetime
smalldatetime --- datetime
I hope its little bit useful for u all.
Krishna
Sharing Tech Thoughts
tiny int --- byte
small int --- short
int --- int
bigint --- long
varchar --- string
bit --- bool
small money --- decimal
money --- decimal
numeric --- decimal
decimal --- decimal
datetime --- datetime
smalldatetime --- datetime
I hope its little bit useful for u all.
Krishna
Sharing Tech Thoughts
Subscribe to:
Posts (Atom)