Hi,
I am new in c#.I am doing billing project i have one form for billing it works well. But my doubt is when i click save button i got an exception Data type mismatch in criteria expression. But one thing all text box are fill it saved successfully. When some fields are empty i got the above exception please help me.....
Thanks in advance....
Loading

Deepak Kumar ChoudharyRank #4,523 · 339 reputationPosted Mar 8, 2014, 12:16 AM EST
1.String should be within single Quotes.
2.Numeric values should not be within Quotes
The only reason this error occurs is on inserting wrong datatype to the field. Please check if the description (Datatype) about your field is mentioned correctly. And please specify what value you are supplying that gives this error.
Abhay ShankerRank #375 · 6.7K reputationPosted Mar 8, 2014, 3:47 PM EST
Cross check below points
Biswa Pujarini MohapatraRank #465 · 5.4K reputationPosted Mar 8, 2014, 4:25 PM EST
leathu raj72 reputationPosted Mar 10, 2014, 10:43 PM EDT
leathu raj72 reputationPosted Mar 10, 2014, 10:45 PM EDT
now it runs correctly
leathu raj72 reputationPosted Mar 10, 2014, 10:46 PM EDT