|
hi
try with
for (int i = 0; i < ChkListCustomerLevel.Items.Count; i++)
{
if (ChkListCustomerLevel.Items[i].Selected)
{
Customer += ChkListCustomerLevel.Items[i].Value + ",";
}
}
-- modified at 3:58 Thursday 20th September, 2007
Jintal Patel
|
|
|
|
|
I'm receiving this error when I publish the site.
"Server Application Unavailable
The web application you are attempting to access on this web server is currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.
Administrator Note: An error message detailing the cause of this specific request failure can be found in the application event log of the web server. Please review this log entry to discover what caused this error to occur. "
what should I do?
BiG RaLpH
|
|
|
|
|
Hi!
Are you getting this error while publishing your files or while trying to run the site.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
how to create & modify .dll in asp.net 2.0?
|
|
|
|
|
Create a project of type "Class library" and add your code. Visual studio will generate the DLL in the "bin" folder of your application on successful build. Any changes made prior to a rebuild will be included in the modified DLL.
Hope this helps.
Carpe Diem
Krg
|
|
|
|
|
Hi,
I have two buttons on a javascript alert box 'yes'and'no'. How can I capture the event when any of the button is clicked
thank you
|
|
|
|
|
function aa(id)
{
return confirm("Are you sure you want to delete this entry?")
}
onclick='return aa();'
i think dis ll help u
|
|
|
|
|
Hi,
I am uploading image using FileUpload Control and displaying the uploaded image into the Image Control.
If I upload Image Except C:/ drive then it work properly .why this happen
Jintal Patel
|
|
|
|
|
Hi,
I am working on gridview control...
it shows data from a table having columns Sid, Sname,....
I want to hide the sid column from vewing in gridview but use its value on selecting a particular row.
how to achieve this...
I used mygridview.columns[0].visible= false;
but it gives :
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection
Help me..
Sangram
(A battle with self)
Life is simple, we are the ones makes the living difficult
|
|
|
|
|
use gridview.DataKeyNames property for fetching data from it.
use gridview.DataKeyNames = "sid,... and more";
bind your grid.
and for fetching it use
string id = gridview.SelectedDataKey["sid"].ToString();
or
string id = gridview.DataKeys[0 or 1 or 2 or 3 or ...]["sid"].ToString();
We Can Do Anything, If We Want It
|
|
|
|
|
try this code
mygridview.Rows[0].Cells[0].Visible=false;
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
hi guys,.
i would like to store text(using textbox) in my database.. but i have lot of space between first and last name.. for eg: if i put 10 char space b/w first and last means i should print text with only single space..
question:- textbox1=syed hussain
answer:- textbox2=syed hussain
if anybody know the answer pls reply me!!
thanks.
|
|
|
|
|
try the following code.... its written in c#
string str = "Syed Hussain"; // our initial string
str = str.Trim(); // remove any spaces from start and end of the string
int index = str.IndexOf(" "); // get the index of the first space
str = str.Replace(" ",""); // remove all spaces
str = str.Insert(index, " "); // insert single space at the position of INDEX
Label1.Text = str; // now you get the string with single space.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
Hi Friends,
I have to call a javascript from my cs page. It should be called exactly when the page loads. How can I do it ? I know how to call that on a button click but how can I call the javascript on page load event?
thank you
|
|
|
|
|
u have olready have a javascript function in page for example:
function Sample() {
alert("test");
}
now u can use this code in page load:
this.Controls.Add(new LiteralControl("<script>func1();</script>"));
We Can Do Anything, If We Want It
|
|
|
|
|
use the following script on page load event of your page....
Page.RegisterStartupScript("MyDemo", "alert('hi there');");
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
I am working on a photo sharing website. By using flickr API service I can sent pictures to flickr but that require me to go on flickr's website and log in there. I want to save flickr login info in my application so that I should internaly login user to flickr and send his pictures directly.
This is called one click upload.
If anyone of you have done it before or something similiar to it please let me know.
Yasir M Khan
|
|
|
|
|
hi friends i am adding dll in asp.net then this error occur
error:-
Retrieving the COM class factory for component with CLSID {E0AA501C-CAD6-4D93-A5A7-DAF1C0B30F32} failed due to the following error: 80070005.
then how to find solution of this error please help me.
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
i think no any solution for your question.
your dll may be use any activex object that it's required to register in windows registery HKEYs.
u most register your com class in windows registery.
see your comm class help.
We Can Do Anything, If We Want It
|
|
|
|
|
can we load our dll as dynamically at run time have u any link or example then provide me
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
when i have loadin dynamically ti this code:-
Dim asmblyload As System.Reflection.Assembly = System.Reflection.Assembly.LoadFile("C:\Inetpub\wwwroot\UccpLibrary\Bin\Uccp.dll")
then error occurred:-
The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
Hello Piyush:
The original error which you are getting is a very generic error. This error may arise because of the fact that ASPNET account is not given sufficient permissions to access the resource. I would suggest you to try following steps:
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
If this does not work then, please let us know which COM DLL are you looking to use in your application?
If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
hi friend.
i am using uccp.dll library in asp.net.
you given this solution:-
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
but have not gotted this property in uccp.dll property.
where i have got this property please help me
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
in this solution:-
If you open DCOMCNFG from the command prompt, opened Component Services, expanded Computers/My Computer/DCOM Config, then do you see Application (DLL which you are looking to use)? If yes, then please select the same application, right click on it and click on Properties and in the resulting dialog select Security tab. Under Security Tab, click on Launch and Activation Permissions to customize, Access Permissions to customize and configuration Permissions to customize. And in all of these three select the ASPNET account.
i have not gotted my dll in the Component Services(Computers/My Computer/DCOM Config)
then what i do
Piyush Vardhan Singh
Senior Software Engineer
TAS NewDelhi
India
|
|
|
|
|
How to i convert CRYSTAL REPORT to EXCEL using VB??
pls reply asap.. its very urgent...
|
|
|
|