Google da ara

 

Ekim 2009
Pts Sal Çar Per Cum Cts Paz
« Eyl   Kas »
 1234
567891011
12131415161718
19202122232425
262728293031  

Google Reklamları

Dil Seçimi

Bağış yada Ödeme

Devexpress AspxGridView – InitNewRow

Asp.net Gridview üzerinde yeni bir kayıt eklerken varsayılan değerleri server-side olarak belirlemeye yarayan bu Event’ın kullanımı şu şekildedir :

protected void dxgridBlogOrnek_InitNewRow(object sender, DevExpress.Web.Data.ASPxDataInitNewRowEventArgs e)
{
e.NewValues["FieldName"] = 15;
}

Burda dikkat edilmesi gereken nokta FieldName olarak belirttiğimiz kolon un EditForm üzerinde görünüyor olması gerekmekte, yani visible ını false yaptığımız bir column a verdiğimiz değer malesef kaydedilmiyor.

MonoTouch – Alıştığın dilde yazmak varken Obj-C öğrenmek niye

Screen shot 2009-10-20 at 02.05.51

Arasıra takip etmeye çalıştığım mono projesine bugün göz attığımda, Novell in MonoTouch adında bir SDK geliştirdiğini gördüm. İlgili SDK 400$ bir fiyata satılıyor ve yaptığı şey ise, Iphone application geliştirmeye çalışan bir .Net yazılımcısı için paha biçilemez. Xcode da yazmak yerine MonoDevelop ile C# da Iphone application geliştirmenize yarayan bu sdk, arayüz tasarlayıcı olarak apple in Interface designer ını kullanıyor.
Yeni kurduğum için, hakkında çok fazla bilgi veremediğim ancak  bu sdk ile ilgili yazılarımı, burdan yayımlayacağım.
Ayrıca bir soap webservice çağırmak için ojb-c ile okadar çok boğuştuktan sonra, bunu monotouch ile ne zamanda yapacağımı çok merak ediyorum : )

Merak edenler için linkler:

Mono-Project
MonoDevelop (2.2 beta versiyonu MonoTouch için gerekli)
MonoTouch

MonoTouch ın yapabildikleri :

  • C# and .NET on the iPhone
  • .NET Bindings to Native APIs
  • Distribute on the Apple App Store
  • Enterprise deployable
  • MonoDevelop Integration
  • XCode Integration

Assemblies (MonoTouch ile kullanabileceğiniz Assembly ler)

MonoTouch ships with several assemblies.  Just as Silverlight is an extended subset of the desktop .NET assemblies, Monotouch is also an extended subset of several Silverlight and desktop .NET assemblies.

Note: MonoTouch is not ABI compatible with existing assemblies compiled for a different profile.  You must recompile your source code to generate assemblies targeting the MonoTouch profile (just as you need to recompile source code to target Silverlight and .NET 3.5 separately).

The assemblies shipped with MonoTouch include:

Assembly API Compatibility
mscorlib Silverlight
Mono.Security.dll Cryptographic APIs.
OpenTK.dll The OpenGL/OpenAL object oriented APIs, extended to provide iPhone device support.
System.Core.dll Silverlight
System.Json.dll Silverlight
System.ServiceModel.dll WCF stack as present in Silverlight
System.Xml.dll .NET 3.5
System.Web.Services Basic Web services from the .NET 3.5 profile, with the server features removed.
System.Xml.Linq.dll .NET 3.5
System.dll Silverlight, plus types from the following namespaces:

  • System.Collections.Specialized
  • System.ComponentModel
  • System.ComponentModel.Design
  • System.Diagnostics
  • System.IO.Compression
  • System.Net
  • System.Net.Mail
  • System.Net.Mime
  • System.Net.NetworkInformation
  • System.Net.Security
  • System.Net.Sockets
  • System.Security.Cryptography
monotouch.dll This assembly contains the C# binding to the CocoaTouch API.
Mono.CompilerServices.SymbolWriter.dll For compiler writers.