Posts

Showing posts from February, 2010

IsCrossPagePostback–pass data from one page to another

Hello friends again with new concept.. Page.IsCrossPagePostBack in many case we are supposed to pass data from one page to another page. So we can pass data through Querystring , Session variables , this options are quiet helpful when Data is less in quantity.. but now what if we want whole page to another page… ? and in previous page Data is in very big amount around 20 – 40 fields… so it is not feasible to pass that data in querystring or storing all data in session. there also another ways, like Cookie or hiddenfields using Post method.. but all this require more trouble.. but what if we get previous page controls like it is “on same page” for that we have a good option called IsCrossPagePostback   it is same like our Page.IsPostBack . Page.IsPostBack treats only for current page’s postback but to track weather postback is from Current page or previous page we can use IsCrossPagePostBack. One Important Note : Respose. Redirect will not help us to track ...

Query for Recursive Data

Hi friends.. here is the query for Data kind of Recursive. For Example…. for a particular thread in forum, its Comments so in this case… The Data structure will be like this Table_3 Id int ThreadText nvarchar(MAX) PostedBy int PostedOn DateTime ParentId int Now if we want to have the hierarchical View of Data. We can have query like this 1: SELECT T2.id , T2.name ,T1.id as ParentId, T1.name as ParentName 2: FROM Table_3 AS T1 INNER JOIN 3: Table_3 AS T2 ON T1.id = T2.parentid now the Task is to Arrange the Data how you want to Display.. All the best

Trigger with multiple insert/ Update/Delete

Hello Friends Recently i faced a problem and got solution of it so.. i would like to put the solution on my Blog I wanted to use Trigger to drop entries in a table on insertion of records in its parent table... on first phase i created a trigger for the parent table ( Table_1 ) to drop entries on Table_2 . this was working very perfectly... but suddenly i came to know that it is not as per i expected... i mean when i fire query of Insert using single record insert i.e Insert into Table_1 (...fields..) values (...values..) in this case it was perfectly fine... but issue was when i fire query of multiple records to insert on a single query i.e. Insert into Table_1      select [Name],[Address] from Table_3 In this case the trigger fires only once for first record so i was not getting rest records inserted into Table_2 after doing small RnD I came to know...the exact solution

Payment Gateway List World wide

Authorize.net , Authorize.net, United States   Bank Merchant POS (BMP) , Bank of China, China Bibit , Bibit Internet Payments, Netherlands Bill4me.com , Facilitate I.T. Inc., Canada Biz*Star PX , Shanghai Shared Data Network Co. Ltd (SSDN), Singapore Business Gateway Service , WorldCom, Japan Buy-Line , Bank of New Zealand, New Zealand CAFIS , NTT Data Corp., Japan Cambist , Cambist Merchant Solutions, United States Camtech , Camtech Corp., Australia CCNow , CCNow, Inc., United States Chinatrust , Chinatrust Commercial Bank (CTCB), Taiwan, Province of China CIBC , Canadian Imperial Bank of Commerce, Canada CIPAS Indonesia , PT. CIPAS Indonesia, Indonesia iBill , Internet Billing Company, Ltd., United States Anacom , Anacom Merchant Services, United States CitiBank India , CitiBank India, India ClearCommerce , ClearCommerce Corp., United States ClickBank , Keynetics Inc., United States ClickPay , Professo, LLC, United States Ecgate , Ecnet, Sou...

Payment Gateways

After a long time... Again on ground... Ha ha ha With new concept... This time i am with Payment Gateways... let's start from initial point (from client Requirement ) Suppose Client requirement is to integrate payment Gateways... then our quick Questions should be Which Payment Gateway Behavior of payment Gateways