Search results for query: *

  1. S

    merge values with last line in textfile

    thank you, i have fixed it
  2. S

    merge values with last line in textfile

    Hello to everyone, I am using Vb.net via VS 2010 I have a small issue, my code is like this Dim filename As String = "c:\test\a.txt" Dim i As Integer =5 Dim objWriter As New System.IO.StreamWriter(filename) objWriter.WriteLine("-}$") if i=5 then objWriter.WriteLine("ABC")...
  3. S

    Question GridView CheckBox Enable & Checked

    any help pls... i want to do this by vb.net code thanks
  4. S

    Question GridView CheckBox Enable & Checked

    Dear All, Greetings I am using VS 2010 , VB.net, with SQL Server 2008 & Windows 7 I have a datagrid name as gvBusinessNature2 I want to Checked a CheckBox as well as show as disabled where a bound field is not ?NA? Can you pls help me Thanks <asp:GridView ID="gvBusinessNature2"...
  5. S

    Question Error - Object reference not set to an instance of an object.

    error is showing on pointer: grid1.DataSource = dt dt has 2 record count, whereas grid1 is nothing
  6. S

    Question Error - Object reference not set to an instance of an object.

    Dear All, I am new to Asp.net and facing some issues while coding: i am using Visual Studio 2010 - Vb.net & Sql Server 2008 Trying to Do : I have a WebForm ("frmLocations.aspx") and User Control ("cltGrids.ascx") User Control has two Data Grids i want to Bind Values to datagrid here is my...
  7. S

    Question Reading Text Files and Storing Values to Database

    Do While Not iofile.EndOfStream ioline = iofile.ReadLine() Loop done thanks
  8. S

    Question Reading Text Files and Storing Values to Database

    Dear All, I am using VS 2010, and i want to read the Text File values and place them into variables This is my code Dim filename As String Me.OpenFileDialog1.FileName = Nothing If Me.OpenFileDialog1.ShowDialog = System.Windows.Forms.DialogResult.OK Then...
  9. S

    Question upload doc/execl/pdf/huge file in to db

    no no... let me give u a realistic picture i might have a table user, which might have columns as user_master (table) ============== userno int, (pk) name varchar, address varchar, deptno int, user_image (table) ============== userno int, (fk of user_master) user_snap image, user_form...
  10. S

    Question upload doc/execl/pdf/huge file in to db

    actully last night i had 5 hours of web surffing on this topic, i got code related to asp.net but not vb .net, i have no fair idea that does this code actully write anything to database or not, finnally i got some code from net which were actully in c sharp, i spend many hours to convert into...
  11. S

    Question upload doc/execl/pdf/huge file in to db

    saving image like this Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click filDlg = New OpenFileDialog() filDlg.Filter = "All Pictures|*.bmp;*.gif;*.jpg|Bitmaps|*.bmp|GIFs|*.gif|JPEGs|*.jpg" dlg =...
  12. S

    Question upload doc/execl/pdf/huge file in to db

    Dear Friend can you help me with this code? i am trying to Show Picture store id db and then export it to image file, Please assist me in this code Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click Dim con As SqlConnection...
  13. S

    Question upload doc/execl/pdf/huge file in to db

    its working fine with jpg pic/image file, i just uploaded 2 mb file .. it worked, so, i just want to know can i download that pic on harddisk// i mean.. if i search some record and then want to download related image.. pls help me regards
  14. S

    Question upload doc/execl/pdf/huge file in to db

    error in attachment for better understanding thanks
  15. S

    Question upload doc/execl/pdf/huge file in to db

    vb.net, sql server 2005 HEllo All i have a code which allow me to upload small files , but doies'nt allow me to upload DOC/PDF/Tiff Files to database i am getting Out of memory. error kindly advise Imports System.IO Imports System.Data Imports System.Data.SqlClient Imports...
  16. S

    no record found check

    actully i need to check if the recordset is null / no records found or not,.. not the null value in a field got it? anyone can guideme thanks
  17. S

    no record found check

    error on If outparam.Value Is Not Nothing Then Error 1 'Is' operator does not accept operands of type 'Integer'. Operands must be reference or nullable types. C:\Users\Sajjad\Documents\Visual Studio 2008\Projects\WindowsApplication2\WindowsApplication2\Form1.vb 20 30 WindowsApplication2
  18. S

    no record found check

    hi, can u please tell me how to check NOT RECORD FOUND Check i mean if the record set is empty then a msg box may be shown . thanks i m using vb.net (vs) with sql server 2005 =================================== Public Class Form1 Private Sub Form1_Load(ByVal sender As...
Back
Top