|
windows can store your logon information for network locations and web sites
in Control panel->user Account->manage my network password->> (Stored User Name and Password)
and you can see this informatin in a list and if you click properties you can see
server name & user name & password.
can add new entry and change them or remove if you want
How can i retreive the list of server name & username for all stored account
(put them in dropdownlist or saved them on DataBase)
using asp.net or vb.net code
can any one help me ????!!!!
Saeed
|
|
|
|
|
Hi,
Im doing a module which looks similar ot MS word. Like, we can draw images like BOX, CIRCLE, ELLIPSE by selecting the images from the tool bar. Those thins are coimpleted. Now i want to select all the images which has been drawn on the shart, like selector box ir by draggind mouse over all the images and select all the images under the dragged rectangle image.
Everything has been done using java script to draw images.
If any one has any ideas please let me know.
Regards
Mukilan.
|
|
|
|
|
Hi all,
I have a TreeView control in a C# ASP.Net 2.0 project and (so far) have not been able to work out how to persist the state of the expanded/collapsed nodes between postbacks. At present, whenever the page comes back from a postback all nodes are expanded instead of just the ones the user physically expanded. Is this functionality available as part of the standard treeview or does the developer need to write it?
I found Tom John's article (http://www.codeproject.com/vb/net/TreeViewDataAccess.asp) regarding serializing the state of the TreeView but I still find it hard to believe the ASP.Net control does not cater for this in some way itself.... am I missing something simple?
TIA for any help/suggestions etc.
Mike
|
|
|
|
|
In case your problem is still there, you can have a look at the SelectAction property of each TreeNode that you have built.
|
|
|
|
|
Can anyone recommend a hosting company in the US that offers asp.net and MS SQL ?
I'm looking more for a cheap solution rather than a million-hits-a-day capable hosting provider.
|
|
|
|
|
Hi
if i store information in a hidden label or textbox the javascript cannot see it, is there a way i can save it on the page so the javascript will see it?
thanks
|
|
|
|
|
Use a hidden field, e.g. an input field with type="hidden".
---
b { font-weight: normal; }
|
|
|
|
|
Is it possible to parse an HTML/aspx file and extract only the body without having to go through the entire file line by line? And then copy those contents into the body of another aspx file. The file to be parsed will be present in the same server.
Any sort of help would be appreciated.
Thanks
There is no patch for ignorance
|
|
|
|
|
Using Visual Web Developer Express and ASP.net 2.0, I have an aspx page with a gridview showing all records from a dataset (from a SQL-server table connected via. ODBC). On the same page is a detailsview control showing details of a single record in the same dataset as the gridview above.
When I display the page in browser (while still in design mode) the page displays fine. I add a new row by clicking the "New" link on the detailsview control, enter data in all fields (except the auto-incremented pk field, which is not displayed), press "Insert" to commit, and get error message...
"ERROR [23000] [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'Categories' when IDENTITY_INSERT is set to OFF." The identity column in question is the primary key field iCategoryId, it starts at 1 and increments by 1 for each new row.
How can I set IDENTITY_INSERT to ON? As far as I can see, it is on already, because if I add rows manually (eg. via. enterprise manager), there is no problem with the primary-key field autoincrementing.
It makes no difference if I remove the gridview from the form.
Has anyone any ideas how to solve this problem? Any help would be appreciated.
Alan
|
|
|
|
|
Hi
Question is about setting up of the web.config:
I Create a very basic web app that just shows the date and time. On my pc it works, however when I load it up to the server and I try to access it I get an error. I have set the web.config so as to show me the error, however it still does not show the error.
The server I am referring to is Tollon.uk. What are the general settings that a server like this could require.
Thanks
Marco-Hans
|
|
|
|
|
Hi!
i have the following problem:
i have a list of CheckBox created at runtime. Each checkbox refers to a DB row
I need to get the control of these checkbox at design time during events management...
any ideas??
|
|
|
|
|
problem solved
sorry for opening a useless thread :P
|
|
|
|
|
I work on a functionality that browses the Contacts in a Outlook account on an Exchange Server. There no problem to find the fields to retrieve in the Exchange schemas for the name, email, ... and there is a Category field, in Outlook, that allows you to sort the contacts. I'd like to use this to order my result query, but I didn't find the field schema. Does anyone know how access to this field and if this information is stored in Exchange ??
Thanks for any help you could provide.
|
|
|
|
|
how can i refresh all client page when i update my web page on the server
dead
|
|
|
|
|
You can't.
There is no way that you can send a response from the server to the client without the client first sending a request. If you need the pages to update, you have to poll for changes from the client.
One way is to simply reaload the page at a certain interval. Example that reloads the page every ten seconds:
If you don't want to reload the page that way, you could use AJAX to ask the server if there are any changes, and reload when there are.
---
b { font-weight: normal; }
|
|
|
|
|
i need a project online jewellery shop in asp 2.0 if possible than give me reply please i need to submmit in my college thats why
Arjunjadeja
|
|
|
|
|
ArjunJadeja wrote: i need a project online jewellery shop in asp 2.0 if possible than give me reply please i need to submmit in my college thats why
You might consider this as a learning exercise and make an attempt at doing it yourself. If you have problems with your attempt then please come back and ask specific questions.
|
|
|
|
|
I currently using asp.net with vb.net, I have used control TextBox to send memo on my website, when user type some text and they want to break line as codeproject forum for new message, I don't know to replace it.
Please help me.
................
|
|
|
|
|
Replace the line breaks when you display the text:
daControl.InnerHtml = Server.HtmlEncode(daText).Replace(Environment.NewLine, "<br/>");
---
b { font-weight: normal; }
|
|
|
|
|
How do i access the dropdownlist inside the GridView from the Page_Load event
I have the Grid View like this
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns ="False">
I created a template field column inside this gridview and inserted a dropdownlist in it using
<asp:TemplateField HeaderText="Select">
<ItemTemplate> <asp:DropDownList ID="DDList1" runat="server"></asp:DropDownList>
</ItemTemplate>
<HeaderTemplate>
Select
</HeaderTemplate>
</asp:TemplateField>
I would like to access this dropdownlist and assign the listitems during the pageload event programmatically. How do i do it
|
|
|
|
|
I am not sure but i have seen that you have access that gridview cell first and then use Fincotrol method
like
Gridview1.Rows[0].cells[0].findControl("DropDownList1")
etc.
sorry if it doesn't help you.
-- modified at 6:49 Monday 4th September, 2006
Naveed Kamboh
|
|
|
|
|
Hi everybody,
I was given a job of developing a function which accepts 3 parameters i.e., an assembly path, a class with namespace, and a method in that assembly. the function should return the value that is being returned by the method that iam invoking(the one which we passed as a parameter)
iam using system.reflection namespace.
The problem is, i also need to pass arguements to the method that iam invoking but it is just not working the i way i want. this is how iam calling my function ..
public int myreflect("..the path of the assembly..", "...calss name with namespace..say N.C1..","..method name..say M1..", 2,4) // 2,4 are the arguments iam passing to my method M1//
This is how iam defining my function
public int myreflect(string a, string b, string c, params int[] list)
Everything is working except that i need to somehow extract the arguements which are in the param array i.e., list.
I need to capture those arguments and store them in another array..say int[] args..and use this args in Invokemember function, as parameters to invoke my M1 method. I hope I have done a fair job in explaining my problem. A little help would be greatly appreciated. Thanks in advance....
Sonu
|
|
|
|
|
You could copy all the elements in the array:
int[] args = new int[list.Length];
Array.Copy(list, args, list.Length);
Or you could just copy the reference to the array:
int[] args = list;
Or why not just use the list array?
---
b { font-weight: normal; }
|
|
|
|
|
Thanx for the reply Guffa!!
i tried using list directly, but its not working..
anyways i will try the other two ways you suggested...
thanks once again....
Sonu
|
|
|
|
|
If one array doesn't work, neither will the other.
Standard question #1:
What do you mean by "not working"?
Standard question #2:
What error message do you get?
---
b { font-weight: normal; }
|
|
|
|