|
iam creating a dll when iam writing a function with private and building the project .the dll is ofrming nice but when iam copying the dll and making an instance the method of that dll is not comming ...but when iam using public function it is comming ....what is the reason..even iam creating the object for the same class only
|
|
|
|
|
jagadeeshkumar2106 wrote: iam creating a dll when iam writing a function with private and building the project .the dll is ofrming nice but when iam copying the dll and making an instance the method of that dll is not comming
Private method are accessible in same class only
Even if you create a object of that class and try to access the method it will give error
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi sandeep will u explain in clear
|
|
|
|
|
|
It sounds to me like you should not be writing dlls, or any code, you should be working through a beginners book that explains these sort of concepts clearly.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Sorry for such a newb type question, but im really in need of your help....
I need to display images as a gallery. I can retrieve and display images no problem, however i need to show 10 images at a time in 2 rows of 5, with paging.
Im using .Net 2.0 C#. Can anyone point me in the right direction eg which data control to use or even a good tutorial on how to do it?
Many Thanks guys!
|
|
|
|
|
i think if you have to show images only for viewing perpose then repeater is good option check google how to create item template
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
What do you mean by vieiwing only???
|
|
|
|
|
Repeater is better than other controls when there is no user interaction with the data that is shown on the page (Edit/Delete/)
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Unofrtunately thats not what i asked.
I need to display 10 images at a time in two rows of 5 images, with paging.
|
|
|
|
|
repeater doesnt allow for paging does it?
|
|
|
|
|
No it wont allow
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
One of my requirements is paging as mentioned in my initial post.
I also require the ability to display 10 images across two rows of 5 images.
|
|
|
|
|
Upgrade to ASP.NET 3.5, and you could achieve the desired results using the ListView[^] control and its Group Templates functionality.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Use a gridview. You just define your template so that it shows an image using the path from your data source. Repeaters are better for doing something where you have two rows, but you'd have to do your own paging ( not such a big deal ). to do it with any other control, you need to format your data source so you have two image paths in every data item.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How can we integrate one c# project into one vb.net application ?
Thanks & Regards,
Jeneesh k. v.
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">jeneeshcme wrote:</div>How can we integrate one c# project into one vb.net application ?
</blockquote>
You can do it using webconfig file.
create one folder in app_code folder and place all .vb files in that folder and you can configure that folder using following lines.
<compilation debug="true">
<codesubdirectories>
<add directoryname="VB" />
</codesubdirectories>
By this you can use both c# and vb class in one application.
please don't forget to vote on the post that helped you.
|
|
|
|
|
Just create a dll for C# project and add that dll(Add reference) your VB application. i think you will not get any problems
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
To clarify the first answer you got, you can have VB.NET and C# pages within an ASP.NET application, but the app code needs to all be the same language. A dll is the way to solve this. Although, your question doesn't read like it's an ASP.NET question at all ?
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
How to check correct syntax (ok...validate) of a vbScript file?
in other words is there a way to verify the semantic correctness of a vbs?
Thanks
|
|
|
|
|
2006 Flauzer wrote: How to check correct syntax (ok...validate) of a vbScript file?
This is the ASP.NET forum. Ask your question in the Web Development forum.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Is this beyond just putting OPTION STRICT at the top and seeing if it runs?
|
|
|
|
|
I'll explain better.....
my goal is parse a file "sample.vbs" (without run) and return:
"OK the file is well formed"
"NO there is a syntax error in line......"
Thanks for your response.
|
|
|
|
|
In my page i have used AJAX model popup, once i use the model popup it will generate error on click on any button.
the error is "Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method"
Best Regards,
Chetan Patel
|
|
|
|
|
Have you ever used Model popup extender?
Can you post your html source code of model popup extender with its controls ID?
please don't forget to vote on the post that helped you.
|
|
|
|