|
|
|
Visual C# 2010 กับ SQL Server 2008 select ข้อมูลมาแล้วเช็คยังไงครับ |
|
|
|
|
|
|
|
Code (C#)
if (ds.Tables["USER_USE"].Rows[0].ItemArray[3].ToString()=="0")
{
}
elseif (ds.Tables["USER_USE"].Rows[0].ItemArray[3].ToString()=="1")
{
}
elseif (ds.Tables["USER_USE"].Rows[0].ItemArray[3].ToString()=="2")
{
}
|
|
|
|
|
Date :
2012-03-29 08:55:05 |
By :
sodamax |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
da.Table(0).Rows.Count > 0
|
|
|
|
|
Date :
2012-03-29 20:59:52 |
By :
webmaster |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 05
|