<input name="title" value="dskjgsdkghsdjkg" type="hidden">
<input name="category" value="" type="hidden">
<input name="_crumb" value="PrPOqChKCUK" type="hidden" />
<input type="submit" />
</tr>可以向yahoo提问
xxoo的我发送的字节为 string strHtml = Page.Post("http://ks.cn.yahoo.com/question/act", "title=" + tmp + "&category=&_crumb=PrPOqChKCUK", cc, string.Empty);
不用考虑中文的问题目前我正在用english测试。。 private string GetUTF8Chars(string strValues)
{
return System.Text.Encoding.GetEncoding(936).GetString(System.Text.Encoding.UTF8.GetBytes(strValues));
}当我发送的时候老发送不OK.............
<input name="category" value="" type="hidden">
<input name="_crumb" value="PrPOqChKCUK" type="hidden" />
<input type="submit" />
</tr>可以向yahoo提问
xxoo的我发送的字节为 string strHtml = Page.Post("http://ks.cn.yahoo.com/question/act", "title=" + tmp + "&category=&_crumb=PrPOqChKCUK", cc, string.Empty);
不用考虑中文的问题目前我正在用english测试。。 private string GetUTF8Chars(string strValues)
{
return System.Text.Encoding.GetEncoding(936).GetString(System.Text.Encoding.UTF8.GetBytes(strValues));
}当我发送的时候老发送不OK.............
解决方案 »
- C#问题
- 皮肤dll文件引用,该如何引用呢
- 求关机、重启、注销代码
- 有关于WebService的问题......Help
- 再问C#中treeview的问题
- System.Net.Mail发邮件,使用QQ邮箱出现“身份难证失败”的错误
- 如何对dataset.table[0]中的各行按某一列值的大小排序??
- Bitmap b = new Bitmap(width / 2, height);如何将b变成图片并且保存到当前项目里面的debug文件夹里面
- DevExpress的下拉列表框的问题
- c#如何使用打印功能把和数据库绑定的一堆textBox控件中的内容打印出来?
- c# image 暂存到Dataset中, 给个思路
- 为什么winpcap列出来的ppp网卡 无法用PcapOpen打开
private string GetUTF8Chars(string strValues)
{
return System.Text.Encoding.GetEncoding(936).GetString(System.Text.Encoding.UTF8.GetBytes(strValues));
}
知道毛病在哪儿吗?