hi , here is one basic qution plz ans this
i have one class file call add.cs
here is a strcute of same
.
.
using System.Data.SqlClient;
namespace You
{
public staic class Me
{
string hi ;
SqlCommand cmd = new SqlCommand();
cmd = Med.getConnection.con;
//Invalid token '=' in class, struct, or interface member declaration
HttpContext.Current.Session["Coupon"] = "asd";
//Array size cannot be specified in a variable declaration (try initializing with a 'new' expression)
public void Add(int id, string User)
{
//some work
}
public void remove(int id, string User)
{
//some work
}
public void update(int id, string User)
{
//some work
}
}
}
now in this previously my code "cmd = Med.getConnection.con; ...
Go to the complete details ...