Database column
-
My database table has got 5 fields and through my C#.Net code I'm adding the 6th field (using dataset and .WriteXmlSchema() )...........but it works fine for the first time............aftr tht since the DataSet schema has already been updated with the 6th column, it throws an error "6th Field already exists in database table"............ so i just want to do something like this :
if (check whther Access Database Column is already present for the ABC Table) // if YES
{
do {nothing}
}
else
{
do {add the 6th column - for which i already have the code}
} -
My database table has got 5 fields and through my C#.Net code I'm adding the 6th field (using dataset and .WriteXmlSchema() )...........but it works fine for the first time............aftr tht since the DataSet schema has already been updated with the 6th column, it throws an error "6th Field already exists in database table"............ so i just want to do something like this :
if (check whther Access Database Column is already present for the ABC Table) // if YES
{
do {nothing}
}
else
{
do {add the 6th column - for which i already have the code}
}