Error 4 No overload for method 'isy' takes 4 arguments
Look at the error message.
Then look at your class:
namespace studentdal
{
public class stude
{
public SqlConnection con;
public stude()
{
...
}
public DataView fetch(int stids)
{
...
}
public int isy(proinsert.insert ayo, out string stadre)
{
...
}
}
}
You have one method called
isy
- it takes two parameters, one of them an
out
parameter.
Now look at how you are calling it:
stude oki = new stude();
oki.isy(a,b,name.Text,address.Text);
Four parameters, none of them
out
parameters.
You need to either call the method with just the required two parameters, or write a new method which takes the four you want to give it...