.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 >> VB.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Need to display the field data

Posted By: srini     Posted Date: February 11, 2011    Points:2   Category :VB.Net
Hi,

I am using Is_Active field in my application. That is either true(1) or false(0),datatype is "bit".

In my UI, I am giving true to the User_Gender textbox,its showing checkbox with enabled state in DatagridView,If its false,checkbox with disabled in DGV. Instead of that, I need to display the data in User_Gender textbox.

That is,

True(1)- Male
False(0)-Female

hELP ME!!!!

Responses
Author: Blessy Baby             
Posted Date: February 11, 2011     Points: 5   

hi,

You can do this in databound envent of grid view or set this value in design page using IIF

Blessy Baby
Project Lead
Digitalmesh Softech India (p) Limited
Cochin,Kerala
Author: srini             
Posted Date: February 11, 2011     Points: 5   

Hi blessy,

Thanks for your post. I wanted it on my vb.net code. Please help me out!


Srini


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