Monthly Archives: October 2013

Adding Ascx controls Dynamically using

Hi friends you can add User controls dynamically using the following code if there exists a Student page and you need to add a user control into this page when button1 is clicked so you should write code like this … Continue reading

Posted in Uncategorized | Leave a comment

C# method to add newline or Br to string after n charectors

enter value to split and delimitter to split public string splitString(string value, int Count) { int result = 0; string new_value = “”; foreach (char c in value) { result++; new_value += c.ToString(); if (result == Count) { new_value += … Continue reading

Posted in Uncategorized | Tagged | Leave a comment