JS提示框。。。 急需各位大虾帮助 一个网页我全用Html控件 然后form表单提交 为什么设置的JS提示框都不显示呢 我该怎么修改呢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 哦 string art_name = Request.Form["T_name"]; string art_descript = Request.Form["T_descript"]; string art_type = Request.Form["Select_type"]; string art_size = Request.Form["T_size"]; string art_material = Request.Form["T_material"]; string art_author = Request.Form["Select_author"]; string art_date = Request.Form["T_date"]; string art_pic = HttpContext.Current.Request.Files[0].FileName; string art_code = string.Format("G{0}", DateTime.Now.ToString("yyyyMMddhhmmss")); Gallery.BoothReservation BR = new BoothReservation(); ArtInfo ai = new ArtInfo(); ai.Art_name = art_name; ai.Art_description = art_descript; ai.Art_type = art_type; ai.Art_size = art_size; ai.Art_material = art_material; ai.Art_authorName = art_author; ai.Art_createDate = art_date; ai.Art_imgUrl = Path.GetFileName(art_pic); ai.Art_Code = art_code; bool isOK = BR.InsertArt(ai, 0); if (isOK) { Lterror.Text = webUtility.alert("添加国画成功"); }内容加到数据库了 但是就是不弹出框提示 public static string alert(string strText) { return "<script>alert('" + strText + "')</script>"; }只是alert方法 如何调用FindWindow API获取主窗体 SqlDataReader 提示未定义构造函数? 怎样生成1到9999的随即数,但1~999要有0补上 请问将图片转换成字符串如何实现? 我有一个项目,打算用c/s做。通常的客户端是通过web服务器获取数据库服务器的内容呢?还是客户端直接访问服务器获取数据? 求书 请问用C#编写一个类似Editplus滴文本编译器 关键字高亮显示如何在richtextbox中显示出来额?? 请教static datatable的问题在线等 在C#怎么实现文件复制命令? D3D and C# 高手求教 这找错 读取指纹。
string art_name = Request.Form["T_name"];
string art_descript = Request.Form["T_descript"];
string art_type = Request.Form["Select_type"];
string art_size = Request.Form["T_size"];
string art_material = Request.Form["T_material"];
string art_author = Request.Form["Select_author"];
string art_date = Request.Form["T_date"];
string art_pic = HttpContext.Current.Request.Files[0].FileName;
string art_code = string.Format("G{0}", DateTime.Now.ToString("yyyyMMddhhmmss")); Gallery.BoothReservation BR = new BoothReservation();
ArtInfo ai = new ArtInfo();
ai.Art_name = art_name;
ai.Art_description = art_descript;
ai.Art_type = art_type;
ai.Art_size = art_size;
ai.Art_material = art_material;
ai.Art_authorName = art_author;
ai.Art_createDate = art_date;
ai.Art_imgUrl = Path.GetFileName(art_pic);
ai.Art_Code = art_code;
bool isOK = BR.InsertArt(ai, 0);
if (isOK)
{
Lterror.Text = webUtility.alert("添加国画成功");
}内容加到数据库了 但是就是不弹出框提示
{
return "<script>alert('" + strText + "')</script>";
}
只是alert方法