- public string GetWebBrowserName()
- {
- string WebBrowserName = string.Empty;
- try
- {
- WebBrowserName = HttpContext.Current.Request.Browser.Browser;
- }
- catch (Exception ex)
- {
- throw new Exception(ex.Message);
- }
- return WebBrowserName;
- }
Subscribe to:
Post Comments (Atom)
Upload valid file in C#
protected bool CheckFileExtandLength(HttpPostedFile HtmlDocFile) { try { Dictionary<string, byte[]>...
-
CREATE TAblE #temp ( T_Name VARCHAR(50), T_Times BIGINT ) INSERT INTO #temp(T_Name,T_Times) VALUES ('ASHISH',4) IN...
-
Setting Header Programatically You can also set the cache headers programmatically. This can be useful for generated content and allows m...
-
CREATE TABLE dbo.M_Bank ( ID INT IDENTITY NOT NULL, MB_NAME NVARCHAR (50), MB_SNAME NVARCHAR (20), MB_ADDUSER ...
No comments:
Post a Comment