[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

09/09/2008 at 10:50AM PDT, ID: 23716509
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.2

Converting a asp form to asp.net

Asked by tbonehwd in Programming for ASP.NET, .NET Framework 2.x

Tags: ASP.NET, www.hcibooks.com/t-Permissions.aspx

How hard would it be to convert the following asp page to asp.net? Could some please point in the right direction.
Thanks,
Terry
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
<%
if request.form("Submit4") = "Submit Form"  then
	sName = request.form("Name")
	sEmail = request.form("Email")
	sAddress1 = request.form("Address1")
	sAddress2 = request.form("Address2")
	sPhone = request.form("Phone")
	sCity = request.form("City")
	sFax = request.form("Fax")
	sState = request.form("State")
	sZip = request.form("Zipcode")
	sPoemTitle = request.form("PoemTitle")
	sBookTitle = request.form("BookTitle")
	sAuthor = request.form("Author")
	
	sTitleofWork = request.form("TitleofWork")
	sPrice = request.form("Price")
	sTypeofWork = request.form("TypeofWork")
	sBinding = request.form("Binding")
	sInclusionAuthor = request.form("InclusionAuthor")
	sPubDate = request.form("PubDate")
	sPublisher = request.form("Publisher")
	sPrintRun = request.form("PrintRun")
	sRights = request.form("Rights")
	
	
	sTypeofShow = request.form("TypeofShow")
	sCallLetters = request.form("CallLetters")
	sTypeofBroadcast = request.form("TypeofBroadcast")
	sWebAddress = request.form("WebAddress")
	sNameofHost = request.form("NameofHost")
	sBroadcastDate = request.form("BroadcastDate")
	sCompany = request.form("Company")
 
	sNumberToCopy = request.form("NumberToCopy")
	sInstructor = request.form("Instructor")
	sNumberofPackets = request.form("NumberofPackets")
	sTermStart = request.form("TermStart")
	sSchool = request.form("School")
	sCourseNumber = request.form("CourseNumber")
	
	sOtherRequest = request.form("OtherRequest")
 
 
		sBody = "The following information was submitted on: " & Now & vbcrlf & vbcrlf & _
					"Name: " & sName & vbcrlf & _
					"Email: " & sEmail & vbcrlf & _
					"Address: " & sAddress1 & vbcrlf & _
					"Address2: " & sAddress2 & vbcrlf & _
					"Phone: " & sPhone & vbcrlf & _
					"City: " & sCity & vbcrlf & _
					"Fax: " & sFax & vbcrlf & _
					"State: " & sState & vbcrlf & _
					"Zip: " & sZip & vbcrlf & _
					"Title of story selected: " & sPoemTitle & vbcrlf & _
					"Title of book(s) from which story is selected: " & sBookTitle & vbcrlf & _
					"Author: " & sAuthor & vbcrlf & _
					"Title of Work: " & sTitleofWork & vbcrlf & _
					"Price: " & sPrice & vbcrlf & _
					
					"Type of Work: (e.g., anthology): " & sTypeofWork & vbcrlf & _
					"Binding: " & sBinding & vbcrlf & _
					"Author / Editor: " & sInclusionAuthor & vbcrlf & _
					"Publication Date: " & sPubDate & vbcrlf & _
					"Publisher: " & sPublisher & vbcrlf & _
					"Print Run: " & sPrintRun & vbcrlf & _
					"Rights: (e.g., North American, World, etc.): " & sRights & vbcrlf & _
					"Type of Show: " & sTypeofShow & vbcrlf & _
					"Call Letters: " & sCallLetters & vbcrlf & _
					"Type of Broadcast: " & sTypeofBroadcast & vbcrlf & _
					"Web Address: " & sWebAddress & vbcrlf & _
					"Name of Host: " & sNameofHost & vbcrlf & _
					"Broadcast Date: " & sBroadcastDate & vbcrlf & _
					"Company: " & sCompany & vbcrlf & _
					
					"Number of pages to be photocopied: " & sNumberToCopy & vbcrlf & _
					"Instructor: " & sInstructor & vbcrlf & _
					"Number of packets to be printed: " & sNumberofPackets & vbcrlf & _
					"Start of Term: " & sTermStart & vbcrlf & _
					"College or University: " & sSchool & vbcrlf & _
					"Course Number: " & sCourseNumber & vbcrlf & _
					
					"Other Request: " & sOtherRequest & vbcrlf
		
		Set Mail = Server.CreateObject("Persits.MailSender")
		Mail.Host = "135.11.12.15"
		Mail.From = "customerservice@hcibooks.com"
		Mail.FromName = "HCIBooks.com"
		Mail.AddAddress "terryy@hcibooks.com"
		'Mail.AddAddress "permissions@hcibooks.com"
		'Mail.AddCC "hci@permissionscompany.com"
		'Mail.AddCC "hci@hcibooks.com"
		'Mail.AddBCC "ben@activeinternet.com"
		Mail.Subject = "HCI Permissions"
		Mail.Body = sBody
		Mail.Send
		Set Mail = Nothing
		
		sMsg = "Your request has been submitted."
	else
	sMsg = ""
end if
%>
 
 
  <form name="form2" method="post" action="<%= Request.ServerVariables("SCRIPT_NAME") %>">
    <table width="530" border="0" cellspacing="0" cellpadding="2" class="sidebox">
	<tr>
		<td><strong><font color="#FF0000"><%= sMsg %></font></strong></td>
	</tr>
      <tr> 
        <td height="358" colspan="2" class="header">
<div align="center"><strong>Permissions</strong> 
          </div>
          <p> Thank you for your interest in using work published by Health Communications, 
            Inc. To protect copyright and to ensure that our authors are paid 
            for re-publication and dissemination of their work, we require a Permissions 
            Contract to stipulate and validate the terms and conditions of use. 
            Charges vary depending upon usage.<br>
            We receive requests to print stories and excerpts in many different 
            media.</p>
          <p> We encourage certain personal uses&#8212;such as emailing a story 
            to a family member or friend&#8212;that do not require specific permission. 
            We do require that such use be appropriately acknowledged. The following 
            credit line must be included with the story or excerpt:</p>
          <blockquote>
            <p> &quot;Title of Story&quot; from &quot;Title of Book,&quot; copyright 
              &quot;Date&quot; by &quot;Author's Name,&quot; HCI, The Life Issues 
              Publisher, www.hcibooks.com. </p>
          </blockquote>
          <p> If you have any questions as to whether your proposed use of Health 
            Communications, Inc.'s material is subject to existing copyright restrictions, 
            please contact us.</p>
          </td>
      </tr>
      <tr> 
        <td height="31" colspan="2" class="header"> <p align="center"><strong>Contract 
            for Permissions </strong> </p></td>
      </tr>
      <tr> 
        <td class="header">Your Contact Information</td>
        <td width="269">&nbsp;</td>
      </tr>
      <tr> 
        <td width="253"> Name:<br> <input name="Name" type="text" size="50"> </td>
        <td width="269"> Email:<br> <input name="Email" type="text" size="40"> 
        </td>
      </tr>
      <tr> 
        <td width="253"> Address:<br> <input name="Address1" type="text" size="50"> 
          <br> <input name="Address2" type="text" size="50"> </td>
        <td width="269"> Phone:<br> <input type="text" name="Phone"> </td>
      </tr>
      <tr> 
        <td width="253"> City:<br> <input name="City" type="text" size="50"> </td>
        <td width="269"> Fax:<br> <input type="text" name="Fax"> </td>
      </tr>
      <tr> 
        <td width="253"> State:<br> <input type="text" name="State"> </td>
        <td width="269">Zip:<br> <input name="Zipcode" type="text" size="10"></td>
      </tr>
      <tr> 
        <td colspan="2"> <hr noshade size="1"> </td>
      </tr>
      <tr> 
        <td colspan="2"> Title of story selected:<br> <input type="text" name="PoemTitle" size="90"> 
        </td>
      </tr>
      <tr> 
        <td colspan="2"> Title of book(s) from which story is selected: <br> <input type="text" name="BookTitle" size="90"> 
        </td>
      </tr>
      <tr> 
        <td colspan="2"> Author:<br> <input type="text" name="Author" size="50"> 
        </td>
      </tr>
      <tr> 
        <td colspan="2"> <hr noshade size="1"> </td>
      </tr>
      <tr> 
        <td colspan="2" class="sideboxhead">If this request is for inclusion in 
          book form, please fill out the following information:</td>
      </tr>
      <tr> 
        <td width="253"> Title of Work:<br> <input name="TitleofWork" type="text" size="40"> 
        </td>
        <td width="269"> Price:<br> <input type="text" name="Price"> </td>
      </tr>
      <tr> 
        <td width="253"> Type of Work: (e.g., anthology)<br> <input name="TypeofWork" type="text" size="40"> 
        </td>
        <td width="269"> Binding:<br> <input type="text" name="Binding"> </td>
      </tr>
      <tr> 
        <td width="253"> Author / Editor:<br> <input name="InclusionAuthor" type="text" size="40"> 
        </td>
        <td width="269"> Publication Date:<br> <input type="text" name="PubDate"> 
        </td>
      </tr>
      <tr> 
        <td width="253"> Publisher:<br> <input name="Publisher" type="text" size="40"> 
          <br> <span class="caption">If you are without a publisher at this point, 
          please re-apply for permission when the publisher of your manuscript 
          has been named. </span> </td>
        <td width="269" valign="top"> Print Run:<br> <input type="text" name="PrintRun"> 
          <br>
          Rights: (e.g., North American, World, etc.)<br> <input type="text" name="Rights"> 
        </td>
      </tr>
 
      <tr> 
        <td colspan="2"> <hr noshade size="1"> </td>
      </tr>
      <tr> 
        <td colspan="2" class="sideboxhead">If this request is for broadcast or 
          website posting please fill out the following relevant information:</td>
      </tr>
      <tr> 
        <td width="253"> Type of Show:<br> <input name="TypeofShow" type="text" size="40"> 
        </td>
        <td width="269"> Call Letters:<br> <input name="CallLetters" type="text" size="40"> 
        </td>
      </tr>
      <tr> 
        <td width="253"> Type of Broadcast:<br> <input name="TypeofBroadcast" type="text" size="40"> 
        </td>
        <td width="269"> Web Address:<br> <input name="WebAddress" type="text" size="40"> 
        </td>
      </tr>
      <tr> 
        <td width="253"> Name of Host:<br> <input name="NameofHost" type="text" size="40"> 
        </td>
        <td width="269"> Broadcast Date:<br> <input type="text" name="BroadcastDate"> 
        </td>
      </tr>
      <tr> 
        <td width="253" height="40"> Company:<br> <input name="Company" type="text" size="40"> 
        </td>
        <td width="269" height="40">&nbsp;</td>
      </tr>
 
      <tr> 
        <td colspan="2"> <hr noshade size="1"> </td>
      </tr>
      <tr> 
        <td colspan="2" class="sideboxhead">If this request is for a student packet, 
          please fill out the following information:</td>
      </tr>
      <tr> 
        <td> Number of pages to be photocopied:<br> <input type="text" name="NumberToCopy"> 
        </td>
        <td> Instructor:<br> <input name="Instructor" type="text" size="40"> </td>
      </tr>
      <tr> 
        <td> Number of packets to be printed:<br> <input type="text" name="NumberofPackets"> 
        </td>
        <td> Start of Term:<br> <input type="text" name="TermStart"> </td>
      </tr>
      <tr> 
        <td> College or University:<br> <input name="School" type="text" size="40"> 
        </td>
        <td> Course Number:<br> <input type="text" name="CourseNumber"> </td>
      </tr>
 
      <tr> 
        <td colspan="2"> <hr noshade size="1"> </td>
      </tr>
      <tr> 
        <td colspan="2" class="sideboxhead">For other kinds of permission requests, 
          or to provide more details about the<br>
          information submitted above, please enter the information below:</td>
      </tr>
      <tr> 
        <td colspan="2"> <textarea name="OtherRequest" cols="65" rows="10"></textarea> 
        </td>
      </tr>
      <tr> 
        <td> <input type="submit" name="Submit4" value="Submit Form" class="body"> 
        </td>
        <td>&nbsp;</td>
      </tr>
      <tr> 
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table>
</FORM>
[+][-]09/09/08 10:58 AM, ID: 22430311

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/09/08 11:20 AM, ID: 22430495

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/09/08 11:22 AM, ID: 22430519

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Programming for ASP.NET, .NET Framework 2.x
Sign Up Now!
Solution Provided By: TechTiger007
Participating Experts: 2
Solution Grade: B
 
 
 
Loading Advertisement...
20090824-EE-VQP-74 / EE_QW_2_20070628