User Profile
Collapse
-
seep replied to Index was out of range. Must be non-negative and less than the size of the collectionin .NETit should return the primary key of that row i.e opd_sr. but at this point i m finding exception of "Index was out of range. Must be non-negative and less than the size of the collection." -
seep started a topic Index was out of range. Must be non-negative and less than the size of the collectionin .NETIndex was out of range. Must be non-negative and less than the size of the collection
hi to all.
i m finding this exception in the following code but unable to understand ..
Code:Protected Sub GridView1_RowDeleting(ByVal sender As Object, ByVal e As GridViewDeleteEventArgs) [B] Dim opd_sr As Integer = CInt(Gridview1.DataKeys(e.RowIndex).Value.ToString)[/B] outTicketDetail.DeleteCommand = "Delete" outTicketDetail.DeleteCommandType = SqlDataSourceCommandType.StoredProcedure
-
i found error at this:
Code:Dim totalPages As Integer = Integer.Parse(lblTotalPages.Text.ToString
Leave a comment:
-
really hoof..
still i may not b able to correct this. is their any one who can provide me code for this??
needs an urgent response!!!Leave a comment:
-
pls help me i m struck in this problem and find no way to out. kindly help m e with in coding. waiting for ur response thanks for all in advanceLeave a comment:
-
code to get all records via store procedure in vb.net
salam to everyone..
as a new bee in .net i m finding lot of difficulty. i want to get all records of a table from database via store procedure.but spending many days i dont know how can i do that.
some work that i do is:
Code:[vbcode] Imports System Imports System.Configuration 'Imports System.Windows.Forms Imports System.Data Imports
-
dynamic report using store procedure in vb.net
hi..
i wanted report that will display any record of database on any search criteria and from any date. suppose reports to view all emloyess of hospital that are male from 6th september o 20th september. or the report may be to view all patients who r suffering from cough and are male etc. so who it would be possible to do that using store procedure or any other solution. -
what steps i have to take to do it from the scrap, am i going in a wrong way???Leave a comment:
-
Input string was not in a correct format.
hi
i m finding following error on the code that i wants to use to get all record from table via store procedure with paging. the error is :
Input string was not in a correct format.
after a hectic struggle still i dont know
1--who can i solve it and
2--where should i have to place the function GETDATA . who is it possible to keep all the functions in a separate file and to call that... -
-
thanks plater. but right now i find another error while executing a store procedure. the error is:
Error: Procedure 'phealthMISDepa rtmentAdd' expects parameter '@p_depart_id_o ut', which was not supplied.
here is the SP that i have created:
-- Creates a new record in the [dbo].[Department] table.
ALTER PROCEDURE phealthMISDepar tmentAdd
@p_Department_n ame text,
@p_depart_id_ou t...Leave a comment:
-
how to call and use store procedures in vb.net
hi..
i m working with vb.net 1st time. i wants to work with stored procedures. i have created stored procedures successfully but have no idea about how to code in vb.net to use these store procedures for add, edit etc data in database. sql server 2000 i m using for databse.
kindly help me out as soon. -
i have a solution to display column names vertically but who is it possible to display columns vertically in gridview??Leave a comment:
-
large gridview problem
hi...
i m very new to visual studio and .net. in my application i have a table of almost more than 12 rows in sql server . while displalying it in grid view i foud a very large view horizontally ,how is it possible to manage that view so that half fields display at one page and half at the nexxt page??? i m using c#.
kindly need an urgent help !!!Leave a comment:
-
manage Grid view
hi...
i m very new to visual studio and .net. in my application i have a table of almost more than 12 rows in sql server . while displalying it in grid view i foud a very large view horizontally ,how is it possible to manage that view so that half fields display at one page and half at the nexxt page??? i m using c#.
kindly need an urgent help !!!
No activity results to display
Show More
Leave a comment: