Category Archives: C#

Gridview Header and first column always show

C#: protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)    {        e.Row.Cells[0].CssClass = “locked”;        e.Row.Cells[1].CssClass = “locked”;    } html:   <head runat=”server”>    <title>Untitled Page</title>    <style type=”text/css”> div#div-datagrid {width: 220px;height: 100px;overflow: auto;scrollbar-base-color:#ffeaff;} /* Locks the left column */td.locked, th.locked {font-size: 14px;font-weight: bold;text-align: center;background-color: navy;color: … Continue reading

Posted in ASP.net, C# | Leave a comment

Problem with Unity : is an interface and cannot be constructed. Are you missing a type mapping?

To resolve this, you’d need to map that type in Unity, probably in the ConfigureContainer method of your bootstrapper:   Container.RegisterType<IRegistery>(RegisterImplementationParameter());

Posted in C# | Tagged | Leave a comment

Is C# on Android?

Yes, that is the way to doing so. Thanks to the hard work from Koushik Dutta and Marc Crichton to make it happen. Miracle!!! Here are the references you able to review:- Download the code http://github.com/koush/androidmono Instruction to build Mono … Continue reading

Posted in C# | Tagged , | Leave a comment