Kids, don't try this at home!

Tips & Tricks for C#, ASP.NET and CRM

Browse by Tags

All Tags » C# » .NET (RSS)
Working with Dynamic Controls
I wanted to find a better way to work with dynamic controls. This is what I was doing before. Control c = this .wrapper.FindControl( "dynamictextbox" ); TextBox tb = c as TextBox ; if (tb != null ) { Response.Write(tb.Text); } as you can see doing this...
Posted: Jan 29 2008, 01:56 PM by gperera | with no comments
Filed under: , ,
Storing ViewState in SQL
The new adapter architecture of ASP.NET v2.0 allows you to do some amazing things, We'll use this new feature to store viewstate in sql. Firstly you must add the special folder App_Browsers to your project, then create a new .browser file and add the...
Posted: Jan 29 2008, 01:52 PM by gperera | with no comments
Filed under: , ,
MPEG Header Reader
A while back I needed to read a mpeg file and retrieve the video/audio information. I didn't want to read the mpeg specification to write one from scratch so after googling around I found a project on sourceforge called mpgtx, it's written in C and has...
Posted: Jan 29 2008, 01:46 PM by gperera | with 6 comment(s)
Filed under: ,
More Posts