|
|
|
Hey,
One of our clients wanted to integrate an accounting tool to the website basically for calculating commissions for his network-marketing. If any of you had come across similar tool or know of any, plz let me know...
Thanks in Advance...
-- modified at 7:43 Thursday 11th May, 2006
|
|
|
|
|
Are you the same person that asked about an accounting library a while back? If so, you got some suggestions. Did you pursue any of them and what did you think? If not just ignore me. I'm getting tired and should go sleep now.
The enemy's gate is down.
Welcome to CP in your language. Post the unicode version in My CP Blog [ ^ ] now.
People who don't understand how awesome Firefox is have never used CPhog. The act of using CPhog alone doesn't make Firefox cool. It opens your eyes to the possibilities and then you start looking for other things like CPhog and your eyes are suddenly open to all sorts of useful things all through Firefox. - (Self Quote)
|
|
|
|
|
i have a datagrid in my page. Each row of the datagrid consists a button to allow user to open a new window to display data. My problem is how i open EACH record details in a SEPARATE window when i click the button?
Can show me some sample code? Thanks.
-- modified at 2:20 Thursday 11th May, 2006
|
|
|
|
|
You can add some javascript to all the buttons in the datagrid at the time of binding the rows of the datagrid. The javascript will open a new window where you can display the data you want.
Best Regards,
Apurva Kaushal
|
|
|
|
|
How to apply javascript in all button in the datagrid? Can you give me some sample code? Or do you have another solution besides using javascript because i use VB code in ASP.Net to develop this page. Thanks
|
|
|
|
|
Hi,
You can use OnItemDataBound event of the datagrid to attach the javascript code to all the buttons. This event gets fired for all the rows of the datagrid. In this event you find the button control and add the javascript code using ButtonID.Attributes.Add.
Best Regards,
Apurva Kaushal
|
|
|
|
|
first in button function declare a string variable
Public str as string = e.item.cell[0].text
Now create an object for the window you want to open.
Now on the form load of that window write the following code.
if u r using the oledbconnection then
dim con as new OLedbconnection("Provider=;DataSource=;)
con.open
dim str as string = "select * from tablename where id = " + str
dim cmd as new oledbcommand("select * from tablename",con)
datagrid1.datasource = cmd.executereader()
datagrid1.databind()
Enjoy
|
|
|
|
|
What is basic diff between , datareader and repeater and record set
and what is diff between all above and dataset
|
|
|
|
|
How deal with parameter losting when i get parameters from URL address?
please tell me this my code :
first page:
aspx:
<asp:templatecolumn headertext="Content">
<itemtemplate>
Manage
secent page
cs:
int id=Convert.ToInt32(Request.QueryString["Id"]);
string name=Request.QueryString["Name"];
string type=Request.QueryString["Menutype"].ToString();
my problem :
parameter :"Id" is rignt,its value is 4
parameter :"Id" is error its value is HomePage?Menutype=0
parameter :"Menutype" is null
I don't known why! Can help me !!thanks very much!
-- modified at 23:12 Wednesday 10th May, 2006
|
|
|
|
|
Use the "Ignore HTML tag" options, so that your code becomes visible.
From the description of the problem I might venture a guess:
You have separated the parameters using ? instead of &.
---
b { font-weight: normal; }
|
|
|
|
|
|
What?
---
b { font-weight: normal; }
|
|
|
|
|
I try to pass two parameters .That is no problem
But I try to pass three parameters .error!!
and Don't use '?' instead of '&' . if that ,it will appear error!
I don't known why?
|
|
|
|
|
Show the code, then. I already made the guess based on too little information, I'm all guessed out.
---
b { font-weight: normal; }
|
|
|
|
|
<asp:templatecolumn headertext="Modify">
<itemtemplate>
修改
another page:
int id=Convert.ToInt32(Request.QueryString["Id"]);
string name=Request.QueryString["Name"];
string type=Request.QueryString["Menutype"].ToString();
now I have changed into two parameters .
Three parameters ,I don't known.
|
|
|
|
|
Look at what you posted. Do you see the code?
---
b { font-weight: normal; }
|
|
|
|
|
Yes!I can see right links ,but it is wrong,when get it
|
|
|
|
|
And in my first reply, what did I tell you to do about it?
---
b { font-weight: normal; }
|
|
|
|
|
separated the parameters using ? instead of &.
I have tried
but not succeed
|
|
|
|
|
No, that wasn't what I told you to do. That was what I guessed was wrong with your code (which I still haven't seen).
What I told you to do was this:
"Use the "Ignore HTML tag" options, so that your code becomes visible."
---
b { font-weight: normal; }
|
|
|
|
|
Thank you !but I don't what is "Ignore HTML tag",Could you tell me how do?
show your code please! Give me a example better ! thanks again! ;)
|
|
|
|
|
When you write a reply, look between the text area and the "Post Message" button.
There is a checkbox with the description "Ignore HTML tags in this message (good for code snippets)".
Use that.
---
b { font-weight: normal; }
|
|
|
|
|
I have two aspx pages, when i click the button on X webpage, the Y webpage will pop up and display the X webpage's additional information. My question is , What is the code for me to coding in order to let Y webpage AUTOMATIC REFRESH if the X webpage is click on another button?
(in other words, the Y webpage will automatic show the information regarding what the user click on X webpage.)
thank you.
any question please ask me.
|
|
|
|