Hi someone sent me this, what is it?
string strDataSource="";
strDataSource +=
System.Configuration.ConfigurationSettings.AppSett
ings["DSN"];
SqlConnection
sddbConnection = new SqlConnection(strDataSource);
sddbConnection.Open();
// string strCategoryInfo
= "";
string strSqlCategoryInfo
= "select * from tblcategory where id = 1";
SqlCommand myCommandClone
= new SqlCommand(strSqlCategoryInfo,
sddbConnection);
SqlDataReader
drCategoryInfo = myCommandClone.ExecuteReader();
while (drCategoryInfo.Read
() == true)
{
strCodebehind +=
drCategoryInfo["categoryurl"] + ".cs" ;
strInherits +=
strNamespace + "." +drCategoryInfo["inherits"];
}
MariaMessage.Close();
string strDataSource="";
strDataSource +=
System.Configuration.ConfigurationSettings.AppSett
ings["DSN"];
SqlConnection
sddbConnection = new SqlConnection(strDataSource);
sddbConnection.Open();
// string strCategoryInfo
= "";
string strSqlCategoryInfo
= "select * from tblcategory where id = 1";
SqlCommand myCommandClone
= new SqlCommand(strSqlCategoryInfo,
sddbConnection);
SqlDataReader
drCategoryInfo = myCommandClone.ExecuteReader();
while (drCategoryInfo.Read
() == true)
{
strCodebehind +=
drCategoryInfo["categoryurl"] + ".cs" ;
strInherits +=
strNamespace + "." +drCategoryInfo["inherits"];
}
MariaMessage.Close();