This is my technical area for troubleshooting and learning new programming skills and much more. Here, you will find answers on a wide range of technologies such as AI, Machine Learning, OpenAI, Databricks, ASP.NET, C#, Python, Microsoft Access, MySQL, Amazon Web Services, SQL Server, PL/SQL, JD Edwards, SAS, Salesforce, APIs, MVC, and many others. Please feel free to visit and join the discussion!
Saturday, January 8, 2011
Integrating ASP.NET MVC 3 into existing upgraded ASP.NET 4 Web Forms applications
Thursday, January 6, 2011
Date in day Words -SQL_ Server
CASE DATEPART(dw,getdate())
WHEN 2 THEN ‘MON’
WHEN 3 THEN ‘TUE’
WHEN 4 THEN ‘WED’
WHEN 5 THEN ‘THU’
WHEN 6 THEN ‘FRI’
WHEN 7 THEN ‘SAT’
WHEN 1 THEN ‘SUN’
ELSE ‘ALL’
END
http://blog.sqlauthority.com/2007/06/08/sql-server-udf-function-to-display-current-week-date-and-day-weekly-calendar/
Wednesday, January 5, 2011
Sql-server 2008 Import export data
Tuesday, January 4, 2011
Thursday, December 30, 2010
Google Maps Control C# pin
Wednesday, December 29, 2010
Update,Delete in a table - SQL injection free C# .net
Update,Delete in a table - SQL injection free C# .net
void updateADJ()
{
SqlConnection myConnection = new SqlConnection(ConnectionString);
string strSQL;
strSQL = "update BOINVADJ set IAMEDQTY1=@IAMEDQTY1,IAMEDQTY2=@IAMEDQTY2,"
+ " IABOXQTY=@IABOXQTY,IAGELQTY=@IAGELQTY,IACRYQTY=@IACRYQTY "
+ " WHERE IAID =" + Request["ID"];
SqlCommand cmd = new SqlCommand(strSQL, myConnection);
cmd.Parameters.AddWithValue("@IAMEDQTY1",TextBox2.Text );
cmd.Parameters.AddWithValue("@IAMEDQTY2", TextBox3.Text);
cmd.Parameters.AddWithValue("@IABOXQTY", TextBox4.Text);
cmd.Parameters.AddWithValue("@IAGELQTY", TextBox5.Text);
cmd.Parameters.AddWithValue("@IACRYQTY", TextBox6.Text);
myConnection.Open();
cmd.ExecuteNonQuery();
myConnection.Close();
}
void Deletedata()
{
SqlConnection myConnection = new SqlConnection(ConnectionString);
string strSQL;
strSQL = "delete from BOINVADJ WHERE IAID=" + Request["ID"];
SqlCommand cmd = new SqlCommand(strSQL, myConnection);
cmd.CommandType = CommandType.Text;
myConnection.Open();
cmd.ExecuteNonQuery();
myConnection.Close();
Response.Redirect("invadj.aspx");
}
Monday, December 27, 2010
Change Row color in gridview C#
Sunday, December 26, 2010
AJAX Extender Control with Pop-up Window
Prepare web.config for HTML5 and CSS3
HTML5 and CSS3 introduces some new file types that enables us to create even better websites. We are now able to embed video, audio and custom fonts natively to any web page. Some of these file types are relatively new and not supported by the IIS web server by default. It’s file types like .m4v, .webm and .woff.
http://madskristensen.net/post/Prepare-webconfig-for-HTML5-and-CSS3.aspx
Tuesday, December 21, 2010
Monday, December 20, 2010
WCF Business Domain - Parent & Child Relationships
WCF by Example - Chapter XIII - Business Domain - Parent & Child Relationships - CodeProject
http://www.codeproject.com/KB/architecture/wcfbyexample_chapter13.aspx
Saturday, December 18, 2010
Creating a HTML5 video player control ,asp.net c#
This tutorial will introduce you to the process of ASP.NET server control development. You’ll also see how creating your own controls can simultaneously improve the quality of your Web applications, make you more productive and improve your user interfaces.
ASP.NET custom controls are more flexible than user controls. We can create a custom control that inherits from another server-side control and then extend that control. We can also share a custom control among projects. Typically, we will create our custom control in a web custom control library that is compiled separately from our web application. As a result, we can add that library to any project in order to use our custom control in that project.