i use the properites IsIdentity in my sql server table, when i use the datagridview its show a negative value , my question is how to set the value to positive value ???

IsIdentity =true? And identity seed=1? Then if you have any records in table it will be not be -Ve

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.