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

using wizard

Posted By: shahin     Posted Date: January 09, 2010    Points:2   Category :ASP.Net
how to retrive only date in grid using wizard ?
now getting(1/20/2010 12:00:00 AM)
i know i hav to use convert.todatetime () but how using wizard?

how to bind dropdwn (ddlcountry)(Ddlstate)from databse in detail view using wizard?

thkx
meera

Responses
Author: Narayanan             
Posted Date: January 03, 2012     Points: 20   

Hi,
I hope this may be useful to you.
string dtenoe ="01/27/2012 12:00:00 AM";
string[] SplitDate = dtenoe.Split (' ');
MessageBox.Show(SplitDate[0]);

string inputvalue = dataGridView1.CurrentRow.Cells[0].Value.ToString();
string[] SplitDate = inputvalue.Split(' ');
dataGridView1.CurrentRow.Cells[1].Value = SplitDate[0];


Regards, Lakshmi Naraayanan.S
http://dotnettechrocks.blogspot.in/


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