请高手把asp这段方法翻译成C#方法
<%
function getCommentHTML(byval FlowID,byval RecotdNO)
dim rs,FirstStep,flag
set rs = server.CreateObject("adodb.recordset")
set rs10 = server.CreateObject("adodb.recordset")
set Rs_Step = server.CreateObject("adodb.recordset")
if RecotdNO = "" or RecotdNO = 0 or cstr(RecotdNO) = "-1" or FlowID="" then
exit function
end if
CommentHTML = " <fieldset> <legend>意见列表 </legend> <table width='98%' border=1 align=center cellpadding='0' cellspacing='0' bordercolor='#7f99cc' bordercolordark='#ffffff' >"
Rs_Step.open "select * from FlowStep where flow_id="&flowid&" and stepcommenttype=1 "&_
"and step_id in (SELECT distinct step_id from FLOW_BOM WHERE (FLOW_ID = "&flowid&")) order by Step_id",conn,3,1
do while not Rs_Step.eof
rs.open "select FlowPrecess.*,FlowStep.step_disc,userinfo.name,userinfo.mem_id as mem_id from FlowPrecess,FlowStep,userinfo where "&_"(SEND_DATE IS NOT NULL and back=0) and FlowPrecess.FLOW_ID = " & FlowID & " and FlowPrecess.RECODE_NO = " & RecotdNO & " "&_
"and FlowPrecess.step_id="&Rs_Step("step_id")&" and FlowPrecess.step_id = FlowStep.
相关问答:
http://www.zgjhjy.com/Test/PrimaryTest/Index.aspx
就是类似以上的在线测试系统,需要有一个后台的,语言是asp的,数据库是access的,还需要能在后台对信息进行添删改查的。谢谢各位了。。。
程序真的很多,不知 ......
前段时间碰到一道面试题如下:
test.aspx页面有如下代码:
Response.Write(Test.GetDate());
Test类如下:
public class Test
{
static string dt="";
public static s ......
我主要想控制下word保存的地址,但是编译不过去,总觉得是缺了using。。。
谢谢
代码如下:
using System;
using System.IO;
using System.Collections;
using System.ComponentModel;
using System.Data;
u ......
最近在做个网上商城,购物车模块,没有做过,麻烦各位帮忙说下大致说下思路,能发一份源码更好。小弟先谢过各位了;
QQ:413763818;
eamil:swebook@126.com
网上一大堆!
www.51aspx.com
去下 ......