|
<add key="ConnS" value="">
in the value part I tried to use my connection "Data Source=.\SQLEXPRESS;..."
but I got this error >> Unrecognized configuration section add
Do you have any project or link from which I can have a sample ??
Thanx
Mr.K
|
|
|
|
|
There is a table in my aspx page and there are six buttons in that tale.if I select any button then it works as i want.
But by default First button get selected.But i want that button should be selected that I clicked.
What is the process.Do i have to change any property.
Can anybody help me .It is very urgent.
Thanks
Raghvendra Kumar Roy
|
|
|
|
|
Raghvendra Kumar Roy wrote: But by default First button get selected.But i want that button should be selected that I clicked.
When first button is getting selected ? When you press enter key or when click on that button ?
|
|
|
|
|
when i click any button then first button is getting selected
Raghvendra Kumar Roy
|
|
|
|
|
Raghvendra Kumar Roy wrote: hen i click any button then first button is getting selected
Selected or is it firing first button code ? Make sure events are added properly.
|
|
|
|
|
Raghvendra Kumar Roy wrote: It is very urgent
There's a surprise. Try a sensible header, they actually work better.
Raghvendra Kumar Roy wrote: Can anybody help me .It is very urgent.
I find it hard to believe that this is super urgent. What do you mean by 'selected' ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
What is wrong with the following:
Dim nodesArray() As String
Dim i As Integer = 0
For Each node As RadTreeNode In nodes
nodesArray(i) = node.Value
i = i + 1
Next
I'm trying to populate an array, but I keep on getting the following error:
Object reference not set to an instance of an object.
Please can some one help?
Regards
|
|
|
|
|
.NET Enthusiast wrote: Dim nodesArray() As String
You have not initialized your array. Try
Dim nodesArray() As New String
|
|
|
|
|
C:\Inetpub\wwwroot\...\PowerSearch.aspx.vb(317): Arrays cannot be declared with 'New'.
Any other ideas??
|
|
|
|
|
VB.NET I don't know. C# you can instantiate array's like
string[] Arr = new string[10];
|
|
|
|
|
Instead of an array ( which is empty, because you've not called new on it ), try using a List of string. Or just call new on the array, so that it has the space to add the values you're adding.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
HI!
when user press enter on a textbox, cursor move to next textbox. is it possible without using javascript?
|
|
|
|
|
fmlove wrote: without using javascript?
Of course not. Why do people keep asking questions in this forum and saying 'without using javascript'. You have NO other options on the client side, unless you want to support IE only and use VBScript.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Because i write a javascript but it not support on Firefox Browser
|
|
|
|
|
Hi,
This is from Chandrakanth. I am using GridView Control. And I would like
to update the records through Coding. Can any one tell me how to go for
that.
Thansk in Advance
With Regards
Chandrakanth
Chandrakanth
|
|
|
|
|
A gridview supports in place adding and editing of rows. Deleting is also easy to add. There are tons of tutorials on the web, there's no way I could explain it as well as an article could, in a forum reply.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi,
I want to generate images on button click by using image paths present in listbox.
|
|
|
|
|
Do a postback, and generate your image using GDI+, just draw them based on the values in question. You can then use Response.BinaryWrite to send the image back down, or write it to the local file system and generate an img tag. Or you can just send it as a download.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
its very urgent.........
sir/madam,i have the method below where i want to refer textbox control but im unable to do so..plz help. Im calling this method using javascript.
thanx in advance
[AjaxPro.AjaxMethod()]
public string add()
{
SqlConnection cn = new SqlConnection("user id=sa;password=sa;database=pubs;data source=.");
cn.Open();
string str="select imagename from tbemp where imageid="+cnt;
SqlDataAdapter da = new SqlDataAdapter(str, cn);
DataSet ds = new DataSet();
da.Fill(ds);
string imagepath=ds.Tables[0].Rows[0]["imagename"].ToString(); TextBox1.Text=imagepath;//error comes..unable to refer textbox here at runtime
return imagepath;
}
-- modified at 3:08 Saturday 18th August, 2007
|
|
|
|
|
I developed a web application in VWD2005 and uploaded on net. But i got an error, which is "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. "
What to do??
And when i transfered it to Visual studio .net IT WONT WORK AT ALL..
What to do...?
|
|
|
|
|
Hi,
In your web.config add:
<configuration>
<system.web>
<customErrors mode="Off" />
</system.web>
</configuration>
Tiru
-- modified at 8:15 Thursday 16th August, 2007
|
|
|
|
|
What should i add... "BR"...?
|
|
|
|
|
Sorry, fixed the first post so that it should present the solution...
/Tiru
|
|
|
|
|
I developed a web application in VWD2005 and uploaded on net. But i got an error, which is "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. "
What to do??
And when i transfered it to Visual studio .net IT WONT WORK AT ALL..
What to do...?
|
|
|
|
|
sacheesach wrote: I developed a web application in VWD2005 and uploaded on net. But i got an error, which is "An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. "
The extra line to web.config i wrote would get you trough this part as then you will see the error occuring.
Tiru
|
|
|
|