|
Can you show me how to copy this dll so as i can put it in my bin directory
it has to be done from a command prompt and thats where i get stuck
-- modified at 13:23 Monday 12th June, 2006
|
|
|
|
|
Hi~
I am developing web application.
In my web app, I execute search in Oracle DBMS.
and I use iBATIS module.
I want to improve search power of my web app.
If it is possible that is asynchronous searching, I want to use that skill.
so, it is feeled by web user that searching of web app is very nice!!
Is it possible?
help me~~~~
-- modified at 12:39 Monday 12th June, 2006
|
|
|
|
|
The Async nature of the database connection probably won't be felt by the end user because the whole web page has to be defined before it can be rendered to the client and it can't render itself until the query returns.
The alternative is to create a control that can be displayed to tell the user to wait. That is, when the user presses the button that initiates the lengthy query they are presented with a "please wait" message until the new page is available.
Scottish Developers upcoming sessions include:
.NET debugging, tracing and instrumentation by Duncan Edwards Jones and Code Coverage in .NET by Craig Murphy
My: Website | Blog
|
|
|
|
|
I have these three tables in my database - outcome (primary key:outcome_id), assessment(primary key:assessment_id) & outcome_plan(foreignkeys: outcome_id & assessment_id)
I have created a dynamic table at runtime taking the headers from the Outcome Table with dtOutcome = Outcome.GetAll(m_ConnString) and the Row headers from the Assessment Table with Assessment.GetAll(m_connString). I need to fill in the individual cells with the info from the third table with Outcome_Plan.GetAll(m_connString) - naturally I need to drop the info into the corresponding rows and columns. Can someone please start me off on this?
I understand that I need to loop through the column records first find a match for column and then loop through corresponding rows until I find the correct one and then insert the data into the right cell. Not sure of where to start with syntax in vb.net
Thx, Tammy
|
|
|
|
|
I have written the following function to validate one of my forms :-
function ValidateForm(Form)
{
var output = "";
output += CheckName(document.Form.txt_substance_name.value);
output += CheckForm(document.Form.ddl_form.selectedIndex);
output += CheckHazardGroup(document.Form.ddl_hazard_group.selectedIndex);
for(i=0, n = documentForm.rbl_hazard.length; i<n; i++)
="" {
="" if(documentform.rbl_hazard[i].checked
="" var="" checkhazardous="document.Form.rbl_hazard[i].value;
" break;
="" }
=""
="" output="" +="CheckHazardous(CheckHazardous);
" for(i="0," n="document.Form.rbl_hazardous.length;" i<n;="" if(documentform.rbl_hazardous[i].checked
="" checkhazard="document.Form.rbl_hazardous[i].value;
" if(document.form.rbl_measures[i].checked
="" checkmeasures="document.Form.rbl_measures[i].value;
" if(document.form.cbl_routes[i].checked
="" checkroutes="document.Form.cbl_routes[i].value;
" if(document.form.rbl_exposure[i].checked
="" checkexposure="document.Form.rbl_exposure[i].value;
" if(document.form.rbl_monitoring[i].checked
="" if(document.form.rbl_surveillance[i].checked
="" checksurveillance="document.Form.rbl_surveillance[i].value;
" if(output="" !="" )
="" alert(output);
="" return="" false;
="" true;
=""
function="" checkname(name)
="" error="" ;
="" if="" (name="=" "")
="" error;
="" checkform(form)
="" (form="=" 0)
="" checkhazardgroup(group)
="" (group="=" }
function="" checkhazardous(checkhazardous)
="" (!(checkhazardous))
="" checkhazard(checkhazard)
="" (!(checkhazard))
="" }="" checkmeasures(checkmeasures)
="" checktime(time)
="" (time="=" checkroutes(checkroutes)
="" (!(checkroutes))
="" checkexposure(checkexposure)
="" (!(checkexposure))
="" checkmonitoring(checkmonitoring)
="" (!(checkmonitoring))
="" checksurveillance(checksurveillance)
="" (!(checksurveillance))
="" }
this="" is="" a="" seperate="" file="" called="" 'validate.js'
i="" then="" created="" reference="" to="" the="" in="" webform="" like="" so:-
<script="" language="JavaScript" src="/javascript/validation.js">
Only problem I am having now is getting a server control to call the function and validate the form.
If anyone has any suggestions for getting this to work please help. I have been using the following code on an asp.net button control: -
<asp:button id="btn_save" runat="server" width="100px" text="Save" onsubmit="Javascript:ValidateForm(this); return false;">
|
|
|
|
|
Read rule number 4 in this[^].
You can't use a server control to call the javascript to validate the form. When the event runs to handle the server event, the form has already been posted. You have to call the function from client script.
Here is an example on how you verify a form using client script:
Javascript: Validate form[^]
---
b { font-weight: normal; }
|
|
|
|
|
hi,
I have a button column in my datagrid. after editing in my datagrid i am updating the row as usual. But i want to validate the textbox values (the textboxes are in EditItemTemplate ) before updating the row. Where should i place my validation code.
thanks in advance.
Tirthadip
|
|
|
|
|
You can put a validator in edititem template. In EdititemTemplate give your textbox a ID.
YOu can do soemthign liek this:
<EditItemTemplate>
<asp:TextBox runat="server" ID="tbProjects" Width="255">
</asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="tbProjects" </asp:RequiredFieldValidator>
</EditItemTemplate>
You can replace requiredfield validator with anyother kind of validator.
Hope thisone works for you!!
-- modified at 10:16 Monday 12th June, 2006
|
|
|
|
|
Sir,
There is no click event in datagrid control.Can you please help me in creating the click event of datagrid.
Thanks and Regards
Amaneet Brar
|
|
|
|
|
hello
Actually wat do u want to know Excatly.
tell me might be possible i help u.
|
|
|
|
|
Sir,
I want to create the click event of datagrid .Is it possible?If yes Please help me.
Thanks and Regards
Amaneet Brar
-- modified at 10:26 Monday 12th June, 2006
|
|
|
|
|
There is no 'Click' event, that's true, but there are several events serving mouse click, depends on where in datagrid you click. What event exactly are you looking for? Probably SelectedIndexChanged (when you select a row), I suppose...
Anyway, select your grid in Page Designer, then right click your grid in Page Designer and select Properties. In properties window click on events icon ('lightning' icon) and u will see all supported events of datagrid.
Pilo
|
|
|
|
|
IN window application after selecting the particular row I am getting the data from 1st column of that row.
Dim str As String = CType(dg1.Item(dg1.CurrentRowIndex, 0), String)
I WANT THE DO THE SAME THING IN WEB APPLICATION.
PlEASE HELP ME.
|
|
|
|
|
I am trying to deploy a webpage with crystal report viewer on a shared web server. I get a lot of errors dll not found but when i add the dll to the bin directory. Hers is onf of my errors
Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer
any tips or ideas on a how to get crystal working on the shared webserver. All works fine on my local machine.
|
|
|
|
|
Hello
open web.config file and comment all the crystal reports realted
and now try
regards
GV Ramana
|
|
|
|
|
where did all that come from! I deleted it all but still get the error on this line of code
CrystalDecisions.CrystalReports.Engine.ReportDocument rd = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
error
Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer,
|
|
|
|
|
I'm not sure if this is your problem, but deploying your Crystal Reports Viewer in a Web environment requires you to have licenses...
I never understood how exactly the license thing worked (in web environment or windows forms environment, ...), but you can read about it on the internet.
hope this helps...
Coulda, woulda, shoulda doesn't matter if you don't.
<marquee>
|
|
|
|
|
this also failed
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 8: asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
Line 9:
Line 10: CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" Red LINES on line 10***************************
Line 11: Height="1105px" ReportSourceID="CrystalReportSource1" Width="875px" />
Line 12: CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
-- modified at 9:57 Monday 12th June, 2006
|
|
|
|
|
Hello all,
in VS 2005 When clickin on New - Web Site- New Web Site Dialog.
in this dialog
Under Visual Studion Installed Templates. It is showing only Windows Application, Class Library, Windows Control Library, Crystal Reports and Device Applicaion.
How to get ASP.NET Web Site Contents (it is suppose to display ASP.NET WebSite, ASP.NET WebService....)
i am wondering that why New Website Dialog is not displaying those. where as other PCs are displaying properly. I am unable to create a website from VS 20005.
somebody is given a solution for this is
http://geekswithblogs.net/ehammersley/archive/2005/11/08/59451.aspx[^][^]
I has repaired the VS 2005 still i am unable to create New Web Site.
any ideas?
regards
GV Ramana
|
|
|
|
|
Sir,
In the datagrid I am displaying records.Can you please tell me how I can bind all those records in the print Preview.
Thanks and Regards
Amaneet Brar
|
|
|
|
|
Hi,
I am trying to validate a drop down list using CustomValidator and even wrote a ClientValidationFunction
<br />
<asp:CustomValidator id ="ValidateModule1" ControlToValidate = "ddlModule"<br />
ClientValidationFunction = "ValidateModule" text = "Select Module" runat= "server"><br />
</asp:CustomValidator> <br />
Sub ValidateAuthor(ByVal source As Object, ByVal args As ServerValidateEventArgs)<br />
If (ddlAuthor.SelectedIndex = 0) Then
args.IsValid = False<br />
Else<br />
args.IsValid = True<br />
End If<br />
End Sub<br />
but error message is thrown even when a value other than default value is selected.
I am not able to proceed beyond this
Thanks in advance
Suma
Regards
Suma B R
|
|
|
|
|
How do you want to validate the dropdownlist? Do you want the user to have to select a new value other than the default one? If this is what you want, then you simply set the value for the default item to empty and simply use the RequiredFieldValidator to validate the dropdownlist.
|
|
|
|
|
Hi i try to done some web application into net.2 pleas tell me how to set correct path to some file.Down is my code and this url give me exception.My path is not set correctly how to set it
List<string> list = new List<string>();
string url =("xmlNames.xml");
XmlTextReader reader = new XmlTextReader(url);
while (reader.Read())
{
if (reader.NodeType == XmlNodeType.Element)
{
}
}
thank's a lot
good bye and have nice day:->
|
|
|
|
|
Hello
put
string url =(@"xmlNames.xml");
and now try it wont give any Exception(but xml file should exist in bin directory)
regards
GV Ramana
|
|
|
|
|
Now give me this exception.I don't remamber which exacly class is use for path
is something like "Server.path" but i am not sure???
System.IO.FileNotFoundException: Could not find file 'C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\xmlNames.xml'.
|
|
|
|