Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~5K People Reached
Favorite Tags
Member Avatar for abc88
Member Avatar for Narue
0
75
Member Avatar for abc88

i have a generic list of type datarow. i have to split this list at an index and then use both parts of the list. Eg: list = 1,2,3,4,5 i want to split it at index= 2 i.e at value =3 . then list1=1,2,3 and list2=4,5 how can i do …

Member Avatar for codeorder
0
173
Member Avatar for abc88

I have a Datatable- table1 and i want to sort/order this datatable in ascending order depending on 2 columns-column0,column1 of table1. how can i do that?

Member Avatar for aldeene
0
100
Member Avatar for abc88

i have a list of datarows. each row is having mutiple columns like userid,date,flag,etc. i want to sort the based on date. how can i do that ? [CODE] Dim listOfRows As New List(Of DataRow)() For value As Integer = c To count - 1 r = tableToRead.Rows(value) listOfRows.Add(r) [/CODE] …

Member Avatar for kvprajapati
0
2K
Member Avatar for abc88

i have an application. which is executed after every 5 mins. i have an open connection but it gives me the following error: ExecuteScalar requires an open and available Connection. The connection's current state is closed. my code is something like this. I have shown where all i am using …

Member Avatar for GeekByChoiCe
0
818
Member Avatar for abc88

i am having an sql query in catch block. the code is: [CODE] Dim str_exception As String = ex.Message Dim sql5 As String = "insert into table_data(type,description) values('ERROR'," + str_exception + ")" Dim cmd_sql5 As New SqlCommand(sql5, connection) cmd_sql5.ExecuteScalar() [/CODE] it throws an exception at cmd_sql5.ExecuteScalar(). the exception is - …

Member Avatar for Netcode
0
206
Member Avatar for abc88

I have a windows service on a server which accesses a folder and database which is on different server. i was told to create an .ini file and add the settings here. so i have to add the path to the folder and database in .ini file, correct? is there …

Member Avatar for Huntondoom
0
84
Member Avatar for abc88

how can i get offset of a line in a text file? so using this offset i can go back to the same line using Streamreader.Basestream.Seek(offset,SeekOrigin.Begin)

Member Avatar for imolorhe
0
85
Member Avatar for abc88

i want to check whether the dates in a file are consecutive. that is if the dates are 7.10,2011 ,7.11.2011,7.12.2011 it should return true and if they are 7.10.2011,7.12.2011 it should return false.

Member Avatar for Mitja Bonca
-1
671
Member Avatar for abc88

I am reading a text file line by line using StreamReader.Readline(). After reading a line i have to check whether some fields of the line which is read are present in the rest of the file or not. What i am doing is that after reading a line from the …

Member Avatar for san-biegwenja
0
536