if (!string.IsNullOrEmpty(max))
{
insertsql = insertsql + (";insert into Weather ([CityCode],[MaxTemperature],[MinTemperature],[Weather],[WindDirection],[Date],[CityID]) VALUES ('" + city1code + "','" + max + "','" + min + "','" + weather + "','" + wind + "','" + date + "', " + cityid + " )";
";insert into [DateLog] ([CityID],[Status] ,[UpdateTime],[DateKey]) VALUES ("+ cityid + ",S ,getdate(),getdate() )";)
}
两个insert 能不能连起来?