Sunday, April 7, 2013

new and update for share point 2013


The below are the updated and new things have been added  to Share Point 2013 by march.
New:
1. XLIFF interchange file format .click here  for more
2.Customize  page layouts for a catalog-based site . For Brief Description
3.BCS connection objects
Updated:
1.BCS REST API reference
2.Create external event receivers
3.e Discovery 
4.eDiscovery and compliance
5.design packages 

Download Visual studio 2012 Update 2 (VS2012.2)


Visual Studio 2012 update has been done by last week .The following are the new features that have been included in this update.
1.Web access to  the test case management tools in Team Foundation Server.
2.Windows Store development.
3.Line-of-business development.
For complete details of update click here
Download VS2012 update 2(VS2012.2)

Monday, March 25, 2013

How to insert the multiple values using LINQ in asp.net


In previous posts we have seen  how to insert the data into data base using sql server in asp.net with c sharp.  Now  i will given an example to insert the multiple fields  using LINQ in asp.net.Here i have used USING  to maintain the scope of the patientinfo.
using (PatientInfo pf = new PatientInfo())
{
t_patientDetails objpd =new t_patientDetails()
objpd.Name = Name;
objpd.Mobile = Mobile;
objpd.OPNO = OPNO;
objpd.Date = DateTime.Now;
pf.t_patientDetails.InsertOnSubmit(objpd);
pf.SubmitChanges();
}

Monday, February 18, 2013

How to get the information of database in sqlserver

The sql server provides a procedure to get the information of desired data base .i;e SP_HELPDB.
In the below picture we can see the data and log information of the database.Here i have used query to get the data of existing database.
sp_helpdb 'Test krishna'

The result will show the size,administrator  and  status of the DB
 

Wednesday, January 9, 2013

Disable dropdown list using radio button in asp.net using c#.net

In previous post we have seen how to disable the drop down list using other dropdown list.In the below we will use radio button to disable the drop down list in asp.net using c#.net.For this we have to use radiobutton checked change event
Code behind:
protected void rbcheck_CheckedChanged(object sender, EventArgs e)
{
ddltest.Enabled = false;
}

Aspx:
 <asp:RadioButton ID="rbcheck" runat="server"
 oncheckedchanged="rbcheck_CheckedChanged"  AutoPostBack="true"/>
<asp:DropDownList ID="ddltest" runat="server"
 AutoPostBack="True">
<asp:ListItem>Please select</asp:ListItem>
</asp:DropDownList>

Bel