how we can bind DataRows value into list<string>detail

sir i am binding values from database then how we can use list<string> for example dr["field"].tostring();

On what platform are you building your app? Are yout trying to move your data from the datagrid into a list or from a list to a datagridview?

c#,no,,above code is working our logic is different
thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.