|
you can make a page as a popup.
use ajax controls lib.
fire up the page as a popup.
after all it'll not be as a popup but it'll do...
|
|
|
|
|
but when i try to fetch records from remote sql server using those detail in connection string, i am getting this error
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)
This is the code i am using to connect to "Login" table in my database.
Private Sub GetAll()<br />
Dim MyConnection As SqlConnection<br />
Dim MyCommand As SqlDataAdapter<br />
<br />
MyConnection = New SqlConnection("server=XXX.X.XXX.X;uid=X;pwd=X;database=X")<br />
<br />
MyCommand = New SqlDataAdapter("select UserName, Password from Login", MyConnection)<br />
<br />
ds = New DataSet<br />
<br />
MyCommand.Fill(ds)<br />
<br />
DataList1.DataSource = ds<br />
<br />
DataList1.DataBind()<br />
End Sub<br />
When this page is run, i want all the user's UserName and Password to be dispalyed.
However, i am getting the above mentioned error.
what could be the problem?
|
|
|
|
|
You need to configure your Sql Server ..
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
thanks for replying.
i am talking about the remote server on my web hosting campany.
i dont think i can play with their serve's configuration.
|
|
|
|
|
I have faced the same problem before some time so to solve it u'll have to allow remote connection option when u installing sql server
Hope its will help u
The Great Pleasure In Doing That Things That Other People Say U Can't By Doing This U Can Shut Their Mouth
|
|
|
|
|
hey cant it be done after installing sql server ...think
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
thank you for replying.
i am talking about the remote server on my web hosting campany.
i dont think i can play with their serve's configuration.
|
|
|
|
|
there are many cases...in which this situation arise ...check out the
connection string ...
Dont Get Paid for the Hours you worked, Get Paid for the Work You Have Done in an Hour.
|
|
|
|
|
hai,
i want to modify given text(font,size,color).i donot know how to do.so if you know the coding replay to me.(.net with c#)...
|
|
|
|
|
|
hai ,sorry i want .net coding so please replay the code..
|
|
|
|
|
suppose you have a textbox control ,then you set its properties in this way.
TextBox1.BackColor = Drawing.Color.Aqua
TextBox1.BorderStyle = BorderStyle.Dashed
TextBox1.ForeColor = Drawing.Color.Azure
|
|
|
|
|
thank you,
but i am using mail concept.
TextBox1.BackColor = Drawing.Color.Aqua
TextBox1.BorderStyle = BorderStyle.Dashed
TextBox1.ForeColor = Drawing.Color.Azure
it is static one.but i want dynamic change....you known the code..
|
|
|
|
|
In my database,i set flag value...according to dat value...i want to change colur of one field in a gridview...if its flag value is 0 colourof paticular row is red...other wise it is yelllow...how to do this...send me the code.i am using(C#,asp.net 2.0)
|
|
|
|
|
I think you can try the Grid_RowCreated event for changing the color of the particular row.
Try this in the Grid_RowCreated event :
if yourCondition then
Grid.Rows(e.Row.RowIndex).BackColor = Drawing.Color.Red
else
Grid.Rows(e.Row.RowIndex).BackColor = Drawing.Color.Yellow
end if
Sekhar
|
|
|
|
|
Hello,
I want to have an hierarchy of two levels of data. I have a collection of items. Each item has many collumns. In the Master table I would like to show some of them. In the detail column I would like show more details. I want to Expand the details server-side and Collapse it client-side or to Show the details server-side and Hide them client-side.
Now would you please give me the right solution or related web sites to solve this problem?
Best Regards,
Razi
|
|
|
|
|
hai,
i m very new to webservice.
i would like to create a simple form which consist of 3 textbox and one button.when user enter numeric values in textbox1 and textbox2, and if user press the button the ADDITION should be displayed in textbox3. how to proceed this?
currently i m using ASP.NET with C# (.net 2005, 2.0 framework)
|
|
|
|
|
Hello all,
I am using fckeditor .When I take the image in image tag IN fckeditor i.e ,the data will go in the database like because I have replaced the double quote with single quote because it doesn't allow the double quote when I retrieve the data .I am retrieving the data using the code expressions(expression builder) in literal control.But when I run the application it gives me an error i.e "Newline in constant" and invalid term '>' ,etc.
But with the same code when I take an image in the image button in fckeditor i.e it takes the html source as "" ,it retrieves the data properly without giving an error.
Please can anybody tell me why it is giving me an error while retrieving the data when I am using the image tag "" in fckeditor.
It' urgent
Thanks in advance
|
|
|
|
|
How can i call a Procedure of a Parent form from a child Popup window.
I am using ASP.Net 2005 (using VB).
Please Help.
Thanks in advanvce.
Sekhar
|
|
|
|
|
In Javascript child popup window you call
window.opener.parentwindowfunctionname();
|
|
|
|
|
thanks senthil
but how can i call the javascript from within the code window(aspx.vb) file. Please help me , I am new in asp.net.
Thanks.
Sekhar
|
|
|
|
|
hello,
Iam working wit one webpage there is a option for download the files. I have no idea how to provide download option in my web page. Can any one help me ? looking fr yor responce its urgent....
|
|
|
|
|
Hi all,
I am also facing the same requirement, but this is an Intranet application and when the user logs in for the first time a software has to be downloaded and it has to be installed.
Can any one help in this regard?
Best Regards,
M. J. Jaya Chitra
|
|
|
|
|
I think u can just give a link to the file which u want to be downloaded, which will popup a window to download the file.
Sekhar
|
|
|
|
|
I want to assign permissions in my login page according to different preveledges.
please help me
thanks
|
|
|
|