|
Christian Graus wrote: have a task that is 'very very urgent' ??? Have you taken a paid job you can't handle ?
Probably so. Too bad the moron who hired him hasn't seen his post.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
and get out of programming.
Blog link to be reinstated at a later date.
|
|
|
|
|
rajanarayanansabarish wrote: .Please paste the entire code with some comments
I wont do that.
Begin by yourself to write your application and in any specific problem we can help you.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Hi
I have a probleman with PostBackTrigger.
There is a button in my page asp.net with this code, with FileUpload Component.
<asp:linkbutton id="lbtIncluir" runat="server" cssclass="label_negrito" text="Incluir" onclick="lbtIncluir_Click" visible="False" xmlns:asp="#unknown">
<triggers> <asp:postbacktrigger controlid="lbtIncluir" xmlns:asp="#unknown">
<triggers>When execute the button lbtIncluir the event lbtIncluir_Click is execute.
When execute the button, the imagem load perfect, but if I press F5 to refresh the page, it is not running PostBack and running the event again lbtIncluir_Click not even being called in Page_Load. Do you know why and how to solve?
Someone could help me?
Thanks.
|
|
|
|
|
Marcos Antonio de Aguiar Junior wrote: but if I press F5 to refresh the page, it is not running PostBack
That is simple. Because it is not a postback.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
So why is he running event (lbtIncluir_Click) again if I am not calling in the PostBack?
|
|
|
|
|
Can anyone point me in the right direction for a good article explaing the different ways to update your files to the server. E.g. binding a DLL, saving the file directly to the server etc
thanks
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
Are you looking for an article on Web Publishing?
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
you can try to Explore CopyWeb Tool and Publish WebSite . Both are many features to update file on server .
|
|
|
|
|
The reason I ask is because I have a project that I usually work on. To update the files I usually just save them in VWD and they are instantly updated on the server.
However I am using YAF which is an open source forum and the code seems to need a dll compiled for it to work. However I cannot do this because I only have VWD.
Is there a way to compile this dll to the server?
thanks
The answers posted by me are suggestions only and cannot be used in anyway against me.
|
|
|
|
|
.netman wrote: Is there a way to compile this dll to the server?
sorry, i dont have the idea on it.
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|
|
Hi All,
Can anyone tell how to get the trial version of infragistics controls for ASP.net 2005.
S#
|
|
|
|
|
S#4sanjay wrote: infragistics controls
A google search on this text would have been a lot faster for you.
Anyways, here [^]you can get all of them
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi guys
in my application i am using datalist in which data is binding properly but i want to bind a dropdownlist from another data source
the same thing i am using in grid view that is working properly
but not in data list
grid view coding
<asp:templatefield itemstyle-horizontalalign="Left" headertext="PieceLength mtr" xmlns:asp="#unknown">
<itemtemplate>
<asp:dropdownlist id="DropDownList2" runat="server" datasource="<%# name() %>" width="100">
DataTextField="des_emb_peice_lenght">
<headerstyle wrap="False">
code behind page
public DataSet name()
{
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("cl_london.mdb");
OleDbConnection MyConn = new OleDbConnection(connectionString);
string type = null;
string id_emb = null;
type = Request.QueryString["type"];
id_emb = Request.QueryString["id_emb"];
if (type == null)
{
OleDbDataAdapter cmd1 = new OleDbDataAdapter("select des_emb_peice_lenght from design_emb_peice_details where Emb_des_code='" + Session["type1"] + "'", MyConn);
DataSet ds1 = new DataSet();
cmd1.Fill(ds1);
return ds1;
}
else
{
OleDbDataAdapter cmd1 = new OleDbDataAdapter("select des_emb_peice_lenght from design_emb_peice_details where Emb_des_code='" + type + "'", MyConn);
DataSet ds1 = new DataSet();
cmd1.Fill(ds1);
Session["id_emb_for_design"] = id_emb;
return ds1;
}
}
krishna veer singh
|
|
|
|
|
Hi all,
I installed Dot Net 2003 on a Windows XP service pack 2(64-Bit Machine).
When I try to create a new project then I got a error
(The Web server reported the following error when attempting to create or open the Web project
located at the following URL ; " http://localhost/WebApplication'.'Http/1.1 503 service Unavailable .)
How I reslove this problem . Can u Plz help Me.
Thanks a lot .
|
|
|
|
|
Probably IIS is missing or some permission problems...
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Did you installed web server on your XP and with fronte page extensions. if not open control panel--> Add Remove Programs --> On left page click Add Remove Windows Component and Select IIS , then double click and select all options --> Insert Windows XP professional CD and click Next.
Then Start Creating New Project.
|
|
|
|
|
hi!
I have a problem.
I want to store the "Father's Name" in our Sql Server2000 through the TextBox in Asp.Net application.
I am using this code:
protected void Button1_Click(object sender, EventArgs e)
{
string s="insert into vehicletype VALUES('"+TextBox1.Text+"')";
SqlDataAdapter da = new SqlDataAdapter(s,conn);
DataSet ds= new DataSet();
da.Fill(ds, "type");
}
Following error is displayed:
Incorret syntax near s;
unclosed quotation mark begore the character string ')'.
Please solve my problem as soon as possible.
thanks
|
|
|
|
|
Replace single quote with double single quote.
string s="insert into vehicletype VALUES('"+TextBox1.Text.Replace("'","''")+"')";
I suggest you to read about SQL Injections[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hi! blue_boy
I am very thankful to you. Your Answer is absolutely solved my problem.
And I welcome your suggestion.
bye.
|
|
|
|
|
No problem,you are welcome.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Hai All,
Can anyone tell me the encryption algorithm which will return only numbers? I need to encrypt salary.In table salary feild is integer.So i dont want to change the data type of that feild. So i request to give me an algorithm which return integer.
Thanks in advance.
With regards Lijo
|
|
|
|
|
If you're storing it as encrypted then the field doesn't have be an int datatype. Are you decrypting it on the fly? How many records? Consider whether you should be encrypting the salary or the earners identity.
But fortunately we have the nanny-state politicians who can step in to protect us poor stupid consumers, most of whom would not know a JVM from a frozen chicken. Bruce Pierson Because programming is an art, not a science. Marc Clifton I gave up when I couldn't spell "egg". Justine Allen
|
|
|
|
|
You could use a block mode cipher with a block size the same size as your integer however, without multiple blocks there can't be chaining so it reverts to a trivial to break encryption.
Since salary data is confidential but not mission critical an XOR approach is a good one. You can also use a One Time Pad method.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego.
|
|
|
|
|
Dear All.
I am working on ASP.net 2.0 and using Master Page in which I used one user control and using a text box and button control for searching on the top.
The logo.ascx files which used in Master page is as follows:
<table width="100%" border="1">
<tr><td>
<asp:Image ID="logoimage" runat="server" ImageUrl="~/images/samnlogo3.jpg" AlternateText="SAMN Logo" BorderWidth="0" />
<!--<img src="images/samnlogo3.jpg" alt="SAMN logo"/>--></td>
<td valign="baseline">
<div id="searchdiv" name="SearchDiv">
<asp:textbox id="SomeText" runat="server"></asp:textbox>
<asp:button id="Submit" runat="server" text="Submit Form"></asp:button>
Now I want to take the text in the text box to another aspx page please tell me a better suggestion. <%@ previous page> does not works in User Controls. Also I am confused with <form > tag how to use it in the Master there is a <form> tag which is mandatory.
Then I want to fetch the data of textbox to use as search criteria in my SQL Query.
Please help me I have tries all possible ways I can do. But I did not got any proper solution.
I need it urgently.
Thanks in Advance.
|
|
|
|