|
Please use Google to answer broad questions such as this.
__________________________
Don't drink and derive.
Alcohol and calculus don't mix.
|
|
|
|
|
Hi,
Before Posting I searched in Google, it is always giving the jobs list.
Thnaks
|
|
|
|
|
There's a good montecarlo webservice here on cp
Montecarlo[^]
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
You need two links
1 - a link that teaches ASP.NET ( I assume you realise this is not a language, but a web platform )
2 - a link that tells you how to calculate fixed income, etc.
There's really not any direct correlation between the two. Banking is banking, and .NET is a programming platform which can be used to impliment algorithms and solutions for banking, amongst other thngs.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hello All,
I have developed a webpage template with number of image placeholders and the image links for each webpage is stored in a mySQL table. Here's the link http:/www.abeyweb.com.au[^]. When the menu selections are changed the code behind executes a dynamic query based on the page ID and return a different set of image links applicable to the new page.
I used DreamWeaver for the template and Visual Studio 2003 for the code behind to access mySQL table. I am attempting to convert this project on to Visual Studio 2005 environment with SQL Server Express as the DB environment. I am not a professional programmer and I have now spent three whole days without any success attempting to convert this template on to the new VS 2005 environment.
Under VS2003, all what I did was,
1 To create a Connection to MYSQL
2.Create a Data Adapter
3. Create a Dataset
then refer to data elements like shown below (code snippet from the existing HTML source)
<td width="63"><img src=<%=Dest3.tables(0).rows(0).item(1)%> name="Pic1" width="50" height="46"></td><br />
<td width="63"><img src=<%=Dest3.tables(0).rows(0).item(2)%> name="Pic2" width="50" height="46"> </td><br />
<td width="63"><img src=<%=Dest3.tables(0).rows(0).item(3)%> name="Pic3" width="50" height="46"></td><br />
<td width="63"><img src=<%=Dest3.tables(0).rows(0).item(4)%> name="Pic4" width="50" height="46"></td><br />
<td width="80"><img src=<%=Dest3.tables(0).rows(0).item(5)%> name="Pic5" width="50" height="46"></td>
Under the image Src the term "Dest3" refers to the name of my "Dataset".
Now that VS 2005 has completely changed the whole dataset concept I am completely lost on how to refer to data elements this way. I have tried the TableAdapter method, DataBinder.Eval method but obviously I am missing something here.
Any help you can give on this is very much appreciated.
Thanks a million in advance.
Srimal
|
|
|
|
|
Can anyone help me how we can play a video clip or movie in the web page.anybody can get the code.
|
|
|
|
|
Hi all,
I am working with Visual studio Macros.
I created one macro.and i assigned one keyboard shortcut to run that macro in VS 2005 Applications.its wrkng fine.
But my problem is when i taken new application when i wrk wth this shortcut macro is not firing.
So,to make macros global to all applications what to do?
krishna Prasad
Nothing lose by helping to others
|
|
|
|
|
hello all
I have a column in my DB such as vcAlternateNotes. It is a nvarchar type.
Now my question is that
how can I check this value is string or integer?
For example in this particular column I can insert a alternatenotes or "Yes" or "no" or other string or numeric such as 255,80.
now i want to check if this is a string value then i want to return 0
or if this is integer value then i want return the actual value .
so help me about this.....
I am handling this situation by try and catch
so is it ok or not??????
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
You kan use the VisualBasic component.
using VB = Microsoft.VisualBasic;
namespace My.Tools
{
public class NumericTools
{
public static int ReturnNumericValue(string strText)
{
if(VB.Information.IsNumeric(strText))
{
return int.Parse(strText);
}
else
{
return 0;
}
}
}
}
And remeber to add refferens to the Microsoft.VisualBasic.dll
Hope it helps
Thomas
-- modified at 10:18 Monday 1st October, 2007
|
|
|
|
|
|
I am a newbie to the ASP world. So with that being said, is it possible to output an asp variable in html tags?...i.e.
<%string intranet_name = "My Variable";%>
<title><%=intranet_name%>
|
|
|
|
|
Hi,
I am having two file in some other system. So if i copy and paste that both files in my local system and set the .htm file a desktop wallpaper. In that case it's coming fine, but if i'll not copy and paste these two files in local system and accessing just the file path, then in that case When i am trying to set that .htm file as desktop wallpaper that time, i am Getting Some Error Like "Access is denied to file: http://199.63.23.57/Share/WebService.htc".
So please help me and give me some needful suggestion to solve to comeup with this problem.
Reg,
Narayan Choudhary
|
|
|
|
|
Hi Friends
Description of Problem.
A --- User 1
B --- User 2
I have IE 7.0 installed in system.
When A logins the web application (tab no.1 ) a unique session id is created, let it be "555555" and when B logins the same web application using his id in the same browser but different tab (tab no.2) a unique session id is created "666666", but when user A start accessing the screens after login of user B, his session id "555555" is replaced by new session id "666666" (session id in tab no.1 is replaced by session id in tab no.2). So at last in both the tabs you will find screens of User B.
May any one of you explain why this is happening. And also the solution of the above.
Abhishek
Mumbai, India
|
|
|
|
|
All the windows (tabs) in an instance of IE belong to the same client session. To have separate client sessions, you have to start separate instances of the browser.
The server sessions use a cookie to identify the client, and the cooke is stored in the client session. If you want to use separate server sessions in the same client session, you have to use cookieless sessions.
---
single minded; short sighted; long gone;
|
|
|
|
|
Thanks Guffa
Is there any alternate solution for it? as you cannot force (or ask) clients to start new window.
Abhishek
Mumbai, India
|
|
|
|
|
abhishek.mumbai wrote: Is there any alternate solution for it?
None other than the alternate solution I mentioned.
---
single minded; short sighted; long gone;
|
|
|
|
|
Can we edit data in the Repeater control? If yes, how???????
Neeraj Rawat
|
|
|
|
|
Check this link:
http://www.codersource.net/asp_net_repeater_databind.html
|
|
|
|
|
Hi All,
I have to freeze TreeGrid. My problem is that I am having a datatable (parent child relationship)from which I am creating TreeGrid using Javascript and html table. Now I have to freeze the first 2 columns and first row of this TreeGrid.
For freezing GridView I am using http://www.codeproject.com/script/articles/list_articles.asp?userid=1654009 this article.
As this class uses GridView control and I am using datatable, i need to make the change but I am not getting how do I start with it.
Please help me...
Thanks in advance.....
|
|
|
|
|
Hi,
I need help.
I have created a class "myClass.cs" and I have a default.aspx page.
When I add the following code to to codebehind it works.
TextBox myTextBox = new TextBox();
pl_Holder.Control.Add(myTextBox);
Obviously I added a Placeholder to the HTML page. This code, when I press a button displays the textbox dynamically.
My problem is that I have specified this code in a seperate .cs file and want to execute it. When executing I get an error pl_Holder is not in the current context. I know I should instanciate it but when I do nothing displays on the form.
Can someone please tell me how can I use a control from an .aspx file in a seperate .cs file.
Thank you!
Illegal Operation
Making Computer Software Talk
|
|
|
|
|
Illegal Operation wrote: I know I should instanciate it but when I do nothing displays on the form.
Of course not. Your form contains a placeholder. Your other class creates a NEW placeholder, which is NOT on your form. So, this can't possibly work.
What you're doing is a bad idea, you shouldn't be seperating code out from the page that defines the UI. But, the way to do it, is to pass your actual placeholder instance that you want to add a control to, into the class. A better idea is to have a class generate the control, and put it in the placeholder within your aspx.cs file.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Along with "definite", "separate" just has to be the other most commonly mis-spelled word in the English language... aargh!
|
|
|
|
|
Are you stalking me ? :P
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Just never miss a chance to get one up on a C++ coder! Us VB lot, we have to get our own back somehow!
|
|
|
|
|
Fred_Smith wrote: Us VB lot, we have to get our own back somehow!
Yes, you have so little.... :P
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|