|
Thank you for answer.
Have a nice day^^!
hi
My english is a little.
anyway, nice to meet you~~
and give me your advice anytime~
|
|
|
|
|
hi
how to UnSelect all rows in GridView - asp.net ?
if i select one row in GridView and make any refresh, how to unselect this row ?
thanks
|
|
|
|
|
|
Try to this in Page_Load, it works
GridView1.SelectedIndex = -1;
|
|
|
|
|
Hi All,
I have a ASP.Net Web Application which sends status messages to another JSP or some other web application throgh a WCF service hosted in my IIS 7.0. Normally it is sending the messages. But some times it may fail, so I want to re-send the failed status messages. So can anybody help me which approach is the best fit for this requirement?
I am confused about the approach, like whether should I use a database table to keep the failed records and activate it through the Windows service?
Or should I put the failed records in XML or Log files and read it from there resend it? Is there any other effient way than implementing Windows service?
Which is the best one please help me in finding the good option, for performance of the application and implementation?
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
It looks like you are trying to implement a guaranteed delivery mechanism for messages. If you want to build your own, you could implement it as a database message queue and have a separate process handle the delivery of the messages. You have all kinds of flexibility (and complexity) by implemeting it as a database table, but it is really up to you to decide how to implement it.
|
|
|
|
|
Hi,
Can you please tell me the pros and cons of these options. Atleast if any link is provided that would be great please.
Thanks & Regards,
Md. Abdul Aleem
NIIT technologies
|
|
|
|
|
|
Issue: I need to prevent cross site scripting
Current Solution:
1. Create a token based on session id and time in the Global Session Start method.
2. Store token in hidden form variable on every page load.
3. On submission, compare form variable with session token.
Question: What is the proper way to implement my solution? This has to be wrong. I can not see in anyway how this would prevent CSS. Under no circumstances would the form variable differ from the session variable.
|
|
|
|
|
|
|
hi ,
I need to store some large data in the buffer from the database and from that buffer , i have to process each data one by one. Which buffer do i need to use if I am using asp.net ?
suchita
|
|
|
|
|
it is very broad question. What is your data? How your data structured? Would any of the collection classes help?
|
|
|
|
|
yes. all the data are in string format.
suchita
|
|
|
|
|
Try looking at the ArrayList collection.
|
|
|
|
|
ya ok. i'm looking into it and i think it can work for me...
thanks
suchita
|
|
|
|
|
David Mujica wrote: Try looking at the ArrayList collection.
Only if the OP is using .NET 1.1. On any other versions, a generic list would be better.
Best wishes,
Navaneeth
|
|
|
|
|
Hi,
I tried with "SqlTransaction" for multiple users inserting record at same time in my sample application ,
it is working fine in my sample application,It is not working in my Project ,
this project has one dynamic page in this page has 5 dynamic textboxes and 2 dropdown lists these controls i created in Page_PreInit and
i need to save these controls data in database sqlserver 2005 ,
data saving properly in my system with vs2008,i created virtual directory for my project then we are trying
to insert record then it inserting records is done successfully but data is not correctly inserted (data is been swapped between two user or more)
Regards,
Vishnu.
|
|
|
|
|
vishnukamath wrote: data is been swapped between two user or more)
I guess you may be using some global state. Are you using static (shared in VB) variables?
Best wishes,
Navaneeth
|
|
|
|
|
hi,
Thanks for the reply. but what do you exactly mean to say by '
global state '. Is it necessary to use for multiple users inserting records at same time into the same table.
Regards,
Vishnu
|
|
|
|
|
Hope this[^]will give you an idea.
With Regards,
Kasson.
Birth is a mistake you'll spend your whole life trying to correct.
|
|
|
|
|
Hi ,
Thank you for your reply,
Multiple users accessing same dynamic page ,if two users trying to insert on same page and same table
, it is inserting two records but first record or second might be getting null values in all columns in table.
please suggest me better way.
Regards,
Vishnu.
|
|
|
|
|
Hope this[^]and Big resource[^] will give you an idea.
With Regards,
Kasson.
When there is a conflict between the heart and the brain, let the heart be followed
|
|
|
|
|
Hi,
Thank you for your reply , But i'm using Asp.net 3.5 with c# and sql server 2005, not VB 6.0.
Regards,
Vishnu.
|
|
|
|
|
Hi ,
My issue Solved , so don't waste your valuable time.
Regards,
Vishnu.
|
|
|
|