dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: How to edit GridView manually
http://dotnetdomain.blogspot.com/2010/09/how-to-edit-gridview-manually.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Monday, September 20, 2010. How to edit GridView manually. Filling, Editing, Updating, Deleting from a GridView is quite easy now. Just follow these steps. 1 Open Visual Studio create a web based project. 2 Go to design view of Default.aspx page and then drag&drop a GridView control from standard Visual Studio Toolbox. 3Right click on GridView goto properties and then disable AutoGeneratedColumns property to false. Lb2Visi...
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: Splash Screen in Visual Studio 2008 using C#.NET
http://dotnetdomain.blogspot.com/2010/10/splash-screen-in-visual-studio-2008.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Wednesday, October 6, 2010. Splash Screen in Visual Studio 2008 using C#.NET. Creating Splash Screen is now very easy. Just follow these steps to make your application look very rich. 1Suppose, Welcome.cs is your main form and SplashScreen.cs is your splash screen form. 2Write the following code in the page load event of your Welcome.cs form. Bool done = false;. ThreadPool.QueueUserWorkItem( x) =. Done = true;.
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: April 2010
http://dotnetdomain.blogspot.com/2010_04_01_archive.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Friday, April 30, 2010. Auto Complete Feature for any control. SqlConnection con = new SqlConnection(@"Data Source=. Initial Catalog=tts;Integrated Security=True");. Creat auto complete Collection. AutoCompleteStringCollection collection = new AutoCompleteStringCollection();. Get the data from database. SqlDataAdapter da1 = new SqlDataAdapter("select name from contacts ", con);. DataTable dt1 = new DataTable();. FileUpload...
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: November 2010
http://dotnetdomain.blogspot.com/2010_11_01_archive.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Wednesday, November 3, 2010. Running a program at startup. You need to use the Registry for running a program at startup. You can use the RegistryKey class that's in the System.Win32 namespace. The following code shows how to do this:. RegistryKey rk = Registry.CurrentUser;. StartupPath = rk.OpenSubKey(@"Software Microsoft Windows CurrentVersion Run", true);. If (StartupPath.GetValue("ProjectName") = null).
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: July 2010
http://dotnetdomain.blogspot.com/2010_07_01_archive.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Wednesday, July 7, 2010. ASPNET State Management Overview. To overcome this inherent limitation of traditional Web programming, ASP.NET includes several options that help you preserve data on both a per-page basis and an application-wide basis. These features are as follows:. 8226; View state. 8226; Control state. 8226; Hidden fields. 8226; Query strings. 8226; Application state. 8226; Session state. Share with your buddies.
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: January 2011
http://dotnetdomain.blogspot.com/2011_01_01_archive.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Tuesday, January 25, 2011. Reflection is the feature in .Net, which enables us to get some information about object in runtime. That information contains data of the class. Also it can get the names of the methods that are inside the class and constructors of that object. Counter = 1;. Counter = c;. Private int counter;. Return counter ;. Return counter- ;. Public static void Main(string[] args). Subscribe to: Posts (Atom).
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: Running a program at startup
http://dotnetdomain.blogspot.com/2010/11/running-program-at-startup.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Wednesday, November 3, 2010. Running a program at startup. You need to use the Registry for running a program at startup. You can use the RegistryKey class that's in the System.Win32 namespace. The following code shows how to do this:. RegistryKey rk = Registry.CurrentUser;. StartupPath = rk.OpenSubKey(@"Software Microsoft Windows CurrentVersion Run", true);. If (StartupPath.GetValue("ProjectName") = null).
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: September 2010
http://dotnetdomain.blogspot.com/2010_09_01_archive.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Monday, September 20, 2010. How to edit GridView manually. Filling, Editing, Updating, Deleting from a GridView is quite easy now. Just follow these steps. 1 Open Visual Studio create a web based project. 2 Go to design view of Default.aspx page and then drag&drop a GridView control from standard Visual Studio Toolbox. 3Right click on GridView goto properties and then disable AutoGeneratedColumns property to false. Lb2Visi...
dotnetdomain.blogspot.com
K Ganesh Kumar's Blog: How to store image in a database in binary format
http://dotnetdomain.blogspot.com/2010/09/how-to-store-image-in-database-in.html
K Ganesh Kumar's Blog. C#, ASP.NET, SQL SERVER, CSS, HTML, examples and tutorials. Monday, September 20, 2010. How to store image in a database in binary format. Create one empty web page and do the following things. 1Drag and Drop FileUpload Control and one Button from standard Toolbox. 2Double click on button control it'll generate a button click event. In that event write the following code. You can may even directly declare directly the connections, commands in codebehind file(*.cs,*.vb).