Posted on: 1/3/2014 9:58:35 PM | Views : 610

How can I rewrite the code below in C# where I can set multiple tables: The goal is to simply my codes with multiple tables in one method....     public DataTable get_DataTables(int xID)         {             //Start             string connectionString = ConnectionString.getConnection().ToString();             SqlConnection con = new SqlConnection(connectionString);             SqlCommand cmd = new SqlCommand("DATAAPPROVE", con);             cmd.CommandType = CommandType.StoredProcedure;       ...

Go to the complete details ...