Hot to get current SharePoint site URL in Visual WebPart using C#?, I need to replace this URL with the current SharePoint Site URL? How I can do that?
using(SPSite oSite = new SPSite("http://test:1512")) {  
                using(SPWeb oWeb = oSite.RootWeb)   
                {  
                    SPList oList = oWeb.Lists["Employee"];  
                    SPListItem oSPListItem = oList.Items.Add();  
                    oSPListItem["EmployeID"] = txtEmployeeId.Text;  
                    oSPListItem["City"] = txtCity.Text;  
                    oSPListItem.Update();  
                }  
            }