请帮帮我 [英] help me please for this

查看:93
本文介绍了请帮帮我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我的代码。并且'Go_to_Display的错误包含无效参数。请回答我

Here Is my Code. And error of ' Go_to_Display has invalid arguments. please answer me please

SqlDataReader rs = command.ExecuteReader();
        rs.Read();

        Go_to_Display(rs[0]);

        conn.Close();
        rs = null;
        command = null;
        conn = null;

推荐答案

正如你今天所说的,你的 rs 不包含字符串:所以你需要将值转换为你的方法所期望的任何类型。



请试着想一想你在做什么,你在其他答案中已经告诉过你:你有成为帮助吸血鬼的危险,他不会试图解决自己的问题......
As you have been told before today, your rs does not contain strings: so you need to convert the value to whatever type your method expects.

Please try to think about what you are doing, and what you have already been told in other answers: you are in danger of becoming a "Help Vampire" who doesn't try to solve his own problems...


这篇关于请帮帮我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆