|
Is this meant to be a question ?
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 )
|
|
|
|
|
Hi Guys,
I want to generate barcode in ASP.Net 2.0, what steps i should taken in account to do so, please give some useful links and hits to get me started.
That barcode should be read by using barcode reader as well, i mean if both can be developed that will be greate.
Thanks, in Advance.
Many Thanks,
adnan
Many Thanks,
Adnan Rafiq
muhammadadnanrafiq@gmail.com
|
|
|
|
|
ASP.NET has nothing to do with generating barcodes. It exists to generate HTML. So, you need to read the articles on CP on how to generate a barcode, and if you want to display it on a web page, you need to generate the bitmap and send it to your client as part of a web page.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"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 anyone,
I made a custom control which must take part of a framework for developpers. To get more speed with developements, I wanted to limit the list of properties available for the developper.
I've found the code to do that in this article:
Hiding Inherited Properties from the PropertyGrid
I applied the code and saw that worked very fine, too fine. Alle the properties I wanted to hide were hidden, but when I wanted to show them again, they never came back.
I tried many things such as deleting code, removing VS temp files, crashing the project and rewrite it, nothing makes my lost properties visible again.
But the worth, is that if I use the control on another PC, all the properties I can't see on mine are visible. I don't understand, it drives me crazy.
Please, if you don't want to send a man in asylum, help me.
Goudax
|
|
|
|
|
Hello All,
How can I receive and send bill payment information to Quickbooks 2005 accounting software.
If anyone knows, let me know URL or sample code.
Thanks & Regards,
Kumar
|
|
|
|
|
data table 1:
est amt date
1000 01/01/2004
2000 02/01/2003
1000 03/20/2005
5000 10/30/2006
1000 12/30/2004
Data table 2:
Inf num Year
2.31 2003
1.02 2004
0.87 2005
1.06 2006
1.19 2007
inflation factor: inflate all amt to 2007 dollar value
example: logic
to inflate the est amt in 1 datatable to 2007 dollar value
est amt date
1000 01/01/2004
To get the inflated amount =
( 1000(Est amt for year 2004) * 0.87 (inf num for 2005)) + 1000(Est amt for year 2004) )
= EA2005 (est amout inflated to 2005)
(EA2005*1.06(inf num for 2006) + EA2005 = EA2006 (est amout inflated to 2006)
(EA2006*1.19(inf num for 2007) + EA2006 = EA2007(est amout inflated to 2007)
|
|
|
|
|
data table 1:
est amt date
1000 01/01/2004
2000 02/01/2003
1000 03/20/2005
5000 10/30/2006
1000 12/30/2004
Data table 2:
Inf num Year
2.31 2003
1.02 2004
0.87 2005
1.06 2006
1.19 2007
inflation factor: inflate all amt to 2007 dollar value
example: logic
to inflate the first est amt in 1 datatable to 2007 dollar value
est amt date
1000 01/01/2004
To get the inflated amount =
( 1000(Est amt for year 2004) * 0.87 (inf num for 2005)) + 1000(Est amt for year 2004) )
= EA2005 (est amout inflated to 2005)
(EA2005*1.06(inf num for 2006) + EA2005 = EA2006 (est amout inflated to 2006)
(EA2006*1.19(inf num for 2007) + EA2006 = EA2007(est amout inflated to 2007)
|
|
|
|
|
Hello Everyone
Actully I m using CreateUserWizard1 control in asp.net But how to save data in table i donot know.
When i click CreateUser button ,then CreateUserWizard1_CreatedUser this event comes .
I know insert query .but i dont know the name of User Name ,Password name .
Plz help
Thanks
Care Career
|
|
|
|
|
Hi friends
I am working in asp.net (C#)
I have one registration page.When user successfully registered user will be redirect to mySite.com/userprofile.aspx.
I want to change the url like mySite.com/username instead of above url.
Thanks in advance
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
you need to rewrite the URL. This[^] will help you in that regard.
Best Regards,
Apurva Kaushal
|
|
|
|
|
i have made a login form in which i had encrypted the username and password and stored it in the cookies . I am decrypting the cookies also.
NOW while testing i want to test if the user if disabled cookies then what will happen ? to start with i started with my comp . i deleted cookies folder in internet explorer internet settings . but by this only the cookies which are there get deleted. It does not stop the app to form cookies . So i went in security settings adjusted it to high . THen i opened privacy blocked both 1st party and 3rd party cookies . BUT then too the cookies are getting formed . ATlast i deleted all the folders cookies from my computer but one cookies folder i could not delete.
The problem is cookies are getting formed. I want to see that they are not formed and an error message is generated .
thanks in advance.
|
|
|
|
|
Use the Request.Browser.Cookies property.
|
|
|
|
|
please give me relevant codings.
thanks in advance.
|
|
|
|
|
protected void Page_Load(object sender, EventArgs e)
{
if (!Request.Browser.Cookies)
{
ClientScript.RegisterStartupScript(typeof(this), "NoCookies", "<script>alert('Please enable cookies!')</script>");
}
}
|
|
|
|
|
How can i provide password protection in my "Sql Server 2000" database using Programming(ASP.NETP
Plz suggest me some tips
Manoj Bisht
|
|
|
|
|
be4 you store the passwords into a db
you have to encrypt them using any encryption approaches
try to use MD5
Amr Abdel-Mohsen Hafez
Software engineer
Cairo
E g y p t
|
|
|
|
|
Hi,
I've created a UserControl with some public properties that get exposed via the form tag on the aspx page. However I can't seem to get Eval and Bind to work with any properties on the control. I keep getting a compilation error "
Server tag not well formed<code>". Heres an example:<br />
<pre><code><uc1:MyUserControl ID="MyUserControl1" runat="server" MyPoperty="<%# Eval("ItemProperty") %>" />
Does anyone know how to get this to work on a UserControl? I've tried adding the BindableAttribute(true) directive to the properties but no luck.
Cheers,
Rory
-- modified at 8:14 Monday 23rd April, 2007
|
|
|
|
|
User Control Cannot support eval functions. so you can not user this is UserControl
rajeshprajapati
|
|
|
|
|
ISn't it DataBinder.Eval() ?
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Yeah I keep seeing examples with that as well but I haven't bothered looking into why. Best guess is that was the .NET 1.1 way of doing it - I'm pretty sure just using Eval() or Bind() now does the same thing - I could be wrong. Either way I tried that as well and it didn't work.
It seems the same is also true of certain controls themselves, such as the Image control, you can't use any databinding expressions with that but you can with a Label control. Can someone explain what controls can have expressions and what ones can't? I can't see any obvious difference in the classes.
|
|
|
|
|
Just found this in our codebase...
<asp:CheckBox Runat="server" ID="cS" CssClass="Gensmalltext" Checked='<%#DataBinder.Eval(Container.DataItem, "Selected")%>' Tooltip="Mark Line for Adding" OnCheckedChanged="cS_CheckedChanged" AutoPostBack=True> </asp:CheckBox>
Try passing the Container.DataItem part and see what happens....
This link "explains" lol...
<a href="http://msdn2.microsoft.com/en-us/library/4hx47hfe.aspx">http://msdn2.microsoft.com/en-us/library/4hx47hfe.aspx</a>[<a href="http://msdn2.microsoft.com/en-us/library/4hx47hfe.aspx" target="_blank" title="New Window">^</a>]
This code binds to a dataset though, rather than a custom object...are you able to bind to a dataset?
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Ah what an idiot! I had double quotes instead of single ones! How many times I've done that before I don't know...
|
|
|
|
|
Following is the code to clear all text boxes. But It won't be clear when the textbox is "Multiline".
Please give the solution as soon as possible.
function ClearTextBoxes()
{
for (i=0;i < document.Form1.elements.length;i++)
{
if (document.Form1.elements[i].type == "text")
document.Form1.elements[i].value="";
}
}
|
|
|
|
|
Please don't repost.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi,
While rendering to HTML, multiline textbox will be considered as text area. So if you can consider the same in the condition specified, then it will work fine
The code is given below
function ClearTextBoxes()
{
for (i=0;i < document.Form1.elements.length;i++)
{
if (document.Form1.elements[i].type == "text" ||document.Form1.elements[i].type == "textarea" )
{
document.Form1.elements[i].value="";
}
}
}
hope this will work for you
Rakheesh
|
|
|
|