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

What is the point of polymorphism?

1039


Can destructor be overloaded?

1042


What is purpose of inheritance?

1118


What is the oops and benefits of oops programming?

976


write a program that takes input in digits and display the result in words from 1 to 1000

2438


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

1341


What is constructor overloading in oop?

1145


How can you overcome the diamond problem in inheritance?

1184


How does polymorphism work?

1149


Why interface is used?

1028


What is difference between pop and oop?

1176


write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

2161


What does and I oop mean in text?

1235


What is ambiguity in inheritance?

1125


What is basic concept of oop?

1177