1-) Asp.Net - asp:GridView türkçe karakter sorunu
asp:GridView türkçe karakter sorunu
1-)json dan okuyorsan ilk olarak aşşağıdaki gibi yap
WebClient c = new WebClient();
c.Encoding = Encoding.UTF8;
2-)HttpUtility.HtmlDecode(row.Cells[2].Text); şeklinde düzelt
protected void grid_personel_SelectedIndexChanged(object sender, EventArgs e)
{
int selectedRowIndex = grid_personel.SelectedIndex;
GridViewRow row = grid_personel.Rows[selectedRowIndex];
txt_ad.Text = HttpUtility.HtmlDecode(row.Cells[1].Text);
txt_soyad.Text = HttpUtility.HtmlDecode(row.Cells[2].Text);
txt_eposta.Text = HttpUtility.HtmlDecode(row.Cells[3].Text);
txt_tarih.Text = HttpUtility.HtmlDecode(row.Cells[4].Text);
}
3-)default.aspx varsayılanı değiştirmek istiyorsan web.config aşşağıdaki gibi yap
<system.webServer>
<defaultDocument enabled="true">
<files>
<clear/>
<add value="giris.aspx"/>
<add value="anasayfa.aspx"/>
</files>
</defaultDocument>
</system.webServer>