Nikki

Nikki

  • NA
  • 103
  • 3.2k

C# to Vb.Net Code conversion

Aug 30 2018 4:34 AM
I have code following :
 
string strSQL = "select top 10 * FROM tbNews order by newsid desc";
DataTable dt = new DataTable();
dt = objDataAccess.GetDataTable(strSQL);
gvUploadFiles.DataSource = dt;
gvUploadFiles.DataBind();
 
i need this code in vb.net. Kindly provide me solution.

Answers (3)