Kamrul Hasan

Kamrul Hasan

  • 1.7k
  • 293
  • 76.3k

Change SqlDataSource ConnectionString dynamically

May 6 2019 6:26 AM
 how to change SqlDataSource ConnectionString from code behind in C#.NET.
 
  1. "dsGrdStock" runat="server"  
  2.                     ConnectionString="<%$ ConnectionStrings:dbPOS %>"  
  3.                     ProviderName="<%$ ConnectionStrings:dbPOS.ProviderName %>">   
 

Brought to you by:

Answers (2)