Amir Mirkamali RSS 2.0
 Wednesday, September 02, 2009
foreach (myEnum item in Enum.GetValues(typeof(myEnum))) 
{ 
... 
}
Wednesday, September 02, 2009 11:52:30 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Monday, August 03, 2009
public int GetOrdinal(string tableName, string name)
 {
     DataView schema = GetSchemaTable().DefaultView;
     schema.RowFilter = String.Format("BaseTableName='{0}' AND ColumnName='{1}'", tableName, name);
     if (schema.Count > 0)
         return Convert.ToInt32(schema[0]["ColumnOrdinal"]);
     else
         throw new IndexOutOfRangeException();
 }
Monday, August 03, 2009 12:20:11 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | SQL Server

Check this method in your constructor class. this will give you parent class type.

Type callingClass = new System.Diagnostics.StackFrame(1).GetMethod().DeclaringType;
Monday, August 03, 2009 9:14:23 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Sunday, July 05, 2009

to solve this problem do the following instructions:

    1. Browse to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Internet Explorer -> Main
    2. Add a DWORD value called TabProcGrowth with a value of 0
Sunday, July 05, 2009 11:37:46 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting
 Wednesday, April 15, 2009

you can use this method
Request.IsSecureConnection

Wednesday, April 15, 2009 12:30:22 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Monday, April 13, 2009
public static string Capitalize(string value)
{
	return CultureInfo.CurrentCulture.TextInfo.ToTitleCase(value);
}
Monday, April 13, 2009 4:54:16 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Tuesday, March 03, 2009

You use an *.asmx file to create an ASP.NET Web Service.  This file contains your service implementation and is needed for hosting the service.

ASP.NET automatically generates the WSDL or "service description" for your service by reflecting over the types in your service.  You can see the WSDL for your service by browsing to your ASMX file, which should show you a help page for your service containing a link to the service description for the service.  The WSDL can also generally be reached by appending "?wsdl" to the address of the asmx file.

 

Tuesday, March 03, 2009 8:37:26 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0
 Tuesday, January 27, 2009

Response.ContentType = "application/force-download";

Response.AddHeader("Content-Disposition", "attachment;filename=\"" + Filename + "\"");

Response.BinaryWrite(yourbuffer);

Response.End();

Tuesday, January 27, 2009 1:19:08 PM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting
 Tuesday, November 25, 2008

برای حل مشکل کافی است در بخش GlobalSection فایل sln خود خط زیر را اضافه کنید:

SccProjectEnlistmentChoice0 = 2

Tuesday, November 25, 2008 10:28:32 AM UTC  #    -
ASP NET 1.0 | Troubleshooting
 Wednesday, November 19, 2008

Run  RemoteComponents.hta from your installation cds. navigate and find "install full remote debugging on all operating systems" and push the install full button. I had to many probems with my remote debugger and this solved my problem.

this link was very usefull to understand what is my debugger problem:

http://blogs.msdn.com/mkpark/articles/86872.aspx

Wednesday, November 19, 2008 5:11:23 AM UTC  #    -
ASP NET 1.0 | ASP NET 2.0 | Troubleshooting

I got this strange error when tried to overwrite file. I had full control access but i got this error.

The error occured when the file is read only! change the attribute of existing file and you will be able to copy the file!

Wednesday, November 19, 2008 5:10:05 AM UTC  #    -
ASP NET 2.0 | ASP NET 1.0
Archive
<February 2012>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
26272829123
45678910
Blogroll
About the author/Disclaimer

استفاده از مطالب سایت با ذکر منبع آزاد است

© Copyright 2012
Amir Mirkamali

Statistics
Total Posts: 40
This Year: 0
This Month: 0
This Week: 0
Comments: 1
Themes
All Content © 2012, Amir Mirkamali