|
if you want to access your web application you should have to deploy it a IIS web server. and the server in which you have deployed, it should be in intranet. that's all. then you can access it. by refering the IP only.
if you haae any doubt you can ask me.
Good luck !!
cheers,
Abhijit
|
|
|
|
|
raushan_9 wrote: when i install .net in my application server and run publish file then it works fine but without .net publish file dosen't run...
The server needs to have .NET installed to run a .NET application.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Dear all,
We have a VB.Net 2003 winforms application.
I have created a datagrid "datagrid1" with 3 columns in it(FirstName, LastName, CheckboxColumn). One of the columns is a checkbox column.
Lets say the user selected 5 checkbox rows(out of 20 rows), I would like to retrieve the FirstName & LastName values for these selected 5 rows from the Datagrid & display it in a listbox. Please advise how can it be done.
Your help is much appreciated.
kissy
|
|
|
|
|
Kissy16 wrote: We have a VB.Net 2003 winforms application.
This is ASP.Net Forum . Please put it in VB.NET section.
Thanks
cheers,
Abhijit
|
|
|
|
|
sorry asp.net using vb in vs2003
kissy
|
|
|
|
|
if you want to retrive name on some button click, use FindControl method of grid view, and find the Checkbox then check which is selected or not.
Hope this will help you.
cheers,
Abhijit
|
|
|
|
|
I am placin a bit of code here-- an give me some idea to fulfill my requirement
Dim rowCount As Integer = 0
Dim strname As String
Dim i As Integer
i = 0
Dim DemoGridItem As DataGridItem
For Each DemoGridItem In DG1.Items
Dim myCheckbox As CheckBox = CType(DemoGridItem.Cells(0).Controls(1), CheckBox)
If myCheckbox.Checked Then
rowCount += 1
end if
next
In the above code how can i store the selected checkbox perticular column in the selected rows?
I want to update that array of columns in the database at a time later.
Can i do this?
kissy
|
|
|
|
|
Kissy16 wrote: In the above code how can i store the selected checkbox perticular column in the selected rows?
Use DataGridRow class that can store particular row
cheers,
Abhijit
|
|
|
|
|
use this code
foreach(gridview row in gridview1.rows)
{
}
now this foreach loop move through all rows in that grid.
now fetch the control and add the text into list...
|
|
|
|
|
I am using enterprise library application block in asp.net using C# web development application. I need to create a crystal report and access it in my web page on a button click. Please tell me how to do this. Help me with a sample code or with the concept.
Thank You.
|
|
|
|
|
i m developing a website
in that in a page i have a button
when i click on the button
then a page is displayed as a pop up page
but my browser doesnt allow the pop up menus/pages
then i changed the settings of my browser to allow pop up menus/pages for my web site
now can we do it thru the programming
bcoz considering that website clients as non-technical people
can we achive it thru programming
one more doubt....
every time i press the button then it is shows the pop up page
so it is burden for the server
can we cache it....
and call from the cache for the 2nd time..
plz help me
thanks in advance
vijay
|
|
|
|
|
If you want to avoid popup then you can use overlay functionality, in which one div will on the top of the page which will have all that stuff which your poup will contain.
About caching, its depend what the data that page has, if its static then we can cache the output.
- Imran
|
|
|
|
|
I am using AJAX Calendar Extendar Control in my application, But I don't want allow the user to select future dates.
How do I do this without doing a postback?
Thank U all,
Kiran
|
|
|
|
|
i am tring to search for log files on c:\ using a date range (format 20080725) the file format is lookup20080725.log the other log is detail20080725.log. the logs are created daily and i want to pull
up all files using a start date and a end date. then to display then on a web page with hyper links.
these files are on the server not a pc if that helps.
i am not sure if using a do loop or the for next is better
Dim str As String
Dim en As String
Dim i As Integer
Dim filext As String
str = date1.Text
en = date2.Text
Do Until i = en
filext = File.Exists("C:\lookup" & i & ".log")
i = str + 1
If filext = True Then
End If
Loop
thanks for any help or advice or even a point in the right direction lol
|
|
|
|
|
Create an object of stringbuffer class, and use any loop to move accross.
if its exist then add hyper link tag that is <a> and provide the path, else just name of file, no hyper link
somethign ike...
if file exists then
Sb.appendline("<a href="[filepath]" target="_blank">[FileName]</a>")
else
Sb.appendline("[FileName]")
-Imran </a>
|
|
|
|
|
A year ago I created Windows custom control in VB.NET 2.0, which serves as document manager for any Case Management Application, including Customer Billing, Check Writer, etc... It works fine and quite easy to use.
But recently I had to implement same functionality for Web application and control fails to show.
No errors and no results. The control itself use external dll's and classes, including WebBrowser control and mshtml.dll.
If anyone knows how to handle it, any help would be greatly appreciated.
I can send objects and a sample of using it.
|
|
|
|
|
hello
i am use the tabstrip asp net 1.x
i hava a dataset with the selection
the tabstrip dont have value property.
Dim nuevotab As New Microsoft.Web.UI.WebControls.Tab
nuevotab.Text = dr.Item("descripcionEtapa")
nuevotab.value = dr.Item("etapaID")
tsEtapas.Items.Add(nuevotab)
i need the other property to safe the id of the option
some one have a idea
thanks for the time
regards
|
|
|
|
|
Hi friends
First of all I would like to thank people here on codeproject for helping me whenever I need help. I am hopefull that now also all of you will help me. Today I got a special scenario which I am applying in my application.
I have 2 text boxes to enter zipcode, In first text box when ever user enters some data and presses tab and on getting focus on the second textbox, the second textbox must show data based on the values entered in the first textbox like what we see in google suggest.
For example when user enters 5 digit zipcode in 1st textbox & presses tab key the focus will be on 2nd textbox and immediately 2nd textbox must show names of peoples based on the zipcode entered in 1st textbox, like how we see in google suggest.
For further clarification please mail me back. Hope some one will help me. Thanks in advance
Thanks
wajid
|
|
|
|
|
Hi,
I have to create a parser that can parse a HL7 Message and load the data result into aSQL Server.
Does any one have any idea about this ?
|
|
|
|
|
Hi,
I had written a webservice.Now I need help to accompolish the following goals..
1.How to host the webservice?..since this i have to use in windows application.
2.How to consume this webservcie through the C#.net windows application.
My task is to write the Webservice,using this I will pick some data and that data I have to pass to a windows application/windows service where I will update the database.
|
|
|
|
|
please dont crosspost. the original is in the c# forum.
here[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
..and the windows forms
Here[^]
The guy is after some idiot to do his homework I think.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
wish i coulda gotten that in college..i may have become a computer engineer, though without actually doing any of the work i dont think i would have been one for long. i guess people just think we sit in small fabric covered box all day and get a paycheck and dont actually have to do or know anything. i know thats the opinion around here most of the time (until we put a build out then we do things but what we do is never right)
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I agree with your opinion.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
I have a simple ASP webservice that performs a SELECT query against a database, and then an INSERT statement on the same database/table. The problem arises at the time when we create the second OleDB connection object and attempt to Open() it. The connection string is exactly the same for both connection objects. Another intersting thing is that this code works fine when it is used in a Windows Form project. I'm using VS2003.
Here's the code used for both attempts:
try
{
cnOleDBSDE = new OleDbConnection();
cnOleDBSDE.ConnectionString = "Data Provider=" +DBProvider+ ";"+
"Provider=" + DBShapeProvider + ";" +
"Data Source=" + DBName + ";" +
"Pooling=" + Pooling.ToString() + ";" +
"User Id=" + UserId + ";" +
"Password=" + Password;
cnOleDBSDE.Open();
}
Here's the connection object data from the immediate window when .Open() is called succesfully:
cnOleDBSDE
{System.Data.OleDb.OleDbConnection}
base {System.Data.Common.DbConnection}: {System.Data.OleDb.OleDbConnection}
ConnectionString: "Data Provider=MSDAORA.1;Provider=MSDataShape;Data Source=sdeprod;Pooling=False;User Id=ACOUSINS;Password=djhf6li"
ConnectionTimeout: 15
Database: ""
DataSource: "sdeprod"
Provider: "MSDataShape"
ServerVersion: 'cnOleDBSDE.ServerVersion' threw an exception of type 'System.InvalidOperationException'
State: Closed
And the connection object data from the immediate window when .Open() throws an OleDB exception:
cnOleDBSDE
{System.Data.OleDb.OleDbConnection}
base {System.Data.Common.DbConnection}: {System.Data.OleDb.OleDbConnection}
ConnectionString: "Data Provider=MSDAORA.1;Provider=MSDataShape;Data Source=sdeprod;Pooling=False;User Id=ACOUSINS;Password=djhf6li"
ConnectionTimeout: 15
Database: ""
DataSource: "sdeprod"
Provider: "MSDataShape"
ServerVersion: 'cnOleDBSDE.ServerVersion' threw an exception of type 'System.InvalidOperationException'
State: Closed
I don't see any differences. Finally here's the error:
{"Data provider could not be initialized."}
[System.Data.OleDb.OleDbException]: {"Data provider could not be initialized."}
Data: {System.Collections.ListDictionaryInternal}
HelpLink: null
InnerException: null
Message: "Data provider could not be initialized."
Source: "MSDataShape"
StackTrace: " at System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)\r\n at System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)\r\n at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)\r\n at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)\r\n at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)\r\n at System.Data.OleDb.OleDbConnection.Open()\r\n at GDAC.GDAC.OpenOleDbConnection(String DBName, String DBProvider, String DBShapeProvider, Boolean Pooling, String UserId, String Password) in D:\\ETS\\GDAC\\GDAC.cs:line 471"
TargetSite: {Void .ctor(System.Data.OleDb.OleDbConnectionString, System.Data.OleDb.OleDbConnection)}
_HResult -2147168229 int
I tried Googling and found people with similar issues from years ago, but no resolutions. Any ideas?
|
|
|
|