Introduction
In today's programming era, there any many technologies and languages that developers use in application development. To stay current in the market, we need to work on more languages. These days tools are helping developers a lot.
Sometimes, we find that we are expert in C#, .NET but we are not aware of VB .NET syntax, or vice-versa. Telerik code converter provides free code conversion from C# to VB.NET and just opposite of it.

Example
I have the below C# code.
- public void GetData()
- {
- string strSQL = "select top 10 * FROM tbNews order by newsid desc";
- DataTable dt = new DataTable();
- dt = objDataAccess.GetDataTable(strSQL);
- gvUploadFiles.DataSource = dt;
- gvUploadFiles.DataBind();
- }
And I converted it into VB.NET.
- Public Sub GetData()
- Dim strSQL As String = "select top 10 * FROM tbNews order by newsid desc"
- Dim dt As DataTable = New DataTable()
- dt = objDataAccess.GetDataTable(strSQL)
- gvUploadFiles.DataSource = dt
- gvUploadFiles.DataBind()
- End Sub
Summary
If you have some alternate way to achieve this kind of requirement, then please share. In case of some query, please leave your comments.


Dinesh GabhanePosted Nov 11, 2019, 8:36 PM EST
Very Nice. Thanks for sharing
Rajesh KumarPosted Sep 10, 2018, 8:02 PM EDT
Nice article, Thanks for sharing..............
Hardik DeshaniPosted Sep 7, 2018, 7:37 PM EDT
Nice article thanks for sharing.
Sai Kumar KoonaPosted Sep 7, 2018, 7:35 AM EDT
Nice blog thank you
Hadshana KamalanathanTOP 100Posted Sep 7, 2018, 6:33 AM EDT
Thanks for sharing...