|
Hi
i have done it.
thanks for ur reply
Pathan
|
|
|
|
|
Look at the url you are trying to redirect to....
http://www.paypal.com/cgi-bin/webscr&cmd=_xclick&business=xyz@xyz.com
It should be:
http://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=xyz@xyz.com
|
|
|
|
|
Why are you using ampersands?
Since you are using line terminators (;), shouldn't they be += ?
|
|
|
|
|
Hai to all,
Here i am using two grids in my form.My probelm with them is,
I am using checkbox to select multiple rows and then i need to diplay them in other 2nd grid(selectd rows).
How to do this ??,and in the second grid i need to add a new column for each row which was selectd from the first grid.
Give me some solution
Thanks in advance
kissy
|
|
|
|
|
You pretty much laid it out. You iterate through the original grid to check the checkbox status. If it's selected, add the item to another list (or datatable), then bind the new list/table to the 2nd grid.
|
|
|
|
|
I am using <asp:fileupload> to upload a file in a page. i am selecting some file in this object. but at every post back the content of the fileupload is gone. how to retain it. Please Help.
Thanks in Advance
Regards,
Prya
|
|
|
|
|
I'm reasonably sure that you can't. The file input does not allow you to pre-populate it with a value for security reasons. Which is why the value will not be kept between post backs.
|
|
|
|
|
Why would you want to maintain a filename after postback?
|
|
|
|
|
hai,
I am developing a web application in which, every pages, should not need the toolbar, addressbar, statusbar,etc from the starting page.
Issue: How to make a page blank as mentioned above during the page load itself?
[I need either C# code or HTML code]
sooraj
|
|
|
|
|
The simple answer is that you can't. However, you can achieve what you want. You can only set those things up when opening a window. So you can use the following javascript:
window.open("app.htm","", "toolbar=false,location=false,status=false,menubar=false,scrollbars=false");
So basically you'll need an extra page to "launch" the application, then you can just run your application within the newly created window.
HTH
|
|
|
|
|
Hi,
As per the three module of development (related to data access from SQL to the front -end and reports on Html)i have developed (ASP.net With c#) n tested it. Its running ok. Speed is also fine as compare to Crystal Report.
Sincearly i have no idea about how the data comes from SQL (format)to the main application.
Is there any better solution.. if there is then plzz kindly reply me..
sincerly,
Shriya
|
|
|
|
|
DataReader is faster than other control but it's connected and forward only.
u can choose as per your requirement.
Keep Smiling !!!
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
Thnx For your precious reply,
ya, i have choosen Reader, thts absolutely right..
I mean if there is any other way which can increase the performaence in terms of time.
Regards,
Shriya
|
|
|
|
|
* You can try an optimise the queries you are using.
* You can return the minimum information (saving on network bandwidth and memory in the SQL Server)
* You can install a faster network
* You can install more memory in the SQL Server
* You can install faster hard disks in the SQL Server
* You can fine tune the indexes on the tables
I could go on if you wish, but you would be better buying a book on how databases work.
|
|
|
|
|
Thnx for reply,
sorry for late respose from my side..
regars
Shriya
|
|
|
|
|
use cache for fast result
parwej and dev
|
|
|
|
|
Thnx for reply,
sorry for late respose from my side..
regars
Shriya
|
|
|
|
|
Thanx
Keep Smiling !!!
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
hi friends
i have textboxes in dataview for qty field and one command button.
now i update qty field on click of UpdateCommmand button.
and database is updated.
i have one usercontrol in which i bind qty and total price.
my problem is that when i update qty field in .aspx page then usercontrol is not updated records.
i want to rebind usercontrol when i click on button.
how to rebind?
plz reply me
thanks in advance
Pathan
|
|
|
|
|
update dataset oleDB from datagrid
this is not working !! why??
or send working link... i dont wanna write SP or any query for that (update table values.....)
just using commandbuilder...
Private Sub DataGrid1_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.UpdateCommand
con.Open()
adapter = New OleDb.OleDbDataAdapter("Select * from Customers", con)
Dim cmd As OleDb.OleDbCommandBuilder
cmdbuilder = New OleDb.OleDbCommandBuilder(adapter)
adapter.UpdateCommand = cmdbuilder.GetUpdateCommand()
adapter.DeleteCommand = cmdbuilder.GetDeleteCommand()
adapter.Update(ds.Tables(0))
DataGrid1.EditItemIndex = -1
setData()
End Sub
"You can do any thing you set to your mind" - theGhost_k8
|
|
|
|
|
hello All ,,
I am very New For C# and Asp.net programming..I have Made Two C# Files..One Is First.cs having Class Name FirstClass On Public Access Level ..
Such As
**First.cs**
public class FirstClass : System.Web.UI..Page
{
//Some variable n Properties--
}
And another File Second.cs Having Class SecondClass On Public Access level..
Such As...
**Second.cs**
public class SecondClass : System.Web.UI.Page
{
// Some Code here;
FirstClass obj = new FirstClass(); ///// Error On this Line
}
And i have Made One aspx file. Which IS user.aspx
Such As ..
**user.aspx**
<%@ Inherits="SecondClass" Src="Second.cs" Language="C#"%>
....
...
...
My Problem Is That..
I have Included Second.cs file in user.aspx
How I can Create Object of FirstClass From First.cs In
The SecondClass Which is in Second.cs File..
I am Making Inline Program in asp.net ...
How i come over from this problem..
plzz Let me Soooon.
Thanx in Advance
Life is not easy ,let's make it.
|
|
|
|
|
hello... iam working on a Expert system project and i hav a problem how to move from one webpage to another..
something like the NEXT button which we can see in this webpage.....which is directing us to a new webpage i want to do this in ASP.net or c#.net....
|
|
|
|
|
on next button click event use:
Response.Redirect("NewForm.aspx");
|
|
|
|
|
|
when i used vs2003 i used to code like below...
[Transaction(TransactionOption.Required, Isolation = TransactionIsolationLevel.ReadCommitted)]
public class BizClass : ServicedComponent
{
[AutoComplete(true)]
public void InsertBBS()
{
using (DAClass da = new DAClass())
{
try
{....
}
}
}
}
but when i coded like the above using vs2005 it didn't work...
there is a runtime error...(i didn't do the websharing thing... as you know.. vs2005 provides the dummy iis.. )<-- is this why it didn't work??
i wonder how the transaction setting is changed in .net Framwork 2.0
that's not how i suppose to do??
Then how i set the isolation level and transaction options...??
|
|
|
|