Search results for query: *

  1. R

    New column in table

    You need to run a DDL command to add the Column in physical database. "ALTER TABLE [theTable] ADD COLUMN [colName] [TYPE](SIZE)" This is done to match the datatable that you create in runtime.
  2. R

    How to Pass a Page to a function in the code behind

    Use reflection to assign values in your controls. You name your controls most likely the same as your database fields so that you have a way to determine which field will be map for each control.
  3. R

    convert date format

    the shortest i guess is you parse it as date and format it: ex. ci as New CultureInfo("de-DE") date as String= String.Format("{0:MM/dd/yyyy}",DateTime.Parse("28/7/2008",ci)) You need to make reference of the assembly System.Globalization
  4. R

    Question Auto removing html list items

    there might be a tags that were not closed or structured properly
  5. R

    New column in table

    If you add data column there should be something like this Asuming dt as my datatable col as new DataColumn("some_column_name") dt.Columns.Add(col)
  6. R

    Question POP UP refreshing parent and close it...

    use this javascript window.opener to get reference of the window that open your pop up.
  7. R

    Dynamically loaded user control's button event firing problem [modified]

    You need to delegate an event everytime you dynammically load this control. 'assuming you have a panel in your webpage Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Dim b As New Button() AddHandler b.Click, AddressOf handler b.Text = "Sample"...
  8. R

    Global Variables

    this link will help you a lot: ASP.NET State Management Overview
  9. R

    Calling stored procedure in a function..

    Can we call a stored procedure in a function and make the function return a table?
  10. R

    Destroy and Reload itself?

    I have solve it already! I do this due to performance issue of my application. When we migrate to .net 2003 to 2005 the problem on performance occur. I am using Component One's VSFLEX control and I notice that to laod a new form is 3x faster than refreshing the content of a vsflex grid. so i...
  11. R

    Destroy and Reload itself?

    Is it possible to Destroy a form and Reload itself in the same context? Meaning the destroying and loading is done in the Form itself. I need answer pls.... ramnujs
  12. R

    How can i set reportViewer's Report Source Property using Reflection?

    It wont work still! I have tried your function but still it doesnt work. Let me tell you the steps that i was doing: 1. I create a frmReportViewer by reflection at runtime 2. From frmReportViewer, I dig on its field "rptViewer" because the CrystalReportViewer object named "rptViewer" is...
  13. R

    MySQL Connection

    Install ODBC for MySql Database my guest is that you have not installed MySql ODBC 3.51 Driver. And install also MySql .net Connector that contains MySqlConnection, Mysql DataReader, etc. rather than using Generic ODBC Connector.
  14. R

    How can i set reportViewer's Report Source Property using Reflection?

    I am in the process of refactoring my codes and i used late binding and usings assembly class to create my objects at runtime. it works perfectly to Windows Forms and Custom classes created but with Reports Objects like Report viewer, i cant get the objects properties or fields or even...
  15. R

    Too many connection error

    Good Luck! Good luck you! Ill be glad to help if u need one! Cheers ramnujs
  16. R

    Too many connection error

    I guess u need to do some readings about how vb.net Object-Oriented Programming works. All forms in vb.net are treated as classes. classes contains member variables , properties and methods which u can expose in different levels. public, private,friend,protected. declaring a connection object...
  17. R

    Too many connection error

    single persistent connection! Try the sample code in the attachment!
  18. R

    Too many connection error

    single persistent connection! 1. On your application , declare a class that holds public shared connection so that it can be access without creating an instance. (create this as a separate project with type class library) 2.Referance the DLL to all projects in your acpplication that requires...
  19. R

    PMS features of NEC PABX ips

    can somebody plsease teach me how to make use of the PMS features of NEC PABX , neax ips server...... i need it badly!
  20. R

    how to access txt. file to be transfer to mysql database using vb.net

    load file to mysql mysql provides a command for loading text file with delimeted values: Syntax: load data local infile 'c:\filename.txt' into table `tablename` fields escaped by '\\' terminated by ',' enclosed by '"' lines terminated by '\n' ( `column 1`, `column 2`, .....`Column n` )
Back
Top