StringBuilder overrides the ToString() method to return a string, so you would return
sb.ToString();
There are some areas that your code could be tightened up though; just like this:
StringBuilder sb = new StringBuilder();
while (rdr.Read())
{
sb.AppendFormat("{0}\n", rdr["fnid-int"]);
}