Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the main difference between c and c++?

Answer Posted / hasrs

//Populate Student data according to search criteria
protected void btnSearchStudent_Click(object sender,
EventArgs e)
{
string Minqual;
// btnSearchStudent.Attributes.Add
("OnClick","PopupOnView.aspx?namee="+

ds.Reset();
Minqual = objDAL.getMinQual
(DropDownListCourse.SelectedItem.Text);
ds = objDAL.PopulateStudent(Minqual,
DropDownListCourse.SelectedItem.Value, int.Parse
(txtMinQual.Text), int.Parse(txtMaxQual.Text));

GridView2.DataSource = ds.Tables[0];
GridView2.DataBind();



}
****************************************************


//Method will get Minimum Qualification for applied
course
public String getMinQual(string coursename)
{
conn.Close();
conn.Open();
sqlcmd = new SqlCommand("SP_ADMIN_FUNCTION", conn);
sqlcmd.CommandType = CommandType.StoredProcedure;
sqlcmd.Parameters.AddWithValue
("@CALLTYPE", "GETMIN");
sqlcmd.Parameters.AddWithValue
("@COURSE_NAME",coursename );
//DR = new SqlDataReader();
DR = sqlcmd.ExecuteReader();
if (DR.Read())
return DR.GetString(0).ToString();
else
return null;
}

//Method will filter student and populate it according
to search criteria
public DataSet PopulateStudent(string MinQual,String
COURSEAPP,int min ,int max)
{
conn.Close();
conn.Open();
sqlcmd = new SqlCommand("SP_ADMIN_FUNCTION", conn);
sqlcmd.CommandType = CommandType.StoredProcedure;
sqlcmd.Parameters.AddWithValue
("@CALLTYPE", "POPULATE");
sqlcmd.Parameters.AddWithValue("@SELECTCOURSE",
COURSEAPP);
sqlcmd.Parameters.AddWithValue("@MIN_QUAL",
MinQual);
sqlcmd.Parameters.AddWithValue("@MIN", min);
sqlcmd.Parameters.AddWithValue("@MAX", max);
sqladap = new SqlDataAdapter();
sqladap.SelectCommand = sqlcmd;
sqladap.Fill(dataset);
return dataset;
}

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How is class defined?

1212


What does and I oop and sksksk mean?

1231


What is oops and its features?

1153


Please send ford technologies placement paper 2 my mail id

2151


Why do we use encapsulation in oops?

1089


What is meant by multiple inheritance?

1337


What is overloading in oop?

1050


What is basic concept of oop?

1224


can inline function declare in private part of class?

4500


what's the basic's in dot net

2235


What is constructor in oop?

1176


What does I oop mean?

1129


Which method cannot be overridden?

1174


What is difference between multiple inheritance and multilevel inheritance?

1197


what are the different types of qualifier in java?

2321