|
Hi,
I have dataset in that by using the for loop i am binding the values to the dataset that means each time dataset value will be increse or decrese.
Depending upon that these values will have to added into then arraylist.
Thanks
|
|
|
|
|
Hey
I'm having problems connecting from sql server to the web server
anyone know any good troubleshooting articles
Ive looked on the internet but nothing seems to help me
thanks in advance
|
|
|
|
|
Can you quantify what exactly the error message or problem that you are experiencing?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
do i need to configure remote connections on sql 200 if so how/
i have sorted the ip/tcp
do i need to open a port?
thanks
|
|
|
|
|
Looks like your SQL server is configured to use Named Pipes and not TCP as the default communications. Use the SQL Network Configuration tool to change the default protocol to TCP and open up port 1433, unless you configure another port.
|
|
|
|
|
|
I have a field uid in sqlServer whose type is datetime and it stores the id in format MM/dd/yyyy,hh:mm:ss.ms tt. but when i retrieves it in asp page from data base connectivity the format is MM/dd/yyyy,hh:mm:ss.
please help
|
|
|
|
|
So what u want Earlier or later One?
i think u want in this format -> if yes then reply. MM/dd/yyyy,hh:mm:ss.ms tt.
Believe Yourself™ :->™
|
|
|
|
|
Just try this one.
<br />
select convert(varchar(100),uid,113) from TableName
i hope this will help.
Believe Yourself™ :->™
|
|
|
|
|
Hi friends
how to find database path automatically in connection string in windows application
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
Which type of database are you using:
Microsoft Sql Server / Microsoft Access or some thing else.
|
|
|
|
|
i am using Ms access database and i keep tis database in my application andd pass connection string like this :-
Private _OleDbConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\LcsCwaChat\LcsCwaChat\UserInformation.mdb;"
but i want it detect path(C:\LcsCwaChat\LcsCwaChat\UserInformation.mdb;) automatically.
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
Piyush,
I think this might help you but for this you have to place your database in your application.
Private _OleDbConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=..\UserInformation.mdb;"
If this will not work the place your database in bin directory and check it again.
|
|
|
|
|
Thanks Its Also Working
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
ANSWER:-
Application.StartupPath.Replace("bin\Debug", "UserInformation.mdb")
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
|
|
|
|
|
Hello Friends,
I want to get the ID(unique field in "GridView3") respectively i click on the "Select" button or link. Here i'm giving my code. Plz check and make me correct.
protected void GridView3_SelectedIndexChanging(object sender, GridViewSelectEventArgs e)
{
string str = GridView3.SelectedRow.Cells[1].Text;
lblMsg.Text = str.ToString();
OR
lblMsg.Text = GridView3.SelectedRow.RowIndex.ToString();
}
But it throw(s) an error like
Object reference not set to an instance of an object.
|
|
|
|
|
Hi,
im using Javascript(setTimeout()) timer to partial postback of my aspx page.
this works fine in IE.but not in Firefox.
anybody know about this....
|
|
|
|
|
IE does not strictly fallows W3C Standards.
If you post the code then some one can help you
try to write generic javascript
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hi thanks for reply,
here,
function beginrefresh()
{
alert('d');
document.getElementById("Button1").click();
setTimeout("beginrefresh()",60000)
}
window.onload=beginrefresh
in this event i get multiple alert continously. but i declared 1 min interval.how is this possible...
i think in each click page get refreshed then timer also restarted...
is it correct? if s pls correct this
|
|
|
|
|
First thing i want to ask you
Do you want to refresh the page after certain interval of time ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
No, im calling one event ie button click in regular period of time
|
|
|
|
|
Dear Programmers,
I am facing a problem in the loading of a xml file in ASP.NET 2.0. One thing else that the file is on a remote location. It is displayed in Internet Explorer but when the page load is show a message to press yes. If I don't press yes button then it will not show me the remote file otherwise it show me. How can I remove that message and secondly the file is not loading in FireFox. For FireFox i am using the following code:
if (document.implementation && document.implementation.createDocument)
{
xmlDoc=document.implementation.createDocument("","",null);
xmlDoc.async="false";
xmlDoc.load(xmlFile);
xmlDoc.onload=xmlFile;
}
It show me the following error in firefox:
"Error: uncaught exception: Permission denied to call method XMLDocument.load"
What shall i do. Please help me in this regard.
Thankyou to all those who give a reply.
|
|
|
|
|
Check this URL might be helpfull
http://forums.asp.net/t/1155866.aspx[^]
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Thanks for replying me sundeep.
The code has still a problem. It is still giving me the following error:
"Permission Denied to call Method XMLDocument.load"
Can you please help me in this regard. Thanks
Note: I am trying to open xml file in Mozilla FireFox.
Waiting for your reply
|
|
|
|
|
In my page i have used AJAX model popup, once i use the model popup it will generate error on click on any button.
the error is "Sys.InvalidOperationException: Handler was not added through the Sys.UI.DomEvent.addHandler method"
Best Regards,
Chetan Patel
|
|
|
|