How to enter a value in datagridview

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jun 2009
Posts: 4
Reputation: jetjash is an unknown quantity at this point 
Solved Threads: 0
jetjash jetjash is offline Offline
Newbie Poster

How to enter a value in datagridview

 
0
  #1
24 Days Ago
An new to data grid view, I am having column header like ID Date Intime Outtime

When I open the software Data grid view should display the column header – ID, Date, Intime, Outtime and display blank rows then I want to enter the values in Data grid view itself, the entered values automatically saved in the table. Suppose I modified the entered values in Data grid view that values also should change in table.

How to make a code in VB.NET for the above condition?

And also I am entering the Date and Time value in Data grid view, If entered date and time values is wrong, data grid view cell should not allow wrong date and time values.

How to make a code for this condition also.

Need VB.NET code Help
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 2,612
Reputation: adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of adatapost has much to be proud of 
Solved Threads: 463
Moderator
adatapost's Avatar
adatapost adatapost is offline Offline
Posting Maven
 
0
  #2
23 Days Ago
Take a look at MSDN online page - http://msdn.microsoft.com/en-us/library/ms171616.aspx
Failure is not fatal, but failure to change might be. - John Wooden
Reply With Quote Quick reply to this message  
Reply

Tags
vb.net

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC