Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: joggi
  • Content: Threads
  • Order by date
  1. joggi

    ASP.NET 2.0 - MenuItem / MenuSubItem collection problem

    I have asp master page with menu control like this: MenuItem1 MenuSubItem1 MenuSubItem2 MenuItem2 MenuSubItem3 MenuSubItem4 I want some menu items and subitems to be disabled or enabled. I have code like this: For Each menu In Menu1.Items If menu.Value = "E" Then menu.Enabled =...
  2. joggi

    Crystal Report for VS 2005 Confusion - can anybody help

    I found this site for CrystalReports support. http://support.businessobjects.com/documentation/product_guides/cr_net/vs_2005/html/crconsdkfundamentalsembeddedornonembedded.htm First in the text they say: Note In Visual Studio 2005, Crystal Reports report files are no longer embedded in Web...
  3. joggi

    ASP.NET 2.0 How to see Webform1 from Webform2

    I have 2 webforms Form1 and Form2. Form1 has button Print Form2 has CrystalReportViewer I have VB code for Print_click Datatable=something from database…… ………………………………………. Dim rpt As New ReportDocument rpt.Load(Server.MapPath("Test.rpt")) rpt.SetDataSource(datatable)...
  4. joggi

    ASP.NET 2.0 Crystal report problem

    I have web form with button Print to show report. I made Test.rpt based on the xsd file. Protected Sub Print_Click Dim Report As New Test Report.DiscardSavedData() Report.Database.SetDataSource(some datatable) CRViewer1.ReportSource = Report CRViewer1.ViewReport() End Sub 1. Problem is...
  5. joggi

    ASP.NET 2.0 Crystal ttx file problem

    I want my Crystal report to use ttx file. I have this code: Public Declare Function CreateFieldDefFile Lib "p2smon.dll" (ByVal lpUnk As Object, ByVal fileName As String, ByVal bOverWriteExistingFile As Long) As Long And in my function: dt = New DataTable dt =...
  6. joggi

    ASP 2.0 DropDownList_TextChanged event doesn't fire

    I have on my web form one dropdownlist which data source is datatable. dt = New DataTable dt = ..... dropdownlist.DataSource = dt dropdownlist.DataBind() When I click on dropdown I have 3 values John, Tom, Mike. When user change the text TextChanged and...
  7. joggi

    ASP 2.0 How to catch and handle error code?

    I wonder how to catch error in the ASP.NET? 1. I have web form and when I click Add button I call Function Insert from my Class1 2. When function Insert has an error how to pass that error to my web form and where to show this error? 3. How to catch error code and handle error, for instance in...
  8. joggi

    ASP 2.0 Weird problem - localhost Vs. http

    When I run my ASP application on localhost everything is ok. But, when I start my application from http://ip/WebSite/Default.aspx I can delete and edit table, but Insert doesn’t work. There is no error, I put some labels to check my code, everything is fine, but Insert doesn’t work. It is very...
  9. joggi

    ASP 2.0 User logout issue

    In my SQL database I have all user/login information like users, roles, permissions etc. So I have one web form with Login data: username and password. When user click button OK I check in my database that user, and if it is ok I redirect him to another page. I wonder, when I say Logout I...
  10. joggi

    ASP 2.0 How to maximize window

    When I start my ASP web form is not maximized. How to maximize the default form and the other forms?
  11. joggi

    ASP 2.0 How to set dropdownlist.text=""

    I have search web form with dropdownlist which is bound to datatable. When page is loaded I want dropdownlist.text to be empty because it is optional parameter for search. When I set dropdownlist.text="" I got error. How to solve this?
  12. joggi

    ASP 2.0 Client Side Message box inside some event

    I need client side Msgbox in ASP 2.0 to confirm deleting. I found some scripts but they works on Button_click event and I need something like this: Sub ButtonDelete_Click Some code here….. Some checking here….. And here I want Msgbox (“Do you want….?”, OKCancel…..) some code...
  13. joggi

    ASP 2.0 Editing GridView problem

    I have gridview bound to datatable. There are 2 columns: ID and NAME. When I click Edit button ID field is read only and NAME is textbox that I can edit. Then on OnRowEditing Event I would like to have code like this: datatable.Rows(0).Item("NAME")= gridview.rows.(e.rowindex).cells(1).text...
  14. joggi

    ASP 2.0 DataSet.xsd - how to change connection string at runtime

    Hi, I've been trying to work with the XSDs and ran into a few problems. 1. How do you programatically change the connection string at runtime when using these TableAdapters via databinding in the IDE GUI? 2. I have in web.config connection string and I want my XSD to use this string to connect...
  15. joggi

    How to compare timestamp fields?

    In my SQLServer database I have Timestamp field. I want to compare these fields like this: If ds1.Rows(0).Item("Timestamp") = ds.Rows(0).Item("Timestamp") Then ..... end if I got error : "Operater '=' is not defined for type 'Byte()'" How to compare these fields?
  16. joggi

    ASP.NET 2.0 Displey dataset in textbox and update dataset from textbox

    In my old VB project I have this procedure to work with database: 1. I get recordset from database 2. I displey recordset values in textboxes 3. I update values in textboxes 4. I asign that values to recordset 5. I update Recordset to database In ASP.NET 2.0 tutorials I don't see this kind of...
  17. joggi

    ASP.NET 2.0 DataSource control Vs. Class programming

    I have Visual Studio 2005 and I start to read ASP.NET 2.0 tutorials. In all tutorials they say that DataSource control and wizards are much better then writing the code for connections, filling dataset etc… They say: “While point-and-click data access is useful for prototyping and for beginners...
  18. joggi

    I need web application example

    I am new in ASP.NET. I need example of ASP.NET application to do this: 1. I have SQLserver database 2. I show selected data in datagrid 3. I want to insert new data 4. I want to select row from datagrid and delete it 5. I want to edit selected row I don't know the concept of web application. On...
  19. joggi

    How to write parameter Insert function?

    I am new in VB.NET so if somebody can help me. I have my vb project with some parameter functions to insert data in any table. I retrieve empty rs from database, then I fill that rs, and then call function Insert. It is very convinient because it works for any table. I also have some functions...
  20. joggi

    How to write parameter method in VB.NET?

    I am new in VB.NET. I need to write connection to database, but the name of database, server, username and password are in INI file. How to write this? Second, I need to write one parameter method "Select *from Table....." where Table is parameter, so I can use this method for all my tables. Can...

Part and Inventory Search

Back
Top