1 Corinthians 14: 26-39 is teaching about "order and structure of the church". Here are the passages:
26 How is it then, brethren? Whenever you come together, each of you has a psalm, has a teaching, has a tongue, has a revelation, has an interpretation. Let all things be done for edification. 27 If anyone speaks in tongue, let there be two or at the most three, each in turn, and let one interpret. 28 But if there is no interpreter, let him keep silent in the church, and let him speak to himself and to God. 29 Let two or three prophets speak, and let the others judge. But if anything is revealed to another who sits by, let the first keep silent. 31 For you can all prophesy one by one, that all may learn and all may be encouraged. 32 And the spirits of the prophets are subject to the prophets. 33 For God is not the author of confusion but of peace, as in all the churches of the saints. 34 Let your women keep silent in the churches, for they are not permitted to speak; but they are to be submissive, as the laws also says. 35 And if they want to learn something, let them ask their own husbands at home; for it is shameful for women to speak in church. 36 Or did the word of God come originally from you? Or was it you only that it reached? 37 If anyone thinks himself to be a prophet or spiritual, let him acknowledge that the things which I write to you are the commandments of the Lord. 38 But if anyone is ignorant, let him be ignorant. 39 Therefore, brethren, desire earnestlyto prophesy, and do not forbid to speak with tongues. 40 Let all things be done decently and in order.
As you read verses 33-35, it may seem to you that women are never allowed to speak at all in the church. However, 1 Corinthians 11:5 mentions women praying and prophesying and were not condemn for doing it. But every woman who prays or prophesies...
Women were obviously allowed to pray and prophesy (to preach) in the christian assembly because it would have been meaningless for Paul to give instructions for something they were not permitted to do.
What Paul was doing was addressing a particular problem in the Corinthian church, women were being disruptive. The Corinthian church was known for their chaos and lack of order in their assembly. Not with the women but the men as well. As you read the scriptures, he got on the men. Men were not taking the lead as they should have. There was no order, read verse 26. Everyone was doing and saying whatever they wanted to and whenever. Women were being out of line by disruptively asking questions in the chaotic service, taking the lead, and not being submissive. This is not God's ideal way of doing things. It is wrong for women to usurp and exercise authority over men in the church.
In 1 Timothy 2:11-15 when Paul was saying that a woman should learn in silence, he is referring to woman's attitude and manner while learning. Paul was not saying that a woman could
not speak in the local assembly (see 1 Cor. 11:5). He was simply cautioning women to learn with an attitude of all submission and not in an unruly manner. Women can exercise their gifts in the ministry, but as long as it is under the proper leadership of men.
One last point. If 1 Corinthians 11:5 mentions women praying and prophesying and not condemning them for doing it, then 1 Corinthians 14:34 must not be an absolute command for women to always be silent in church.