|
Two options to pass the value to the user control placed in the ItemTemplate of the repeater control:
+ Use the data binding expression to bind value to a public property of the user control.
+ Use the ItemDataBound event of the repeater.
However, you should remember that the user control is only able to use the value after the binding/setting happens.
|
|
|
|
|
i need a name of a good book to learn binding asp.net with sql server using c# not vb
-- modified at 12:13 Sunday 27th August, 2006
haitham
|
|
|
|
|
I saw a book regarding binding but the title shows that book is ment for win forms. Try it, may be you found the required things.
DataBinding_with_WinForms_2.0_-_Programming_SmartClient_Data_Applications_with_.NET
good luck
Neeraj
|
|
|
|
|
How I can Remove the latest visited web page from client machine?
I am working with a form that will display dynamic data from database and I am in troble with this suit b'coz it comes with local machins latest visited page.
Thanks.
|
|
|
|
|
What is this "suit" that you are having trouble with? I realise that you are not talking about a real suit, as it makes no sense at all in the context. Is it a typo, or what?
---
b { font-weight: normal; }
|
|
|
|
|
Hi
i practices inheritance
i have a example where it use Message.InnerHtml
i work with code behind i will like where using i have to add
Message.InnerHtml += foo.getPhoneNumber() + ""; it is the instruccion
i have the next error mesage
the type o namespace name "message" could not be found
what will be the namespace correct
Thanks for the time
|
|
|
|
|
What is Message here? Are you trying to send mail through you application, if so then you need to import the namespace System.Web.Mail.
Best Regards,
Apurva Kaushal
|
|
|
|
|
right now i have datagrid bound to datatable object using sqldatareader. right now the format of my datagrid display is as follows:-
movie show1 show2 show3 show4 show5
superman 2:00 4:00 6:00 8:00 10:00
i want it in the followin format:-
movie shows
superman 2:00 4:00 6:00 8:00 10:00
How do i do it..?
|
|
|
|
|
Don't give the header text of the columns of the datagrid where you want it as blank.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi I am Kishore, a QA Consultant and a part time .Net developer.
The scenario is in a web application (ASP.Net and C#)
I am trying to connect to clearcase and get some data, for this i need to invoke the cmd process and pass the command which gets the data from clearcase view.
As it didnt worked, i tried this to make sure it will work
I added windows dll for reference, then checked the following command
System.Diagnostics.Process.Start("cmd.exe");
It works but, the cmd is just running on the background. I am getting in the task manager process list.
I run the same command from a windows application - System.Diagnostics.Process.Start("cmd.exe");
from a windows application
a new command window is opend
So is it possible to do some shell commands invoked from a web application, and if so how,
pls consider this thing for example
System.Diagnostics.Process.Start("cmd.exe /C rename c:\1.txt 11.txt");
If i give this statement, i will get an exception in both windows as well as a web application.
But if i try from Start Windows-> Run - cmd.exe /C rename c:\1.txt 11.txt
it will work; it will rename the file
So how is it possible to do this directly from a web application.
I will be really grateful if you could help me out.
Thanks
-- modified at 6:08 Sunday 27th August, 2006
Nair
|
|
|
|
|
Hi,
What is the need of JavaScript in ASP.NET.What advantages we get when we use JavaScript.
Thanks in advance
|
|
|
|
|
Normally if you want to do something on clientside you use javascript for that purpose i.e for validation purpose.
Best Regards,
Apurva Kaushal
|
|
|
|
|
i have a table that contain fild as integer ,but i want to view it in datagrid as string ,
so how to custome that colume in datagrid to view string to corresponding data from database...or map data in it
-- modified at 6:01 Sunday 27th August, 2006
|
|
|
|
|
Tou can convert it to string with the help of ToString() function.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi
first all sorry formy english i am learning english
I was readin Creating a Data Access Layer in .NET in in 15 seconds site
i am new in .net
i think tha i can learn read and practice i run the article to find the next point
with the code example
in the aspx WidgetList.aspx i select from toolbox-data-dataset ando i get a window where show me.
Add dataset
- typed dataset -untype dataset
when i select type dataset the dropdown show me
-references dataset
-show list of all datset
in my project next select references dataset it isnt show me the list
I forget I place the reference of the data project
What i am doing bad
in this example use a Component, which extends from the System.ComponentModel.Component class
I am interested to learn to work with classes for the data access somebody knows of some example
thanks for the time
|
|
|
|
|
Hi , I create a project with ASPNET2. This run without problem in my computer and my localhost.
but whene I prepare it for upload in internet (Converting Classes to DLL And else) i saw a Error when I run it.
I use Visual Studio 2005 and I use Right Click in Solution Explorer And Choose "Publish Web" for Creating Project.
Is any one know my problem?
my seconde question is it : is any way better for create Dll in Visual Studio 2005 (ASPNET2)?
thanks in advance
|
|
|
|
|
My web application give me the time(using DateTime) using the Web Hosting service server(Remote Server) regional time so How could I make it show the time using the client regional time(for e.g: Saudi Arabia time)?.
I am too late but i will never give up
|
|
|
|
|
Use the TimeZone class and the ToLocalTime and ToUniversalTime methods to convert between time zones.
---
b { font-weight: normal; }
|
|
|
|
|
Thank you very much I will look for these classes at the MSDN .
I am too late but i will never give up
|
|
|
|
|
I have an ASP.NET page, that opens a new ASP.NET page with a js cmd (window.open()).
How can I refresh the first page, when the second one closes? do I need to use a different cmd?
Maybe there is an article someone can give me about it?
Thanks alot.
NaNg.
|
|
|
|
|
Use:
window.opener.location.reload(true);
---
b { font-weight: normal; }
|
|
|
|
|
|
Hi! i want to view va pdf file on a web browser without instaling any pdf viewer software such as adobe acrobat reader. How will it get possible?
samir
|
|
|
|
|
Hi Nigam : )
You need *some* sort of viewer at least, otherwise you will have to write the decoding software yourself, which will be a lot of work to say the least. However, if you don't want to include acrobat reader in your program, have a look at ghostscript.
Ghostscript viewer http://www.cs.wisc.edu/~ghost/gsview/get48.htm[^] can be run directly off a CDRom if that's what you need.
Kind regards - Jakob
*********************************************
Three kinds of people in the world:
- Those who can count..
- Those who can't!
10 kinds of people in the world:
- Those who understand binary
- Those who don't
|
|
|
|
|
I found a job for an ASP.NET developer but it requires :
MVC / MVP Design Patterns
What does it mean?
I am too late but i will never give up
|
|
|
|