|
always welcome..
Best Regards,
Apurva Kaushal
|
|
|
|
|
another question.
i added a button to datalist and gave an id "tbn1".
how can i write the click event for this button in code behind?
|
|
|
|
|
You can't access that ID directly in codebehind. What you need to do is to find the control in the Onitemdatabound event and then assign the javascript to that.
Best Regards,
Apurva Kaushal
|
|
|
|
|
thanks. i have to do some googling then
|
|
|
|
|
|
thanks for the link. will have a look
|
|
|
|
|
i have a field wth name (active). it is bool.i fill a datagrid with name , lname and active but i want that record has active = true be in first row of data grid . how can i sort it in pageloade? can i use order b active?
|
|
|
|
|
Can't you get the data from the database itself in the order you want?
Best Regards,
Apurva Kaushal
|
|
|
|
|
Dont fill it from System.Data.DataTable. Create a view System.Data.DataView and set the Sort-Property.
BR
Stephan
\\\| \\ - -
( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:
| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
|
Hi
I want use a tree in my project (in c#.asp.net). can any body help me?i dont know any thing about about howcan i use tree in my project.
|
|
|
|
|
|
We have a flash MP3 player that we are integrating with our database application. The mp3 files are stored in the database (SQL Server).
We would like to know how to feed a byte[] array to the src attribute of the flash file, so that we can play the mp3 files without writing them to disk first.
We already have an http handler utility that gets the mp3 files from the database and writes them to the output stream of the response object.
sanjeev
|
|
|
|
|
I want towite a procedure to get data from website:http://www.bidv.com.vn/BSC/op.htm and save it to database but don't how to do. Can anybody help me? Information i need is about stock quote.
Thanks in advance
zappa
|
|
|
|
|
wClient = New System.Web.WebClient()
Dim bytes() As Byte = wClient.DownloadData("http://www.bidv.com.vn/BSC/op.htm")
Dim stream As New System.IO.FileStream("c:\testdown.txt", System.IO.FileMode.CreateNew, System.IO.FileAccess.ReadWrite)
stream.Write(bytes, 0, bytes.Length)
|
|
|
|
|
|
Hi all. Does anyone know how to use the ThemeProvider and SkinBuilder classes?
I'm building a custom control and am working on design-time support. The control is largely JavaScript based, so I need to use a custom designer with GetDesignTimeHtml overridden to approximate it in Visual Studio. I'd like to incorporate themes and skins (assuming the page designer has set them) to this approximation and am having trouble figuring out how. I came across the ThemeProvider and SkinBuilder classes and thought that may be on the right track, but I really don't know.
Does anyone have any suggestions?
|
|
|
|
|
When a web page is open, the system will compile HTML or code behind first?
Best regards,
Chee ken
|
|
|
|
|
Hi,
if you are using ASP.NET and has code behind, it will compile code behind. ASP.NET sends as an response object, all the html elements.
ASP.NET is sever side..............
Sanjeev
|
|
|
|
|
cheeken2u wrote: When a web page is open, the system will compile HTML or code behind first?
Yes.
It will start compiling the aspx file, and as the page directive states that it inherits the code behind class, it has to compile that before it can contine to compile the aspx file.
This is of course in the case that none of them has been compiled beforehand.
---
b { font-weight: normal; }
|
|
|
|
|
I am trying to use a Custom Membership provider. I have set everything up and when i go to run it it keeps giving me the error Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'. This a stored procedure in the default table that studio creates for. Any one got any suggestions?
|
|
|
|
|
|
I have a GridView that contains a TextBox and a CustomValidator that checks to make sure the value in the TextBox is unique to that column in the GridView (it's a tiebreaker score - tiebreakers must be unique). The validator works in that it won't let you save a non-unique value to the database (it just returns control to the page without doing anything); the problem is that the error message does not display on the screen, so the user has no idea why their changes didn't save or even *if* their changes saved. Here's my CustomValidator:
<asp:CustomValidator ID="valCustUniqueTieBreaker" runat="server" ControlToValidate="txtTieBreakerScore" ErrorMessage="You must enter a unique Tie-Breaker Score." OnServerValidate="valCustUniqueTieBreaker_ServerValidate" SetFocusOnError="True" ValidateEmptyText="True">*</asp:CustomValidator>
I do have a validation summary, and my other, non-custom, validation messages show up in it just fine. Does anyone have any ideas why this isn't working??
Thanks for your help!! )
~Jen
|
|
|
|
|
hey folks,
i just tryed to start iTunes from an aspx application by the browser. i get the following error:
Die COM-Klassenfactory f?r die Komponente mit CLSID {DC0C2640-1415-4644-875C-6F4D769839BA} konnte aufgrund des folgenden Fehlers nicht abgerufen werden: 80070005.
sorry, it's german but i think you'll get it. if i do exactly the same manually everything work fine.
so i added a line for impersonation in my web.config to run my web as admin:
<identity impersonate="true" userName="admin" password="topSecret"/>
but i still get the same error. i'm afraid i have to configure some DCOM stuff but unfortuneltly i've no idea of DCOM.
if someone is out there who has loaded a COM thing successfully in iis by aspx please help me !!
thanks, bernd
|
|
|
|
|
Hi there,
Do you mean you want to load the COM object at the client side? If so, just make sure that it's properly installed and registered, then your application needs permission to active the object. The identity setting only has meaning at the server side, when your application wants to run under a specific account at the server side.
|
|
|
|
|
Right, i like to instanciate the COM object (in my case iTunes) at the server side. you may think that does not make sense, but it does. is there any security restriction to do stuff like that?
regards, bernd
-- modified at 2:51 Thursday 28th September, 2006
i just noticed the error after changing the inpersonation is 0x80080005. seems to be a CO_E_SERVER_EXEC_FAILURE error, isn't it?
-- modified at 3:43 Thursday 28th September, 2006
in taskmanager i can see iTunes starts under the given user but no ui. i do not need the ui but if i start iTunes throu my code manually (not by iie) the ui will be shown. anyway, after one minute or so i get the 0x80080005 error.
|
|
|
|