C# asp.net vs 2003 de sınıf kullanımı sorun olmuyordu
ama şimdi vs2005 de Classes.Basket basket = new B2B.Classes.Basket(); hata verıyor Classes ozellıgı yok
sınıf kullanım yontemi farklımı nasıl ???
C# net 2.0 da Classes kullanımı
Re: C# net 2.0 da Classes kullanımı
Classes ne demek? namespace değilmi?
yada B2B.Classes ı using e ekleyerek;
Kod: Tümünü seç
B2B.Classes.Basket basket = new B2B.Classes.Basket();
Kod: Tümünü seç
Basket basket = new Basket();
Re: C# net 2.0 da Classes kullanımı
cok tşk ederim bu oldu
şimdi baska bir sorun daha var
eskide yine problem olmuyordu
((top) Parent.FindControl("ucTop")).Refresh();
şimdi baska bir sorun daha var

eskide yine problem olmuyordu
((top) Parent.FindControl("ucTop")).Refresh();
Kod: Tümünü seç
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'top' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 92:
Line 93: // üst baslıgı yenile
Line 94: ((top) Parent.FindControl("ucTop")).Refresh();
Source File: c:\Inetpub\wwwroot\B2B\productList2.ascx.cs Line: 94
Re: C# net 2.0 da Classes kullanımı
PLEASE HELP lazio
başka bir ascx içine
yazınca calısyordu
şimdi vs2005 yükledim hata veriyor
Kod: Tümünü seç
vs2003 c# asp.net de
top.ascx in son satırna bunu eklıyorum
public void Refresh()
{
Page_Load(this, new System.EventArgs());
}
Kod: Tümünü seç
((top) Parent.FindControl("ucTop")).Refresh();
şimdi vs2005 yükledim hata veriyor
Kod: Tümünü seç
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0246: The type or namespace name 'top' could not be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 92:
Line 93: // üst baslıgı yenile
Line 94: ((top) Parent.FindControl("ucTop")).Refresh();
Source File: c:\Inetpub\wwwroot\B2B\productList2.ascx.cs Line: 94
Re: C# net 2.0 da Classes kullanımı
top sınıfı yani top.ascx ile bu kodu yazdığın sınıfın aynı namespace de olup olmadığını kontrol et.
eğer değilse yine aynı şekilde ya using e ekle yada namespace.top şeklinde yaz..
Bu arada msj larda help, acil yardım vs vs gibi ibareler forum kurallarına aykırı, lütfen dikkat edelim
eğer değilse yine aynı şekilde ya using e ekle yada namespace.top şeklinde yaz..
Bu arada msj larda help, acil yardım vs vs gibi ibareler forum kurallarına aykırı, lütfen dikkat edelim
