I want to delete a row corresponding to a particular IP address .. I have written this query :
string dlt = @"DELETE [LocationIP], [LocationName],[LocationID],
[NoOfUsers],[MinutesUsed] FROM [LocationInfo] WHERE LocationIP=@ipadd";
SqlCommand cmd = new SqlCommand(dlt, sqlcon_QOEMetrices);
cmd.Parameters.Add("@ipadd", SqlDbType.NChar, 15);
cmd.Parameters["@ipadd"].Value = ipadd;
where ip address is stored in the string variable ipadd This query is not showing any result but even not giving any error...