Skip to content

Need a help

dinesh

Asked Aug 17, 2007, 3:45 AM EDT2 answers
Share
LinkedInX
hi!
i'm new to the C#. net and need a help for my application, thanks in advance,problem is i have an application which has to read the data which is like this              
1)              abcs         1     2    3   4
2)              def                        5   6

and has to make an entry in the database as
field1 : abcs         def
field2 : 1              
field3 : 2
field4 : 3              5
field5 : 4              6

2 Answers

Know the answer? Post it. Somebody with the same question will find it here.

  • Mike Gold
    0

    this is a pretty vague question.  What is your database structure?

    P.S. If this is a homework problem we discourage posting it on C# Corner.  Homework is meant for you to figure out for yourself.

    0
  • 0
    hi ....this is not a home work question...database is SQL Server

    and the result should look like as
    Select * from xyz;

    result should be

    abcs,1,2,3,4

    def , ,,5,6
     
    field1 : abcs         def
    field2 : 1              
    field3 : 2
    field4 : 3              5
    field5 : 4              6
    0