.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

Validate the Grade in gridview in asp.net using C#

Posted By: narasiman     Posted Date: May 26, 2014    Points:5   Category :.NET Framework
Gridview as follows

Studename Grade

select Raj Pass

select Ram Pass

select Suresh Fail

select Sam Pass


in the above gridview i want the gridview in sequence.

if the pass grade is there in gridview in betwee fail grade is there in gridview i want to show the message Fail grade not to be selected.


Regards,
Narasiman P.


Responses
Author: Ashutosh Jha             
Posted Date: May 27, 2014     Points: 20   

Sorry Didn't get you. Could you be please more clear. Mean while if you want to display repetitive data like the details of students, you may use repeater control.

Regards,
Ashutosh Jha
ashutosh741@gmail.com

http://www.tricksroad.com
Author: Pawan Awasthi             
Posted Date: May 31, 2014     Points: 20   

Hai Narsiman,
You can have the grade as the Combo-box or drop-down list inside the GridView.
And then you can have the validation on the selection change event of the Drop-down list to display the message based on the condition you have.
Hope it will be helpful to you.

Regards,
Pawan Awasthi
Pawansoftit@gmail.com
(Whats App)+91 8123489140
(cell No.) +60 143651476


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend