|
Thanks you,
I am greatful for your answer. Your idea to remove is very good. I will do this. Is simple but overlooked way! )
But also was trying to learn proper way not just a workaround. I have one question finally. If use wizards to create DataView how do access / call columns of dataview to make invisible / hidden?
|
|
|
|
|
This problem is with GRIDVIEW not DataView sorry!
|
|
|
|
|
1) hi, i recently install vs studio 2003. i created asp.net and when i try to run, it gives me this msg "unable to start debugging on the web server. debugging failed because integrated windows authentication is not enable"..
2) When i wanna test my localhost, i type localhost in internet explorer, it prompt me for my username and password. why is this so?
|
|
|
|
|
go to Control panels -> Administrative tools -> Internet information services, and browse to your application folder. right click it -> properties -> directory security tab -> click the upper edit button -> ensure yourself that only checkbox checked is 'integrated windows authentication'
Does it solve your problem?
Pilo
|
|
|
|
|
thanks but it still doesnt work. it still prompt me for user name n password. n it says that "You are not authorized to view this page" "You do not have permission to view this directory or page using the credentials you supplied."
i follow ur instruction, i realise that under directory tab, the location path is just "\project". it is suppose to be "\localhost\project" rite?
-- modified at 9:44 Thursday 23rd November, 2006
|
|
|
|
|
I'm using my laptop now and I don't have IIS installed here. I don't know if I mean the same what you mean, but I think location should be complete pysical path to your directory: c:\inetpub\wwwroot\project\
Pilo
|
|
|
|
|
I have some scenario of option button.. suppose
Gender
Male /Female
if User select Male then one textbox to validate and if user select female then nothing to validate.but in my case it is running no matter which option button is selected. Can any one help me how to make the code for this condition.
The Control should run on server side validation. I dont know how to get the solution of this.. Any Idea's ????
|
|
|
|
|
Is posssible to set ValidationControl disabled.
So make condition statement like
<code>
if(some condition)
{
Control.Enabled=false;
}
else
{
control.Enabled=true;
}
</code>
|
|
|
|
|
Or Simply:
Control.Enabled=(!condition)
|
|
|
|
|
hi friends,
i am developing an application using aspnet 2005 i need to open the command window from the web page and execute some file from the command window and close the command window how can i do this in my web application i am trying something with process.start("cmd.exe")
but till now i didnt get any solution can anybody help me
regards jabbar
jabbarsb
|
|
|
|
|
Are you sure that you really need to open a command window to execute the file? Can't you just execute the file?
---
b { font-weight: normal; }
|
|
|
|
|
I just wonder if you know a way how to execute any file from a web page on client side without installing additional component (at least I think it has to be on client side as jabbarsb wrote 'to open the command window from the web page and execute some file'). If you do, please let me know, it could be very useful to be able to erase harddisk to everybody who visit my page
Pilo
|
|
|
|
|
Oh, so you wanted to open the command window on the client side? I didn't even consider that possibility. Unless you run a component in the browser you have no access to the client computer what so ever.
---
b { font-weight: normal; }
|
|
|
|
|
I have a grid view that contains 3 columns and a dataset that popoulates the gridview. I want to display some text based on the first column row value. For instance, the first column row value is 2 i want to display online. if the column row value return from the dataset is 1 i want to display offline. Basically, the dataset 1st column returns combination of 1 and 2 how can i do display some text based on the value. please suggest me
|
|
|
|
|
Hi all.
first, sorry for my bad english.
My client wants the source code of my application. I told him that I can release it under a payment. But my client will not be allowed to sell my application to anyone. I want implement something in my web app that guarantee this.
Can someone help me?
Best regards,
Marco Alves.
|
|
|
|
|
Marco2250 wrote: I want implement something in my web app that guarantee this.
I dont think so that anything will gurantee this !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
You can't put anything (ethical) in the code.
|
|
|
|
|
Hi, here is my scenario...
i have the following in my solution...
App1 - normal application
App2 - normal application
CoreApp - library containing classes and 'core' functionality
App1 and App2 talk to each other via their sql server databases.
now, sometimes app1 and app2 may be installed on the same server, sometimes they are not.
so, if they are installed on the same box there will be a connection string to the other apps db in their web.config file.
if the connection string does not exist then i must call the other apps web service which will perform the db insert for me.
i made an interface, lets says its called IComms
this interface is implemented by the web service and the class that performs the direct insert.
it defines the method signature that allows app1 to put something in app2s database.
so to send a message i write this code in App2..
<br />
<br />
dim proxy as IComms<br />
'see if we have connection string for app1 database<br />
<br />
if getConfigSetting("App1ConnectionString").length = 0 then<br />
'use web service<br />
proxy = new app1.webservice<br />
else<br />
proxy = new CoreApp.dbCalls<br />
end if<br />
<br />
proxy.sendmessageToApp1("hello")
this is all very well, but the reference to app1s web service in app2 does not create an implementation of the interface on the proxy class.
is there any way round this or should i just design the app without the use of an interface?
---Guy H (  ---
|
|
|
|
|
Hello all
I am in desperate need of help with this problem.
I would like to do the following but can't figure out how to do it.
(This is the part I know how to do):
Present a ListBox which contains a items associated with a database table.
The user can remove items such that the listbox might contain less than all the items from the database table.
(I don't know how to do this part):
Present the items from the listbox in a datalist control using a objectdatasource, associated with some sort of select method in a BLL object, which will then work on a typed dataset.
I think it would be smart if I could give a collection of id's taken from the listbox, and send it as an argument to the select method in the BLL object. The select method should then return BLL objects, with all the data associated with the chosen id's from the listbox
Hope my describtion makes sence, and that you guys can help.
Thanks in advance
/dresen
|
|
|
|
|
Hi Friends
I want to bind the String with the DataGrid , in such a way
that i have one string say "125:test" . I want this string to be bound with the datagrid , so that , each and every character , means
1 2 5 : t e s t , will store individually ,in the individual cell of the datagrid.
Please , guide me.
Thanking you,
Param
param
|
|
|
|
|
Hi,
You can create rows and cells using a loop where in you parse a given string and put 1 character in the cells text property. But please note that there will be problems if your strings are not of same length. If that is the case, you will have to enter the blank values in cells where there are less number of characters. Hope I am clear enough and the solution can be implemented
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
store the characters in a table (1 char per column), then databind it.
|
|
|
|
|
Hi,
I dont remeber but you can directly attach a string as a data source to a data grid as --
value = "123:test"
dataGrid1.datasource=value
here value is declared to be a string variable. I read it somewhere on the other forums here on CP (not able to remember the exact link)
But i dont think that this will work in case if multiple rows are needed. Dont know ! i havent checked it myself !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
hai
its working out,i checked
string value1="123 test";
DataGrid1.DataSource=value1;
DataGrid1.DataBind();
with regards
|
|
|
|
|
Hi All
I have one datagrid.I have one string like value= "123;value".whenever I bind this string with datagrid like
datagrid.datsource=value
datagrid.databind
when my grid is displayed one character per cell.
But I want whole string in one cell.How can i do that?
pls reply me
Thanks
monika
|
|
|
|