خرید بک لینک

I have a text like the following:

case "UID":
if (!Convert.IsDBNull(objDataReader["XYZ"]))
{
    objQualitativeAssessmentBiz.XYZ = objDataReader["XYZ"].ToString();
}
break;
case "GeneratedChaseId":
if (!Convert.IsDBNull(objDataReader["XYZ"]))
{
    objQualitativeAssessmentBiz.XYZ = objDataReader["XYZ"].ToString();
}
break;

Now I want to replace each XYZ with the word that comes after the word: case. So the replaced text would look like this:

case "UID":
if (!Convert.IsDBNull(objDataReader["UID"]))
{
    objQualitativeAssessmentBiz.UID = objDataReader["UID"].ToString();
}
break;
case "GeneratedChaseId":
if (!Convert.IsDBNull(objDataReader["GeneratedChaseId"]))
{
    objQualitativeAssessmentBiz.GeneratedChaseId = objDataReader["GeneratedChaseId"].ToString();
}
break;

Is there any suitable editor that can perform this task? If so, then how?

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 9 فروردين 1395 ساعت: 12:22

صفحه بندی