mjs301 Posted August 13, 2003 Posted August 13, 2003 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(); Quote
mjs301 Posted August 13, 2003 Author Posted August 13, 2003 hahaaaaaaaaa - it looks that way doesn't it? oh well - my fault. i meant to tell the person i knew c++ but he read it as c#. This is c# right? can you at least answer that?!?! Quote
mjs301 Posted August 13, 2003 Author Posted August 13, 2003 thanks Mutant Forum Leader. I will go hit the books. Hey do you guys at least help with homework??? jk. byeeeee Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.