为什么C#中有时候使用SqlDbType 而有时不用呢?可能描述的不清楚
new SqlParameter("@pTypeId", SqlDbType.Int) { Value = cbbGroup.SelectedValue },
new SqlParameter("@pName", SqlDbType.NVarChar) { Value = txtName.Text },
new SqlParameter("@pCellPhone", txtPhone.Text),
new SqlParameter("@pHomePhone", txtTel.Text),
new SqlParameter("@pid", tid)
看代码,前连个使用了 SqlDbType 而后两个没用,求大神解释