Find the best tutors and institutes for .Net Training
Search for topics
Asked 5 days ago .Net/C# .NET
I need C# logic for data starting with 20000 should not end with any character.
Answered on 05/11/2020 .Net/.Net MVC
Babish Adapa
Trainer
Answered on 31/12/2020 .Net/.Net WPF
How can insert bulk records in Salesforce from WPF application to Salesforce by clicking button? I am new to this.
read lessVamshi Tumu
Hi Tarun,
Firstly, suppose you are using a SQL Server or any DB as Source, and you want to post the data to Salesforce. In that case, you need to create a DB connection to SQL server or any DB, then pull the data, store it in WPF objects, and connect to Salesforce using "Salesforce toolkit for .Net" connect to Salesforce and post the data.
Secondly, if you have any file that you want to post to Salesforce, Read the data from the file into WPF objects(like excel, txt, CSV or any), Connect to Salesforce using "Salesforce toolkit for .Net".
This way, you can post the data to Salesforce.
NOTE: For bulk upload, you need to check the documentation provided by Salesforce.
read lessLooking for .Net Training
Find best .Net Training in your locality on UrbanPro.
Answered on 15/07/2020 IT Courses .Net/ASP.NET
Vinay Grover
Computer Teaching 1.5yr, Mathematics Teaching 1yr Excel Teaching 6Month
In web.config: <connectionStrings> <add name="ConnectionString" connectionString="Data Source=192.168.1.25;Initial Catalog=Login;Persist Security Info=True;User ID=sa;Password=example.com" providerName="System.Data.SqlClient" /> </connectionStrings>In Class.cs public static string ConnectionString{ get{ return ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;} set{}
read lessLesson Posted on 16/02/2020 .Net/.Net Advanced IT Courses/Java IT Courses/Programming Languages/Ruby on Rails Training
Migration from other languages to Salesforce
Ramakrisnna Reddy G
I have 8 years of experience in Salesforce application development. Specialist in integrations, lightning...
Answered on 05/02/2020 IT Courses/Programming Languages/C++ Language .Net/C# .NET
Thincor Academy
Answered on 29/12/2017 .Net
Harshika Jaiswal
Software Trainer for DOTNET and JAVA
Lesson Posted on 18/10/2016 .Net/.Net MVC .Net .Net/ASP.NET
Export To Excel using StringBuilder in ASP.net MVC C#
Mohammad
public ActionResult Export()
{
StringBuilder sb = new StringBuilder();
//static file name, can be changes as per requirement
string sFileName = "filename.xls";
//Bind data list from edmx
var Data = objEntities.citymaster.Take(10).ToList();
if (Data != null && Data.Any())
{
sb.Append("<table style='1px solid black; font-size:12px;'>");
sb.Append("<tr>");
sb.Append("<td style='width:120px;'><b>City Name</b></td>");
sb.Append("<td style='width:300px;'><b>City Code</b></td>");
sb.Append("</tr>");
foreach (var result in Data)
{
sb.Append("<tr>");
sb.Append("<td>" + result.sCityName + "</td>");
sb.Append("<td>" + result.sCityCode + "</td>");
sb.Append("</tr>");
}
}
HttpContext.Response.AddHeader("content-disposition", "attachment; filename=" + sFileName);
this.Response.ContentType = "application/vnd.ms-excel";
byte[] buffer = System.Text.Encoding.UTF8.GetBytes(sb.ToString());
return File(buffer, "application/vnd.ms-excel");
}
read less Looking for .Net Training
Find best .Net Training in your locality on UrbanPro.
Answered on 20/03/2020 .Net/ASP.NET
Charlie
ASP.Net is known as a development platform for the web, which in turn is known to help create robust web applications. It is known to contain innumerous libraries which have a wide range of functionality. It is a comprehensive web framework that supports accordingly with MS IIS and has a bunch load of technologies added to it.
VB.NET in layman’s terms is a programming language. VB, which is short for Visual Basics, is actually similar to excel as in syntactically. However, it is to known that the version of excel, which is called VBA is some ways different from the excel we use. The great thing about VB.NET is the assembly written in VB.Net is compatible with an assembly written in another programming language.
Hope this helps
read less
UrbanPro.com helps you to connect with the best .Net Training in India. Post Your Requirement today and get connected.
Ask a Question
Find best tutors for .Net Training Classes by posting a requirement.
Find best .Net Training Classes in your locality on UrbanPro
Post your learning requirement