|
Are you able to connect to the DB server via Query analyzer or through remote desktop.
Think you dont have rights to connect to the server.
|
|
|
|
|
Yes i am able to connect to database using query analyzer.
|
|
|
|
|
Then the problem is in the transaction that you are using.
Where is the transaction being controlled ? is it in the business layer or at the SQL level ?
Have you closed all the transactions properly ?
Have a look at the activity monitor, filter by the database and check.
|
|
|
|
|
1, How fill CheckBox
2, CheckBox value get it from database
3, as per database value (true/false). checkbox wil checked or unchecked
4, checkbox are in grideview
|
|
|
|
|
mayankb_07 wrote: 1, How fill CheckBox
CheckBox1.Text="Your Text"
mayankb_07 wrote: 2, CheckBox value get it from database
3, as per database value (true/false). checkbox wil checked or unchecked
Read Value from database
if(CheckedTrue())
{
CheckBox1.Checked=True;
}
Note : CheckTrue() Will return true and false based on your database value. You need to implement that.
mayankb_07 wrote: 4, checkbox are in grideview
Use TemplateField in Gridview
Hope this will helps to resolves all of your query .
cheers,
Abhijit
|
|
|
|
|
How to send sms on particular date like on birthday etc in asp.net..
|
|
|
|
|
Can you bit detail about you requirement?
Cheers!!
Brij
|
|
|
|
|
|
Thanks for reply..i already use webservice for sending sms..but now i want to send sms on specified date time whether your application is running or not..sms should be sent..
|
|
|
|
|
Write a console application and schedule it using windows scheduler.
|
|
|
|
|
Thanks for reply..plz would you tell me in some detail..
|
|
|
|
|
meghamaharshi wrote: would you tell me in some detail..
I am not sure that I can explain more clearly. My point was
1 - Create a console application
2 - This console application should communicate with necessary webservice(or whatever it is) to send SMS.
3 - It should exit automatically once finished.
4 - Put this console application exe on your server and schedule it using windows scheduler.
Was that enough?
|
|
|
|
|
Hi ,
I have a problem regarding grid view.I want to clear gridview without postback is it possible.I am using Asp.Net2.0 and C#.net
Thanks.
|
|
|
|
|
ais07 wrote: I want to clear gridview without postback is it possible
What does it mean ? Clear gridview mean no DataSource of Gridview.
cheers,
Abhijit
|
|
|
|
|
Thanks For Reply,
Actually problem is that as I am showing detail in on click of view button but I want to clear the detail on selected change event of dropdown list box.But problem is that,that dropdown list box is in update panel.
|
|
|
|
|
ais07 wrote: that dropdown list box is in update panel.
There is two solution
1. Put the Gridview on the same updatepanel where the dropdownlist is ( if no designing issue)
2. Put Gridview to another Updatpanel. Change the UpdatePanel property UpdateMode="Conditional" . Now on selectedIndexChanged of dropdownlist , update the Updatepanel of gridview UpdatePanel2.Update()
[Assume Updatepanel2 is the updatepanel which hold the gridview ]
I think, Option 2 is best for you !!!
let me know if any other issue .
cheers,
Abhijit
|
|
|
|
|
Thanks For Reply Abhijit,
2nd solutions works.
Thanks.
|
|
|
|
|
Great !!! Go ahead !!
cheers,
Abhijit
|
|
|
|
|
i m using jquery datepicker with gridview (in Template field) but it shows only in first row of gridview in rest rows it is missing
how can i solve it
thankx in advance
|
|
|
|
|
http://www.aspsnippets.com/Articles/DateTimePicker-in-ASP.Net-GridView-using-jQuery-DateTimePicker-Plugin.aspx
|
|
|
|
|
Background info:
I am currently working on a project to make scheduling university classes for students easier. The problem I am trying to solve is how does a student pick 5 classes that will all fit in there daily schedule (no over lap ect). So the idea is I will create a web based program that will allow the user to select the classes they want and I will try to find a schedule that will work (looking through all the different lecture sections, lab sections etc).
My question:
I will be loading the class information from a database to the website, I would like to prevent post backs when getting information.
For example:
The user would select what faculty they want to take the class from using a drop down list, once they have selected there faculty another drop down list will be populated with all the available classes.
I would like to prevent a post back when the information is feed into the second drop down list. Can this be done? Should I load all the information at once?
Thanks for your help, I did look through some of the articles and could not find an answer. Thanks again!
|
|
|
|
|
If you know Ajax then use Ajax Update Panel and put Dropdown list boxes in it.
|
|
|
|
|
I have not used ajax is this the only way to do it?
Thanks for the reply
|
|
|
|
|
If you want to prevent PostBack, This can be the best option for your sites. or use Client side controls.
cheers,
Abhijit
|
|
|
|
|
and I have a serious problem in my website...
I'm handling a login project, where let the user to login in pageA before entering pageB or pageC. When running at localhost, everything was fine.
Now the problem is when i put into the webserver. The session timeout within 30sec or less eventhough i had code :-
set Session(Login) = user in pageA
-
Session.Timeout = 60 (in pageB & pageC during
pageload!)
If Session(Login) = Nothing Then
respone.redirect(PageA) Else ...............
Although I set the session timeout in web.config as well,
it didn't work
in web.config:
I set the session state to be inProc (didn't work)
also i did:
<sessionState
mode="StateServer"
stateConnectionString="tcpip=65.182.97.156:42424"
cookieless="false"
timeout="20" />
and it didn't work...
many Thanks!
Nour Abdel-Salam...
A Trainer and a Web Developer in Jedda Int'l Computer Center(JICC)
|
|
|
|