Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have one datagridview control and one submit button in my form. i have taken four columns in datagridview. what i want is, on click of the submit button first it will check, is there any null or empty column in grid view. if so, then it will show message box "Enter the value" otherwise all the records should be saved in database.
And one more thing records should be saved only a single time if the code is running in the loop.. i will be very thankful of yours if you give me solution....
Posted
Comments
Orcun Iyigun 4-Jan-13 1:51am    
What have you tried?? Show us some code..
madhuri@mumbai 4-Jan-13 2:17am    
Elaborate your question with code,,,what u have tried,,

a) Hi use jquery to check whether column is empty or not
b) Use Bulkupload for insert.
 
Share this answer
 
Comments
Harpreet_125 4-Jan-13 2:07am    
can you please tell me how??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900