|
|
I m using Windows Medai Encoder in ASP.NET .
I got the following error.
" Exception Details: System.IO.FileNotFoundException: The system cannot find the file specified."
But in Console application Coding works good.
In web, it gives this typeof error.
Anybody Help me. Plz
|
|
|
|
|
Hi all!
I want to create a watermark in Crystal Report like in MS Word but I don't know how. Can you show me how?
Thx!
|
|
|
|
|
I am looking for 3-tier web examples for either ASP & VB6 or ASP.Net environment.
Most examples treat the code as they are residing on the same machine.
I am looking for an example that treats 3-tier as client, business and data
layer residing on three different severs. I understand how to work with webservices. But I am looking for something like DCOM, COM+. Basically I want to know how an object on other machine (App server) is called from code running on webserver. How do you instantiate the object and what setup configuration is required.
Any direction is appreciated it.
|
|
|
|
|
|
I have a DataGrid in VS2005.
I have a link button being triggered.
I have a handler grabbing the ItemCommand event
When this is triggered the DataItem is null. Now the item index is correct and I could use the data source to find my row, but I want the DataItem to populate instead. Anyone know how?
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
I have 2 images lines vertically
Byut I dont want any oixels in-between them at all
I tried br and that didnt work
I tried at a table with 0 bottom and top margins. but that didnt work either.
Any ideas?
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
table with 0 cellpadding and 0 cellspacing...
|
|
|
|
|
I did that tool
div style="position:absolute; left:10px; height:50px;"
table cellpadding="0" cellspacing="0" width="128px"
tr style="margin-bottom:0px" valign="top"
td style="margin-bottom:0px; width: 129px; height: 71px;" valign="top"
asp:Image ID="ImageParchTop" runat="server" ImageUrl="~/parchment_v1.JPG" Width="128px" Height="100%"/
/td
/tr
tr style="margin-top:0px;" valign="top"
td style="margin-top:0px; width: 129px;" valign="top"
asp:Image ID="ImageParchBottom" runat="server" ImageUrl="~/section_parch_v1.JPG" Width="128px" Height="100%"/
/td
|
|
|
|
|
place two divs beside each other and just put the images in them. Use css to make the images block elements.
html:
<div class="ImageList">
<img .../>
<img .../>
<img .../>
</div>
<div class="ImageList">
<img .../>
<img .../>
<img .../>
</div>
css:
.ImageList { float: left; width: 100px; }
.ImageList img { display: block; }
---
b { font-weight: normal; }
|
|
|
|
|
thanks
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
Hi,
I've tried a simple app with a gridview, sqldatasource connected to Oracle.
On the Update COmmand i've wrote a simple query :UPDATE X SET field=77.
In SQLBUilder when i execute it it works just fine but from app i get this "ORA-01036: illegal variable name/number"
Can anyone help please ?
thanks!
|
|
|
|
|
you write query like:" UPDATE X SET field=77"
so as per your query,
Table Name : X
Field Name : field
so u must understand that "field" must be field name of table X. and datatype with any numeric.
try this.
Dipan Patel.
|
|
|
|
|
Hi and thanks you for your reply,
yes i understand.. the exact SQL is :
"UpdateCommand="UPDATE TABLOU SET STADIU=77"
the field called STADIU is type number. I've tried also with integer but i get the same error
-- modified at 17:40 Saturday 6th May, 2006
|
|
|
|
|
I am developing an application for which I have to provide a hosted version for the client.Well the problem that is bugging me is as follows:
Different users from different companies will be connecting to the ASP.net application. I want to keep
each company's data and login information in a separate database and one ASP.net application in the
front. Now the problem is how to make this possible? In SQL Server Role and Membership provider, database connection string is in web.config. If I have to write a custome provider, then what should be the approch by keeping one ASP.net application in the front for multiple databases.
I would appreciate ideas and comments on the problem
Thanks,
Fahad
|
|
|
|
|
When a user logs in you could produce the connection string "<first part="">" + companyName + "<lastpart>" and store it in a Session variable, then everytime you use the connection string you do Session["ConnectionString"] rather than ConfigurationSettings.AppSettings["ConnectionString"].
If each company has their own login frontend then this should be easy.
|
|
|
|
|
The problem is the Membership provider has no interface to change the
underlying connection string, it is in the web.config file. Should i try to add connection string
property to the SQLMembership provider and try to use that. How that sounds?
|
|
|
|
|
<pre>
<asp:textbox id="txtUserName" Runat="server"></asp:textbox></td>
<asp:RegularExpressionValidator id="RegularExpressionValidator1" ControlToValidate="txtUserName" ValidationExpression="[0-9]" ErrorMessage="Must be numeric" runat="server" EnableClientScript="False" Display="Dynamic"/>
</pre>
This code always display errormessage "Must be numeric", even though i enter only numbers.Can anyone please reply for this.
-- modified at 11:45 Friday 5th May, 2006
|
|
|
|
|
|
You have specified that the field may only contain one digit. If you try to enter a one digit number you will se that it passes.
You can use the \d code instead of [0-9]. Specify how many digits you allow, for an example unlimited: "\d+" or 1 to 5: "\d{1,5}".
---
b { font-weight: normal; }
|
|
|
|
|
Hi,
I have one XmlFile, how to create a menu using that xml file
the xml file is like
<menu>
<file>
<new>
<open>
<add>
<edit>
<cut>
<copy>
<paste>
<debug>
<startdebug>
<exceptions>
the output is like
File Edit Debug
if i click File it will show all the childs of it
How can i achieve this in asp.net
|
|
|
|
|
Why don't you do this with javascript? (then you won't have any postbacks, think this is better to handle with).
Just add your elements to the screen, put'm all in span blocks and set the onClick javascript events (which can set the visibility on true by css). The ones you want not to be seen on load, make on the body tag an onLoad javascript event which sets the visibility by css on false.
|
|
|
|
|
Or .net 2.0, use the menu control.
|
|
|
|
|
Is it possible to access the Master Page in VS2005 and change the from GET to POST? Or can this only be done inside the Module?
1 line of code equals many bugs. So don't write any!!
|
|
|
|
|
Hi,
How do i Access .aspx page attribute, in vb code file.
actually i want dynamicaly change value of href in link attribute
"<link id="link1" href="styleSheet3.css" rel="stylesheet" type="text/css" />"
Thanks
lakshya26@gmail.com
|
|
|
|