http://tech.enet.com.cn/document/20020424/20020424092630012.shtml
解决方案 »
- 操作Web.cofig的问题
- Cookie开发后,在本地登陆一切正常,然而传到服务器就出现CookIE对象里的KEY没有建立,连NULL都不是。晕了,有代码!请高手帮忙!
- 单元测试
- GridView中的BoundField无法格式化
- 谁有.Net开源的内容管理系统(CMS)
- DropDownList数据绑定
- 问个问题,急
- 如何给变量循环附值
- 在Vs.net中建立单文件的WebForm(不含.vb/.cs),在HTML视图下编写代码无法语法高亮和自动完成。。。
- 服务器IIS asp 属性样式解析失败 并丢失
- asp.net c# 与 javascrip 如何互传数据?
- 如何用asp.net修改浏览器标题?
Bitmap imgOutput=new Bitmap(120, 30, PixelFormat.Format24bppRgb);
Graphics g = Graphics.FromImage(imgOutput);
g.Clear(Color.Green);
g.SmoothingMode = SmoothingMode.AntiAlias;g.DrawString("看见了吗?", new Font("黑体",16,FontStyle.Bold),new SolidBrush(Color.White),new PointF(2,4));
g.FillRectangle(new LinearGradientBrush(new Point(0,0), new Point(120,30), Color.FromArgb(0,0,0,0),
Color.FromArgb(255,255,255,255)),0,0,120,30);
imgOutput.Save(Response.OutputStream, ImageFormat.Jpeg);
g.Dispose();
imgOutput.Dispose();