|
Can somebody tell me how to detect whether the printer is installed or not to the computer programically?
|
|
|
|
|
|
i would like to develop a web part that makes users acknowledge that they opened a document. the web part is for use on the intranet, which is used to share documents and work on the same documents.
i need help on how to create the web part to enable acknowledgements
philpetszw
|
|
|
|
|
Hi
I am developing web application . It was working properly before i deleting few controls but now it is giving me error at run time see the error i am not getting that . all things are ok but why it is showing ?
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: The compiler failed with error code -1073741502.
|
|
|
|
|
I am printing a html table using javascript.the table has borders. While printing in the end of first page, the vertical line is not completed and in next page also the line is incompletely started. How can avoid this.
|
|
|
|
|
Hai All,
How can we call a codebehind function on onblur event of a control in asp.net 1.1?The control may be a web server control,html control,html server control or a web user control.
Actually, we can call a script function on such an event.But, how to call a codebehind one?
Or else, how to call a codebehind function from a javascript function?
Any suggestions?? Please welcome...
-Priya
|
|
|
|
|
|
Thanks a lot, it is helpful.
|
|
|
|
|
hi!
i m trying to build up a message board just like one i am placing this message using datagrid control.
can any body tell me how can i implement the tree structure used in this dicussion board and if there is any open source of it is available please send me the details
i m using asp.net(vb.net)
regards
shezi
|
|
|
|
|
Hi,
I have an ASP.Net web application. I added some projects in the solution as follows:
MyWebApp Solution
- OrderLogic project folder (contains .vb files only)
- http Project folder (contains aspx files)
When I try to configure the build option, I am able to set the OrderLogic project to Release build. But for the http project, it only has Debug build. There's not Release build. The platform only has ".Net" for selection as well.
How can I build the http project folder for Release build?
Regards
|
|
|
|
|
Set debug = "false" in the web.config file.
|
|
|
|
|
Tried that. doesn't work.
I'm not sure if my post is confusing. I have a picture to make my problem clearer, but I don't know how to upload pics in this forum.
Anyway, when I mention I can't set to release mode, I was referring to the following menu:
Build -> Configuration Manager
The "Configuration Manager" dialog will appear. Here you can set to Debug or Release mode rite? I can't set my http project to Release mode.
Thanks
|
|
|
|
|
paddyboyd wasn't very clear on why you should do that and what it accomplishes.
There is no release option in the configuration manager because that settings is not used for web projects. Instead it's the setting in web.config that decides the build mode for the project.
Change the setting in web.config, and it will be build in release mode.
There is still no release option in the configuration manager, but that is as it should be, as that setting is not used.
---
b { font-weight: normal; }
|
|
|
|
|
Hi Guffa,
Thanks for your info. I understand now. One question thou. I am using Preprocessor flags in my code.
<br />
1 Protected Sub MyFunc()<br />
2 Dim nValue As Integer<br />
3 nValue = 1<br />
4 #If DEBUG Then<br />
5 nValue = 2<br />
6 #End If<br />
7 End Sub<br />
When I set debug="false" in my webconfig, will the DEBUG preprocessor be undefined and thus not compile line 5?
|
|
|
|
|
Yes.
---
b { font-weight: normal; }
|
|
|
|
|
Hello,
I am working on a datagrid update... when I click on edit, I can get the textboxes but when I make the changes and click on the update button, I still have the old items in there... .can someone help? here is the code for my update command:
string cursusname, niveau, plaats, start, end, dip, finance,pers_id, afdeling, cursusID;
cursusname = ((System.Web.UI.WebControls.TextBox)e.Item.Cells[5].Controls[0]).Text;
niveau= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[6].Controls[0]).Text;
plaats= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[7].Controls[0]).Text;
start = ((System.Web.UI.WebControls.TextBox)e.Item.Cells[8].Controls[0]).Text;
end= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[9].Controls[0]).Text;
dip = ((System.Web.UI.WebControls.TextBox)e.Item.Cells[10].Controls[0]).Text;
finance= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[11].Controls[0]).Text;
pers_id= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[0].Controls[0]).Text;
afdeling= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[1].Controls[0]).Text;
cursusID= ((System.Web.UI.WebControls.TextBox)e.Item.Cells[4].Controls[0]).Text;
System.Data.OleDb.OleDbConnection conn = new System.Data.OleDb.OleDbConnection("Provider=sqloledb;Data Source=SQL_SERVER;Initial Catalog=Intra_STUDENT;User Id=student;Password=student");
string sql = "UPDATE P_Cursus SET " +
"CursusNaam='"+cursusname+"', " +
"Niveau="+niveau+", "+
"Plaats='"+plaats+"',"+
"StartDatum='" + start + "',"+
"EindDatum='" + end + "', "+
"Diploma='" + dip + "', "+
"Financiering='"+finance+"' WHERE personeel_id="+pers_id+" AND Personeel_filliaal_afdeling ="+afdeling+" AND cursus_id = "+cursusID+"";
System.Data.OleDb.OleDbCommand myCommand = new System.Data.OleDb.OleDbCommand(sql,conn);
myCommand.CommandType = CommandType.Text;
conn.Open();
myCommand.ExecuteNonQuery();
conn.Close();
DataGrid1.EditItemIndex = -1;
DataGrid1.DataBind();
|
|
|
|
|
It's because you're not resetting the datasource of the gridview to the new updated dataset before binding.
|
|
|
|
|
Thanks alot... now it works..... but my problem is now with the delete function... it is a kind of trickey... it not firing...
|
|
|
|
|
hi ,
I am developing a web page using dom validator controls. I have used domvalidatorysummary control that display error messages in an alert box, i want to display these error message on screen instead of alert. How to do it.
praveen
|
|
|
|
|
Hello,
I am developing a Dynamic Website's Admin Panel in asp.net using c#; I am having a problem in creating Product Ranking. Can anybody help me? I will be really thankful to you. Plz.......
Ranking means each product has a Dropdown List with it which shows its number of viewing on User Page like if a product has 4 in Dropdown List it is displayed at 4th position on user page. Moreover each Dropdown contains as many numbers as many there are products like (1, 2, 3, 4, ...) now if web admin changes one product's ranking other products' should automatically change.
Hope you have understood it If you still confuse in understanding please contact me at abubakar.malik@gmail.com
Kind Regards,
AbuBakar
|
|
|
|
|
If your data is stored in a database (I hope so), then simply extract the data from your database sorting by your "ranking" number.
SELECT * FROM yourTable ORDER BY yourRank.
---------------------------
127.0.0.1 - Sweet 127.0.0.1
|
|
|
|
|
Can somebody please help me in checking the print preview of the datagrid rows.
Thanks
|
|
|
|
|
|
IN VB.net window application after selecting the particular row I am getting the data from 1st column of that row.
Dim str As String = CType(dg1.Item(dg1.CurrentRowIndex, 0), String)
I WANT THE DO THE SAME THING IN WEB APPLICATION.I mean can you please tell me the name of function.
PlEASE HELP ME.
|
|
|
|
|
It depends. What are you using as a data bound control?
nothing change just rearrange
|
|
|
|