How can i display in a dropdownlist more than 3 values?any custom built dropdownlist facility available or what exactly i need to use to do this,
I have no idea of doing this,Give me an idea with some code.Thanks in advance.
am i need to use Grid for this???Give me correct idea?
i want to create windows movie file for the webpage.ie,all the flow of my web application in mpeg format.so that the user can view the flow in media player.if any one knows please help me.
This is not an ASP .NET question. You may have more luck asking in the Web Development board, however, I can make a suggestion. If what you are wanting is to embed a movie into a web page, I suggest you look into creating flash movies. The free Riva FLV encoder creates .flv (flash video) files from an .avi and then you can use the open source FlowPlayer to actually embed the movie in a web page. Here are the links you need for these two items.
I am new to asp.net, therefore not sure if this is achieveable. This web application will need to serve both intranet and extranet users.
For intranet, users log in to their machines (AD accounts) as per normal and when they open up the web application, system will check for the windows logon and let them thru (was thinking of using WindowsIdentity/WindowsPrincipal).
As for extranet users, system will redirect them to a login page which will capture their credentials and authenticate against user information stored in DB.
I have tried setting the authentication to Integrated Authentication in IIS which achieves the intranet authentication but it fails when it comes to extranet, as without (integrated) login credentials from extranet, users will be prompted the windows login dialog which the system has no control over it to authenticate users against DB.
1) Turn the NT Auth off in IIS. If this is on, the external users will always get a login.
2) Use Request.LoginIdentity instead. For IntraNet users this should be populated the first time in. If not then tell people to make the site Trusted. If this is empty string then you can redirect them to your login page.
If Request.LogonUserIdentity.Name.ToLower.Length = 0 Or (Request.LogonUserIdentity.AuthenticationType <> "Negotiate" And Request.LogonUserIdentity.AuthenticationType <> "NTLM") Then
'Login is blank so send them to your login page
Thanx for the reply..
But Can u send me the code as an eg. plz..
Actually what to write in the itemcommand event of data grid to delete the row???
I think the code for deletion shoulsd be
"delete from table1 where ----"
What to write in where condition???
I mean suppose i want to delete the row whose id is in its 1st column then wa=hat to write??????
One more thing can i delete more than 1 row at a time????
Look there are multiple ways to do that one is you loop through all the number of records to be deleted and execute the delete statement.
second one is you send alll the id as a comma separated value to the query like this:
delete from table1 where id in (1,7,43,7)