aliramazani
جمعه 08 فروردین 1393, 21:45 عصر
مفهوم این کدها چیست؟
سورس برنامه ای را دیدم کدهایی که در زیر میبینید را اررو میده
public OdbcType GetOdbcType(int type)
{
switch (type)
{
case 1:
return 22;
case 2:
return 10;
case 3:
return 17;
case 4:
return 5;
}
return 22;
}
public OleDbType GetOleDbType(int type)
{
switch (type)
{
case 1:
return 200;
case 2:
return 3;
case 3:
return 2;
case 4:
return 133;
case 5:
return 134;
}
return 200;
}
سورس برنامه ای را دیدم کدهایی که در زیر میبینید را اررو میده
public OdbcType GetOdbcType(int type)
{
switch (type)
{
case 1:
return 22;
case 2:
return 10;
case 3:
return 17;
case 4:
return 5;
}
return 22;
}
public OleDbType GetOleDbType(int type)
{
switch (type)
{
case 1:
return 200;
case 2:
return 3;
case 3:
return 2;
case 4:
return 133;
case 5:
return 134;
}
return 200;
}