毕业论文论文范文课程设计实践报告法律论文英语论文教学论文医学论文农学论文艺术论文行政论文管理论文计算机安全
您现在的位置: 毕业论文 >> 论文 >> 正文

ASP+SQL SERVER2000电子商城系统 第25页

更新时间:2007-10-19:  来源:毕业论文

myCommand.CommandType = CommandType.StoredProcedure;
           
            // Execute the command
            myConnection.Open();
            SqlDataReader result = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
           
            // Return the datareader
            return result;
           
       
        }
 
        public SqlDataReader Category_BName_List(String AName)
        {
       
       
            // Create Instance of Connection and Command Object
            SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ESMS"]);
            SqlCommand myCommand = new SqlCommand("Category_BName_List", myConnection);
 
            // Mark the Command as a SPROC
            myCommand.CommandType = CommandType.StoredProcedure;
 
            // Add Parameters to SPROC
 
            SqlParameter parameterAName = new SqlParameter("@AName", SqlDbType.VarChar ,30);
            parameterAName.Value = AName;
            myCommand.Parameters.Add(parameterAName);
           
            // Execute the command
            myConnection.Open();
            SqlDataReader result = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
           
            // Return the datareader
            return result;
           
       
        }
 
 
        public SqlDataReader Category_Name_List(String BName,String AName)
        {
       
       
            // Create Instance of Connection and Command Object
            SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ESMS"]);
            SqlCommand myCommand = new SqlCommand("Category_Name_List", myConnection);
 
            // Mark the Command as a SPROC
            myCommand.CommandType = CommandType.StoredProcedure;
 
            // Add Parameters to SPROC
 
            SqlParameter parameterBName = new SqlParameter("@BName", SqlDbType.VarChar ,30);
            parameterBName.Value = BName;
            myCommand.Parameters.Add(parameterBName);
 
            SqlParameter parameterAName = new SqlParameter("@AName", SqlDbType.VarChar ,30);
            parameterAName.Value = AName;
            myCommand.Parameters.Add(parameterAName);
           
            // Execute the command
            myConnection.Open();
            SqlDataReader result = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
           
            // Return the datareader
            return result;
           
       
        }
 
 
        public SqlDataReader Products_AName_List(String AName)
        {
       
       
            // Create Instance of Connection and Command Object
            SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ESMS"]);
            SqlCommand myCommand = new SqlCommand("Products_AName_List", myConnection);
 
            // Mark the Command as a SPROC
            myCommand.CommandType = CommandType.StoredProcedure;
 
            // Add Parameters to SPROC
 
            SqlParameter parameterAName = new SqlParameter("@AName", SqlDbType.VarChar ,30);
            parameterAName.Value = AName;
            myCommand.Parameters.Add(parameterAName);
           
            // Execute the command
            myConnection.Open();
            SqlDataReader result = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
           
            // Return the datareader
            return result;
           
       
        }
 
        public SqlDataReader Products_BName_List(String BName)
        {
       
       
            // Create Instance of Connection and Command Object
            SqlConnection myConnection = new SqlConnection(ConfigurationSettings.AppSettings["ESMS"]);
            SqlCommand myCommand = new SqlCommand("Products_BName_List", myConnection);
 
            // Mark the Command as a SPROC
            myCommand.CommandType = CommandType.StoredProcedure;
 
            // Add Parameters to SPROC
 
            SqlParameter parameterBName = new SqlParameter("@BName", SqlDbType.VarChar ,30);
            parameterBName.Value = BName;
            myCommand.Parameters.Add(parameterBName);

 << 上一页  [21] [22] [23] [24] [25] [26] [27] [28] [29] [30]  ... 下一页  >> 

ASP+SQL SERVER2000电子商城系统 第25页下载如图片无法显示或论文不完整,请联系qq752018766
设为首页 | 联系站长 | 友情链接 | 网站地图 |

copyright©751com.cn 辣文论文网 严禁转载
如果本毕业论文网损害了您的利益或者侵犯了您的权利,请及时联系,我们一定会及时改正。